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


  • 0

Scene dely, on HC3 but worked fine on Hc2 , used to turn off 10 things at night


Question

Guest Jasper Waale
Posted

I have a Scene that is made to turn off all lights and close curtains etc.  a total of 10 Items that need to have action

I do not test if on or off etc just do the events that need 

 

I tested both as Block and Lua , and both have the same issue it's slow and looks to get stuck, some 40-60sec before the first action 

Do HC3 add a delay or some delay for each line?   how to speed this up?   it worked well on my HC2

 

 

{
  conditions = { {
      id = 353,
      isTrigger = true,
      operator = "==",
      property = "centralSceneEvent",
      type = "device",
      value = {
        keyAttribute = "Pressed2",
        keyId = 8
      }
    } },
  operator = "all"
}
 
hub.call(81, 'turnOff')
hub.call(262, 'turnOff')
hub.call(266, 'turnOff')
hub.call(344, 'turnOff')
hub.call(482, 'close')
hub.call(600, 'turnOff')
hub.call(602, 'turnOff')
hub.call(537, 'turnOff')
hub.call(541, 'turnOff')
hub.call(444, 'turnOff')

1 answer to this question

Recommended Posts

  • 0
Posted

Hi @Jasper Waale ,

 

it is actually good practice to check current state of the device and then send command only if it is necessary. If you still want just to send commands to the devices regardless of their state it is good practice to add a slight delay between each command not to overflow z-wave network and give gateway time to process responses from devices.

 

Join the conversation

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

Guest
Answer this question...

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