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

11 minutes ago, Sjakie said:

Please login or register to see this code.

//sjakie

nothing happens

 

Yes, but have you added a true/false at the the end

Please login or register to see this code.

It looks like the plugin should react to that.

Link to comment
Share on other sites

Jan,

yes this I add no result the Logitech HUb stays on green led

Please login or register to see this code.

If I press in preview  sgtart or stop >>>green led fickers and device will be switch on or off

in HC2 it was working very good

 

with changeActivityState

Link to comment
Share on other sites

  • Topic Author
  • On 4/16/2021 at 10:50 PM, Sjakie said:

    Jan,

    yes this I add no result the Logitech HUb stays on green led

    Please login or register to see this code.

    If I press in preview  sgtart or stop >>>green led fickers and device will be switch on or off

    in HC2 it was working very good

     

    with changeActivityState

    Could you open developer/network in browser and to see what command sent when you press in preview mode?

    Link to comment
    Share on other sites

    Is this what you wanted to see? Play and stop:

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

  • Topic Author
  • Looks like it uses "play", "stop" commands....

    Did you try (where "play" and "stop" are strings?)

    Please login or register to see this code.

    @Sjakie

    Another idea,

    try to create block scene with the Logitech, convert to LUA  and see what is the command there....

    Edited by cag014
    Link to comment
    Share on other sites

    That I already tried also but  I can not select any main or child device of Harmony in block scene

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

  • Topic Author
  • 9 minutes ago, Sjakie said:

    That I already tried also but  I can not select any main or child device of Harmony in block scene

    Please login or register to see this code.

     

    please try to use it as follow

     

    fibaro.call(<Harmony Device ID>, "changeActivityState", "true")

    fibaro.call(<Harmony Device ID>, "changeActivityState", "false")

     

     

    Again please note that true and false are strings, not as you executed previously

    fibaro.call(<Harmony Device ID>, "changeActivityState", true)

    fibaro.call(<Harmony Device ID>, "changeActivityState", false)

    Link to comment
    Share on other sites

    @cag014 and JGab,

    This did the trick hehehe thankssssssss!

    This will boost the waf!

    Thanks again and have a nice weekend,

    //Sjakie

    Link to comment
    Share on other sites

    Any AOQ advantages or disadvantages when updating from 5.050.13 to 5.070.42?

    Link to comment
    Share on other sites

    11 minutes ago, Rover said:

    Any AOQ advantages or disadvantages when updating from 5.050.13 to 5.070.42?

     

    I think no. I can't see the Satel alarm systems's icons. Maybe the RAM usage better.

    Edited by SmartLifeSystems
    Link to comment
    Share on other sites

    I want to turn off automation section by fibaro double switch. I mean the light bulb turns off automatically for no movement, but if you turn on and off the wall switch for 5 seconds 3 times then turn off the automation for an hour. Am I right:
    - one variable of the last on/off (lastOn)
    - variable counter
    - variable automation
    - on the trigAll I check the lastOn, if it is more than 5 seconds then the counter = 0, otherwise +1. Also, if the counter is more than 3 then automation = !automation
    That's right, is there an easier way?
    Since I have more than 10 such devices, I want to first consult with experts)

    Link to comment
    Share on other sites

  • Topic Author
  • 15 hours ago, hellower said:

    Since I have more than 10 such devices, I want to first consult with experts)

    I think it will be to complicate  and hard to maintain in the future. You must to find another way to set automation off.

    for example I have same option in my bedroom, to stop automation I use s follow:

    If motion sensor breached and lights turned off manually withing 10 seconds, it means stop automation for 2 hours. Very easy to set condition for that.

    Another way is perhaps to use AOQ Remote. You can turn ON/OFF automation from the phone with no counters and global variables at all.

     

    Could you please explain what is the reason to turn OFF automation for an hour? Might be there is another solution for that.

     

     

    Edited by cag014
    Link to comment
    Share on other sites

    9 hours ago, cag014 said:

    Could you please explain what is the reason to turn OFF automation for an hour? Might be there is another solution for that.

    For example, the guests are already in the corridor, the lights are on, and they are not going yet, talking.

    Because they do not move, the light turns off and you have to wave your hands.

    Or soldering in the garage and not moving for a time.

    And I think the easiest way it's swich on/off/on this switch for disable automation.

    Otherwise I need to have a phone or remote control in my hands. 

    Link to comment
    Share on other sites

  • Topic Author
  • 4 hours ago, hellower said:

    For example, the guests are already in the corridor, the lights are on, and they are not going yet, talking.

    Because they do not move, the light turns off and you have to wave your hands.

    Or soldering in the garage and not moving for a time.

    And I think the easiest way it's swich on/off/on this switch for disable automation.

    Otherwise I need to have a phone or remote control in my hands. 

    So, instead of waiving your hands , you need to turn off - > on the switch 3 times within 5 seconds ?

    May be you can increase the delay time during normal hours (like 8:00-22:00) and to set shorter delay over the night?

    Another "smart" option is to add motion sensor and then you can know if the person entering or leaving the place and to control the lights accordingly (I'm using that in my parkway and garden to control the outside lights )

    In any case your solution looks fine as well.

     

    Edited by cag014
    • Like 1
    Link to comment
    Share on other sites

    Hello Cag,

    I need to reduce the number of messages I get.

    It is sending me

    Please login or register to see this code.

    I dont have a device with 681 anymore Also 682 is dead but that belongs to same device .

    So I have more notifications of "non" excisting devices.

    With API I cant remove them either because they are not excist.

    How to solve?

    //Sjakie

     

    Link to comment
    Share on other sites

  • Topic Author
  • 12 hours ago, Sjakie said:

    Hello Cag,

    I need to reduce the number of messages I get.

    It is sending me

    Please login or register to see this code.

    I dont have a device with 681 anymore Also 682 is dead but that belongs to same device .

    So I have more notifications of "non" excisting devices.

    With API I cant remove them either because they are not excist.

    How to solve?

    //Sjakie

     

    What do you mean by I don't have the device? Did you remove it from the system?

    Please verify that this device not exists in your system (not seen on UI anymore)

    All-in-One receives dead notification from the system and reacts accordingly, meaning the device is still in the system and keeps your controller busy with dead traffic.

     

    Link to comment
    Share on other sites

    Cag,

    I have more dead not excist anymore devices.

    If I add or re-add first I remove from system than add

    So I think those devices are from stone age.

    //Sjakie

    Link to comment
    Share on other sites

  • Topic Author
  • 1 hour ago, Sjakie said:

    Cag,

    I have more dead not excist anymore devices.

    If I add or re-add first I remove from system than add

    So I think those devices are from stone age.

    //Sjakie

    You must to remove them from the system somehow. You can remove manually from UI

    Link to comment
    Share on other sites

    Cag, thanks

    In swagger you can delete devices I did yesterday but it reports error device not found! I will contact support.

    I have one wall plug shows 3 devices, Binary sensor and 2 Multi level sensor>>>>>3 times a warning (one for each device) can this be reduced into one?

    //Sjakie

     

    Link to comment
    Share on other sites

    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

     

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