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

[solved] Scene trigger after restart possible


kunoch
 Share

Question

Is it possible to have a scene or several scenes triggered after a restart of the HCL?

I thought about a variable in the automatic restart scene and VD, but is there any other solution or possibility?

So is there a trigger condition, which is only TRUE when the HCL is restarted?

kuno

Edited by kunoch
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
  • Inquirer
  • Here the solution, also available in the cookbook:

    The Scene is using a global variable for the example. There might be another trigger condition, e.g. time based. Make sure to choose a trigger condition at a point in time where no scene is running, which has a delayed switch on or off or alike as these timers will not work anymore.

     

     

    Define a global variable to save the restart:

     

    Please login or register to see this attachment.

    The restart Scene, setting the variable to true and ‘pressing’ the button of the VD to initiate the restart.

    Please login or register to see this attachment.

     

     

    Create another scene, evaluating the value of the HCL_Restart variable:

    Please login or register to see this attachment.

    Please login or register to see this attachment.

     

    As this scene will trigger immediately when the variable is TRUE, something is needed to delay the setting of the variable to FALSE again. This delay must be longer than it takes the previous scene to press the restart button of the VD. In the example, an AEON wall switch is taken and the wattage of the switch is evaluated to be something bigger or equal to 0W after 300 Seconds. This is long enough for the restart to be initiated, before the variable is set to FLASE again. As far as tested it does even work when the AEON wall switch is not present in the network. To be on the save side, there could be several of such silly conditions ORed.

    About 5 minutes after the restart of the HCL, the variable is then set back to FLASE. Within this THEN anything can be done, necessary after a restart of the HCL.

     

    Not as stated above, the device used for the delay must be available in the system. Why it worked when I tested, I have no clue as it was shown in the overview as having a communication problem.

     

     

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