Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Recommended Posts

Posted
20 minutes ago, cag014 said:

But if your sensor configured go to safe after breach in 30 seconds, it means the sensor will stay breached for 30 seconds always! So the light will turn ON anyway.

Could you check and post your configuration?

Something like that

Please login or register to see this spoiler.

You're the king! Very good work!

 

Thanks!

{0, "108",{state="value=true#15",timeSlot="21:30~06:00",trueAct={"91","setValue,50",""},falseAct={"91","setValue,0","10"}}},
 

 

Working very well! Thank you!

  • Topic Author
  • Posted (edited)

    OK.. so it is Fibaro sensor. (As an example I posted Aeon Lab sensor)

    Please post parameter 6

    In my case is set to 30 seconds.

    Please login or register to see this spoiler.

     

    Edited by cag014
  • Topic Author
  • Posted

    @SmartLifeSystems

    You're welcome...

    Posted

    hi cag014

     

    i know the third condition is the delay time as in {"`light`","turnOn","50"} but how do i set a global variable after 30 seconds as in                 {0,"`frontdoor`",{state="value=true",trueAct={"housestatus","setGlobal",armed"}     but i dont want the global (housestatus)  to be set for 30 seconds so the area is clear before arming. hope that makes sense

     

     

  • Topic Author
  • Posted

     {"housestatus","setGlobal","~30~armed"}  

    for commands where third parameter uses for data add number in seconds within ~XX~ as prefix

    Posted

    wonderful thank you again

    Posted

    hi cag014,

     

    Can i use two properties at the beginning of a JM{} line e.g.    {0,"`frontdoor`"="value=true" and "&housestatus"=value=armed",trueAct={...............}

    is it simply  {0,"`frontdoor`"="value=true"|"&housestatus"=value=armed",trueAct={...............}  ?

     

    Len

  • Topic Author
  • Posted

    No.

    you can use one of them as condition in trueAct()

    {0,"`frontdoor`",{state="value=true",trueAct={"xx","xxx","x","{&housestatus:value=armed}"}}},

  • Topic Author
  • Posted

    To all users:

    Please download

    Please login or register to see this link.

    to enjoy "big" screen view.

    Going forward this application will serve as UI for All-in-One Scene on HC3.  (No HTML support on HC3)

    I hope to release All-in-One Scene version for HC3. It will make migration from HC2  less painful  and will speed up HC3 opertaion.

    Posted

    hi cag014,

    the JM{} line below:

    {0,"`frontdoor`",{state="value=true",trueAct={{"`strobe`","turnOn",""},"housestatus","setGlobal","armed",{`strobe`","turnOff","30","{&alarmstatus:value=armed}"}}}},

     

    does the condition &alarmstatus:value=armed relate to just the {`strobe`","turnOff","30"} ? or the whole line, it appears that the first actions happen regardless of the condition?

     

    thanks Len

     

     

     

     

     

    hi cag014,

    the JM{} line below:

    {0,"`frontdoor`",{state="value=true",trueAct={{"`strobe`","turnOn",""},{"housestatus","setGlobal","armed",{`strobe`","turnOff","30","{&alarmstatus:value=armed}"}}}},

     

    does the condition &alarmstatus:value=armed relate to just the {`strobe`","turnOff","30"} ? or the whole line, it appears that the first actions happen regardless of the condition?

     

    thanks Len

     

    **** corrected typo ****

  • Topic Author
  • Posted

    Yes, each condition related to the command where it is defined.In your case the condition is for {`strobe`","turnOff","30"} only

     

    If you want to set condition for entire line (for all action trueAct, falseAct,....) define lineState as follow:

     

    {0,"`frontdoor`",{state="value=true", lineState = {"{&alarmstatus:value=armed}"},trueAct={{"`strobe`","turnOn",""},{"housestatus","setGlobal","armed"},{`strobe`","turnOff","30"}}}},

     

    In this case any action will be done only if lineState is true (and off course state ="value=true" is true also)

     

    Note:

     lineState syntax is the same as in conditions

    Posted

    As always perfect answer. Also using webeye to display , looks very good

    thank you cag014

  • Topic Author
  • Posted

    You're welcome.

     

    By the way in webEye to refresh the table press "Start".

    "Reload" button just reloads the debug window, while "Start" acts like Refresh button in scene.

    Posted

    hi Cag014

    spoke to soon ..cant get webeye to work again now :(

    keeps giving me the message

    cross origin request blocked , im using firefox and have the extension added?

     

    Len

     

     

  • Topic Author
  • Posted

    Yes, probably you have updated to version 74.xxx

    Please refer to

    Please login or register to see this link.

     

    Posted

    hi Cag014,

    is it possible to change the value of a local variable within AOS from outside of the AOS scene itself?

     

    eg if i have a local variable within AOS scene called housestatus can its value be changed using another scene?

     

    Thanks Len

  • Topic Author
  • Posted

    No... HC2 scenes doesn't support that, but you can set housestatus as system global variable in no time.

    Define global variable housestatus and delete it from AOS local variable.

    No other changes required and it should work as usual.

     

    Posted

    Thank you cag014 i had already tried that and found it to work but just wondered if it was possible so as to keep even more inside the AOS, but thank you for answering

    Len

     

    Posted

    Hi cag014!

     

    Can you help me? I have got a keyfob. Example if i press the first button 3 times, the keyfob doing the first and secound action too.

    What is the correctly settings?

     

    Here is my parameters:

     

    {0, "140",{state="centralSceneSupport==1.Pressed",trueAct={{"142","pressButton,3",""},{"138","turnOn",""},{"TV:","sendPush","A TV bekapcsolva."}}}},
    {0, "140",{state="centralSceneSupport==1.Pressed2",trueAct={{"138","turnOff","2"},{"TV:","sendPush","A TV kikapcsolva."}}}},
    {0, "140",{state="centralSceneSupport==1.Pressed3",timeSlot="$sunsetHour~$sunriseHour",trueAct={{"142","pressButton,37",""},{"91","setValue,30",""}}}},
     

     

    Thanks!

  • Topic Author
  • Posted

    What type of keyfob you have?

    Keyfob should send how many times button pressed and not to send every press...

    Might be some configuration required....

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...