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

Delay timer does not work


Christoph60

Question

After updating (HC3) to 5.140.17 the delay timer in a block scene does only works up to 9min. If you choose 10min or more nothing happens.

 

A creasy issue. I converted the Scene to lua to look what the system is doing. 

 

The same problem, more than 540000 is not possible.

hub.setTimeout(540000function()
 
Whats that ? can someone help me ?
 
regards
 
Christoph
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

What is your exact lua code you tested?

Perhaps there is some syntax error or misunderstanding.

 

Just to verify that the setTimeout function works as intended I wrote a simple scene:

Please login or register to see this code.

And it provides this: 9min and 20secs later it executed.

Please login or register to see this image.

/monthly_2023_05/image.png.df42b8e38a07671ffb14e2d45eeab75c.png" />

 

Tested it with 10min and 10sec (610000) too:

image.png.e9bea54698b1c5c5bf61c1213c57ee8c.png

Edited by Stycx
Link to comment
Share on other sites

  • 0

Usually the standard setTimeout works for 28.4 days... 

Could it be that you have set the scene "Allow to restart a running scene:" to "yes" ? 

Then the triggering of a new instance of the scene will kill timers in the existing scene.

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