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

Run Scene after .. minutes


stevenvd

Question

I still can't get this to work! The image below is just a test scene. It should turn on the light (or the tv) 55 minutes after the variable has changed. But it turns on direclty! Can someone please help me out?!

(example is from:

Please login or register to see this link.

)

And I don't want to do it with 3300 seconds of waiting or LUA

I found A bug in the code. When you change the Graphic to LUA you see this:

Please login or register to see this code.

With this line:

Please login or register to see this code.

it will ofcourse always trigger directly!

Please login or register to see this attachment.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Why not use fibaro:sleep??

I think is not possible with graphic, because you must do:

When MorningTV == Play then your timer.

SO you have 3 possibility,

1) fibaro:sleep

2) make a calcul with current time and add 55min

3) make a loop with a fibaro sleep 1sec.

but fibaro:sleep is the easy to do that and work fine.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Why is it shown on the Fibaro website then? And when I just delete the last part it works quite well.

    I want to be able to make these kind of things in Graphic code for other users (read customers)

    Link to comment
    Share on other sites

    • 0

    That is strange because if I read the code I understand, every 55min the scene start and if your variable is one then the code continue but not when the variable is 1 the we wait 55min.

    Wait somebody else to confirm but for me is that.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Yeah, it works perfectly if I delete the whole Else part. Because then it just sleeps. So I guess a bug in the Graphic blocks?!

    Link to comment
    Share on other sites

    • 0

    stevenvd, not bug it is solution to manualu press "run"

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • OKe I understand. But how does it come that if a different Scene changes the Variable the Light gets turned on immediately. While when I delete the last part of the Scene when changin it from a graphic block to LUA. It works? Am I doing something wrong? or can you just not make a delay in this way?

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