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 (edited)
17 minutes ago, cag014 said:

No,

jS2n={deur=233, ...........

badkamer="'deur'|'........

At this point you're defining j2Sn again, so all previous data is gone.

J2Sn={deur=250......,

woonkamer=deur.........................}

 

It must be same line.

S2n={deur=233, ...........,

badkamer="'deur'|'........,

deur=250......

woonkamer=deur.........................}

{0, "108",{state="value=true#4",timeSlot="21:30~?$sunriseHour+1800?",trueAct={"91","turnOn",""},falseAct={"91","turnOff","90","{138:value=1}"}}}

 

{0, "138",{state="value=0",timeSlot="21:30~?$sunriseHour+1800?",trueAct={"91","turnOn",""},falseAct={"91","turnOff","90","{108:value=false}"}}}

 

Please verify if the condition for falseAct{} is correct?

I tried, but doesn't work correctly.

That i want: the 108=MS in the bedroom. The 138=Home Theater. The 91=Lamp. If the HT is off and the MS breaching for 4 sec, the Lamp should turn on, and turn off after 90 sec. But if the HT is on, it shouldn't turn On the Lamp.

Do you understand? :) 

Edited by SmartLifeSystems
  • Topic Author
  • Posted
    13 minutes ago, Sjakie said:

    Nope I have VD Sankotronic

    Should be VD on or Off

    Problem now is fa

    toiletDoor= Open + Hue= on >>>fan: on

    can that be done in AIOS?

    Please advice,

    //Sjakie

    sorry I can off course install HUE pluggin

     

    HUE plugin has default acions:

    setMute - have no idea what it does

    setVolume - same, no idea

    turnOn

    turnOff

     

    Actions above could be used as is in AOS (as Zwave device)

    for example:

    trueAct={"234","turnOn",""}, falseAct={"234",trunOff",""}...

    Regarding setMute and setVolume, do you know what they used for? Maybe dim level and color?

     

  • Topic Author
  • Posted
    10 minutes ago, SmartLifeSystems said:

    That i want: the 108=MS in the bedroom. The 138=Home Theater. The 91=Lamp. If the HT is off and the MS breaching for 4 sec, the Lamp should turn on, and turn off after 90 sec. But if the HT is on, it shouldn't turn On the Lamp.

    OK, I guess HT is off when "value=0".

     

    {0, "108",{state="value=true#4",timeSlot="21:30~?$sunriseHour+1800?",trueAct={{"91","turnOn","{138:value=0}"},{"91","turnOff","90"}}}},

    Posted

    Ok Thanks

    Never used HUE plugin most comment was its limmited

    Should install HUE plugin   to see

    But if I want to use VD its not a problem either I guess

    //Sjakie

  • Topic Author
  • Posted (edited)
    30 minutes ago, Sjakie said:

    Ok Thanks

    Never used HUE plugin most comment was its limmited

    Should install HUE plugin   to see

    But if I want to use VD its not a problem either I guess

    //Sjakie

    Yes, if currently you control VD by pressing buttons and slider, you able to do it by AOS also

    Use following commands

     

    pressButton,buttonNumber - press virtual device's button.
    setSlider, <sliderNum>, value – set value of specific slider
    setProperty, <ui.labelID.value>, value – set value of specific label

     

    trueAct={"<VD-ID>","pressButton,3",""}

    trueAct={"<VD-ID>","setSlider,4,200",""}

    trueAct={"<VD-ID>","setProperty,<label-ID>,text",""}
     

     

    Edited by cag014
  • Topic Author
  • Posted

    @SmartLifeSystems

    I'm curious, is it works?

    {0, "108",{state="value=true#4",timeSlot="21:30~?$sunriseHour+1800?",trueAct={{"91","turnOn","{138:value=0}"},{"91","turnOff","90"}}}},

    Posted

    Hi,

    What is wrong?

    {{0,"'bewegingssensor'|'deur'", {state="value=true",trueAct={"14","turnOn",""}}}},

    //Sjakie

  • Topic Author
  • Posted
    10 minutes ago, Sjakie said:

    Hi,

    What is wrong?

    {{0,"'bewegingssensor'|'deur'", {state="value=true",trueAct={"14","turnOn",""}}}},

    //Sjakie

     

    Use back apostrophes ( ` ), not apostrophes( ' )

    Same key is also used for typing the tilde ( ~ ) character

    {{0,"`bewegingssensor`|`deur`", {state="value=true",trueAct={"14","turnOn",""}}}},

    Posted

    hehe after getting all kind of errors its accepting it now.

    But I entered the bathroom AIOS show door open didt show motionsensor breached

    perhaps for better understanding:

    {{0,"`motionSensor`|`door`", {state="value=true",trueAct={"14","turnOn",""}}}},

    Please advice,

    //Sjakie

  • Topic Author
  • Posted

    Do you see motion breached on HC2 UI?

    By the way AOS  executes actions in real time, but doesn't display real time changes, you need to refresh the scene to see changes.

     

    Posted

     

    Yes motion breached a few seconds ago.

    Will do again

    Sorry to bother you :)

     

    jM={{0,"`bewegingssensor`|`deur`", {state="value=true",trueAct={"14","turnOn",""}}},

     

    How to add next line I get errors.

    jM= {0,"` humSensor `",{state="value>max(@`humSensor `>value+4,55)", trueAct={{"`venta`","turnOn",""}, {“”,”tts”, "$room $name over $stateValue percent. Turning ventilation on."}}, falseAct={{"`venta`","turnOff",""}, {“”,”tts”, "$room $name below $stateValue percent. Turning ventilation off."}}, trigAct={"$lineId","setStateValue","max(@`humSensor `>value+4,55)", "{`mSensor`:lastBreached>1800}"}}} 

    Can I change 55 into 44? I dont know why you said no lower than 55?

     

    Please advice,

    //Sjakie

  • Topic Author
  • Posted

    Could you please post an error?

    Regarding no lower than 55, it's just my opinion that humidity below 55 not required to turn ON ventilation. Of course you can change it to any value you need.

    Posted

    Thanks! Will change switch on 40+5 switch off < 55

     

    First this one please

    Please login or register to see this image.

    /monthly_2020_04/image.png.f9456bf3b4100b38aafbb7f43ee15340.png" />

    jS2n={deur=233, doucheDeur=235, doucheDeurTemp=236, dakraam=239, dakraamtemp=240, bewegingssensor=243, bewegingssensortemp=244, luxsensor=245, humidity=246, spotbadk1=14,
    badkamer="'deur'|'doucheDeur'|'doucheDeurTemp'|'dakraam'|'dakraamtemp'|'bewegingssensor'|'bewegingssensortemp'|'luxsensor'|'humidity'|'spotbadk1'"
    luik=261, dakraam=263, dakraamtemp=264, verlichting=267, turbo=293, middenstand=294, verWarming=345,
    zolder = 'luik'|'dakraam'|'dakraamtemp'|'verlichting'|'turbo'|'middenstand'|'verWarming'"}

     

    Please advice,

    //Sjakie

  • Topic Author
  • Posted

    You're missing comma before luik=261

    jS2n={deur=233, doucheDeur=235, doucheDeurTemp=236, dakraam=239, dakraamtemp=240, bewegingssensor=243, bewegingssensortemp=244, luxsensor=245, humidity=246, spotbadk1=14,
    badkamer="'deur'|'doucheDeur'|'doucheDeurTemp'|'dakraam'|'dakraamtemp'|'bewegingssensor'|'bewegingssensortemp'|'luxsensor'|'humidity'|'sp

    otbadk1'"  ,
    luik=261, dakraam=263, dakraamtemp=264, verlichting=267, turbo=293, middenstand=294, verWarming=345,
    zolder = 'luik'|'dakraam'|'dakraamtemp'|'verlichting'|'turbo'|'middenstand'|'verWarming'"}

    Posted

    Hehe, Thanks!

    Cag what is smart to do with the table?

    In my case I only add badkamer, zolder to know what I am doing.

    In case of arming scene door devices start with door and than explanation witch door?

    Please advice,

    //Sjakie

     

    Posted

    Hi Cag,

    jM={{0,"`bewegingssensor`|`deur`", {state="value=true",trueAct={"14","turnOn",""}}},
    jM= {{0,"`humSensor`",{state="value>max(@`humSensor `>value+4,55)", trueAct={{"`venta`","turnOn",""}, {“”,”tts”, "$room $name over $stateValue percent. Turning ventilation on."}}, falseAct={{"`venta`","turnOff",""}, {“”,”tts”, "$room $name below $stateValue percent. Turning ventilation off."}}, trigAct={"$lineId","setStateValue","max(@`humSensor `>value+4,55)", "{`mSensor`:lastBreached>1800}"}}},

     

    unexpected symbol near character 226 in th esecond line of jM (copied the whole line from pdf) I see a difference in " but if I change same errror.

    Please advice,

    //Sjakie

     

  • Topic Author
  • Posted

    jM should be one array, in your case the first part of jM is ignored.

    in PDF for each example jM defined specific for the example.

    Try below.

    jM={

    {0,"`bewegingssensor`|`deur`", {state="value=true",trueAct={"14","turnOn",""}}},
    {0,"`humSensor`",{state="value>max(@`humSensor `>value+4,55)", trueAct={{"`venta`","turnOn",""}, {“”,”tts”, "$room $name over $stateValue percent. Turning ventilation on."}}, falseAct={{"`venta`","turnOff",""}, {“”,”tts”, "$room $name below $stateValue percent. Turning ventilation off."}}, trigAct={"$lineId","setStateValue","max(@`humSensor `>value+4,55)", "{`mSensor`:lastBreached>1800}"}}},

    }

     

    Posted

    Sorry but I get same error.

    //Sjakie

  • Topic Author
  • Posted
    4 hours ago, Sjakie said:

    Sorry but I get same error.

    //Sjakie

    Unbelievable, the parentheses some how corrupted in ("","tts","..."} command.

    please copy below

    jM={

    {0,"`bewegingssensor`|`deur`", {state="value=true",trueAct={"14","turnOn",""}}},
    {0,"`humSensor`",{state="value>max(@`humSensor`>value+4,55)", trueAct={{"`venta`","turnOn",""}, {"","tts", "$room $name over $stateValue percent. Turning ventilation on."}}, falseAct={{"`venta`","turnOff",""}, {"","tts", "$room $name below $stateValue percent. Turning ventilation off."}}, trigAct={"$lineId","setStateValue","max(@`humSensor`>value+4,55)", "{`mSensor`:lastBreached>1800}"}}},

    }

    Please verify that devices `humSensor` , `venta` , `mSensor` are properly defined in j2Sn{} array.

    Posted

    Hi Cag,

    Thanks.

    Got some nice errors after correction all okay

    in your Quick start guide .pdf on my end see image

    I noticed that by TTS the parenthesis where different but thought it should be so.

     

    Please login or register to see this image.

    /monthly_2020_04/image.png.928e4fc5e849f70b3809a80b1e787e9f.png" />

    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...