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


All-in-One Scene: How to do it Better


cag014

Recommended Posts

  • Topic Author
  • 3 hours ago, Sjakie said:

    My smart implant give notification dead (13 devices!!) and direct after its awake again 13 devices.

    It are 26 ting ting.......... and offcourse panic attac

     

    OK, sounds reasonable to reduce number of warning... working on that., only one warning for master device.

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • On 4/26/2021 at 10:04 AM, Sjakie said:

    Great thanks!

    Attached version reports only on one child  dead/wake-up device (first reported by the system)

    Please note if your HC2 has another HC2 as a slave, all dead devices will be reported as usual because.

    In master controller no parent device ID defined  for slave devices and there is no way to find out if this is the same physical device

     

    Let me know if it works

     

    Please login or register to see this attachment.

    Edited by cag014
    Link to comment
    Share on other sites

    Hello Cag,

    My NON-excistance device gone with swapper despite the message does not excist.

    Since update V11.6 I did not see any message about "dead" devices.

    Thank you very much!!!

    //Sjakie

    Link to comment
    Share on other sites

    Hello Cag,

    I recieve msg first dead and direct its alive.

    The device is a USB powered PIR. In device list its shows no batteries

    Please login or register to see this code.

    possible to adapt?

    Thanks!

    //Sjakie

    Link to comment
    Share on other sites

    • 2 weeks later...

    Please login or register to see this spoiler.

    Hi @cag014,

    I have used "Sproeien Aan/Uit" as userdescription in AOQ_Remote, but even addition of the % character cannot avoid an arithmetic treatment.

    Edited by Rover
    Link to comment
    Share on other sites

  • Topic Author
  • 3 hours ago, Rover said:

    Please login or register to see this spoiler.

    Could you post the jM line of that?

    Link to comment
    Share on other sites

    4 minutes ago, cag014 said:

    Could you post the jM line of that?

    {"`AOQ_Remote`",{initOnStartup=false,state="userDescription=Sproeien Aan/%Uit",trueAct={
    Link to comment
    Share on other sites

  • Topic Author
  • 10 hours ago, Rover said:
    {"`AOQ_Remote`",{initOnStartup=false,state="userDescription=Sproeien Aan/%Uit",trueAct={

    I recommend not to use mathematical operators in strings. It could create a mess if you will need calculation with that value.

    You can use underscore

    Sproeien Aan_Uit

     

    In any case I'll fix that tomorrow

     

     

    Link to comment
    Share on other sites

    • 2 weeks later...

    Hi cag014, 

    I just installed a new device IBT4ZWAVE and would like to embed it in the AiO script, switching on lights, when the garden gate is opening. I thought it will be simple, but struggling to get the parameter set properly. The device has no value, but the following status options for property state:

    Open

    Opening

    Stopped

    Closing

    Close

     

    The last attempt I tried is this:

    {0, "`CarGate`",{state="state=Opening",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

    Link to comment
    Share on other sites

    17 hours ago, Pretender said:

    Hi cag014, 

    I just installed a new device IBT4ZWAVE and would like to embed it in the AiO script, switching on lights, when the garden gate is opening. I thought it will be simple, but struggling to get the parameter set properly. The device has no value, but the following status options for property state:

    Open

    Opening

    Stopped

    Closing

    Close

     

    The last attempt I tried is this:

    {0, "`CarGate`",{state="state=Opening",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

     

    Can I ask you what is the gate opener's type?

    Link to comment
    Share on other sites

  • Topic Author
  • On 5/27/2021 at 11:52 PM, Pretender said:

    Hi cag014, 

    I just installed a new device IBT4ZWAVE and would like to embed it in the AiO script, switching on lights, when the garden gate is opening. I thought it will be simple, but struggling to get the parameter set properly. The device has no value, but the following status options for property state:

    Open

    Opening

    Stopped

    Closing

    Close

     

    The last attempt I tried is this:

    {0, "`CarGate`",{state="state=Opening",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

    Could you post the device API data to get correct parameters value?

    http://<HCIP>/api/devices/IBT4ZWAVE-ID>

     

    Link to comment
    Share on other sites

    16 hours ago, cag014 said:

    Could you post the device API data to get correct parameters value?

    http://<HCIP>/api/devices/IBT4ZWAVE-ID>

     

    Here is what I got:

    Please login or register to see this code.

    Link to comment
    Share on other sites

    On 5/28/2021 at 4:53 PM, SmartLifeSystems said:

     

    Can I ask you what is the gate opener's type?

    It's a Nice ROA40. Modul fits and I could already create a separate LUA scene, managing the light. AiO inclusion would make it perfect though :-)

     

    Link to comment
    Share on other sites

  • Topic Author
  • 11 hours ago, Pretender said:

    Here is what I got:

    Please login or register to see this code.

    As I see the "state=Closed", using same logic when it open then "state=Opened". Please open the gate and verify that.

    Now your line should be

    {0, "`CarGate`",{state="state=Opened",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

    Link to comment
    Share on other sites

    11 hours ago, cag014 said:

    As I see the "state=Closed", using same logic when it open then "state=Opened". Please open the gate and verify that.

    Now your line should be

    {0, "`CarGate`",{state="state=Opened",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

    Hi, 

    correct. I checked when executing my script. When pushing the button to open, status is changing from Closed to Opening. After one minute rechecking the status again and it's set to Opened. Tested successfully witht a separate script.

     

    When activating the line I am getting an error message: 

    Please login or register to see this image.

    /monthly_2021_05/image.png.51b70c623ddf49b751d5a99a00dc3c5d.png" />

     

    Line used:

    {0, "`CarGate`",{state="state=Opened",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

     

     

     

    Can it be by any chance that the expression state="state=Opened" is causing an issue as it is expecting numeric values only or the expression state is reserved and I can't use it as criteria?

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • On 5/31/2021 at 12:36 PM, Pretender said:

     

     

    Line used:

    {0, "`CarGate`",{state="state=Opened",trueAct={{"`EntranceStairsLight`","turnOn",""},{"`EntranceStairsLight`","turnOff","180"}}}},

     

     

     

    Can it be by any chance that the expression state="state=Opened" is causing an issue as it is expecting numeric values only or the expression state is reserved and I can't use it as criteria?

     

     

    My bad, this problem has been fixed on HC3, but not on HC2

    Please use attached version

    This is only the code w/o header and user configuration

    In you scene go to the line

     --======================Copy form here for updates===========================================================================

     

    and replace with attached version to the end of your code.

     

    Please let me know if it works.

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    4 hours ago, cag014 said:

    My bad, this problem has been fixed on HC3, but not on HC2

    Please use attached version

    This is only the code w/o header and user configuration

    In you scene go to the line

     --======================Copy form here for updates===========================================================================

     

    and replace with attached version to the end of your code.

     

    Please let me know if it works.

    Please login or register to see this attachment.

    Works perfect. Now I can fine tune my line in the code. Thanks a lot for fixing!

    Link to comment
    Share on other sites

    • 2 weeks later...

    Hi cag! I have an interesting question for you. I have a WalliDimmer, and a WalliOutlet. In the AOQ I can change this devices parameters? I would like to change the device's LED color.

    Edited by SmartLifeSystems
    Link to comment
    Share on other sites

    Hi!

     

    What would be the best way to set a switch to be on for 2 hours then off for 1 hour, repeating?

    Link to comment
    Share on other sites

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