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

Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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.

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