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 does not start


rvelthoen
 Share

Question

Hi

My scene won't start every day at 23:59

If i run it manual it works just fine.

 

Please login or register to see this code.

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

There is not any trigger to start your scene. (autostart just starts the scene only after changing the scene or restarting the homecenter )

Link to comment
Share on other sites

  • 0

I gave it a closer look and indeed the scene when autostarted, keeps running forever.

 

I did a rewrite of your scene to make it better readable but it's hard to understand what it should do:

 

Please login or register to see this code.

 

When the scene starts the variable prod_totaal is set from the global "prod_totaal"

If the scene is triggered by "autostart" then function tempFunc is started.

tempFunc keeps running and checks every minute if the time is 23:59

When it is 23:59 it calls your device 484 and sets the Label4 value to an empty string "" and continues to loop and sleep again till the next evening.

So in fact nothing sensible happens.

 

In the case of a manual start, (sourceTrigger "other")  then a debug of value prod_totaal is done and the prod_totaal value is saved in another global "Prod_end".

 

What has to be done at 23:59 ?

 

Link to comment
Share on other sites

  • 0
  • Inquirer
  • It must do this @23:59

     

    Please login or register to see this code.

     

    Like this, but automatic:

     

    Please login or register to see this code.

     

    Edited by rvelthoen
    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.

     Share

    ×
    ×
    • Create New...