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

for example: i have a Block scene names scene1, thats has a condition/trigger device A turned on, and as action device B is turned on

 

Is it possible to run scene1 from another scene named scene2 but where the conditions are used in scene1.

 

Goal: i have a difficult scene with a lot of conditions and i like to run this scene every 15 minutes with also use all conditions in that scene.

5 answers to this question

Recommended Posts

  • 0
Posted

Reusable condition groups is a great idea but I don't think there is a built in way to do that without using lua programming. You could get around this and make a quick app that turns on and off based on the conditions one scene and the second scene just looks at the state of the quick app.


.

  • 0
Posted

Staying in block scenes you could use custom events and use the event to call the other scene based off the same conditions

Copied from the Fibaro manual

Events

Custom events may be used to expand the functionality of scenes. Similar to variables, they can be used to connect different scenes, but they do not store any additional information, only that something happened (specified by you). You can emit your custom event in scenes and QuickApps, then use it to trigger other scenes.

  • 0
Posted

I don't get what you exactly want, but it is possible with Lua if you want 1 scene with a condition block and run other scenes from that scene with: hub.startScene()

  • 0
  • Inquirer
  • Posted
    On 4/30/2023 at 9:20 AM, Joep said:

    I don't get what you exactly want, but it is possible with Lua if you want 1 scene with a condition block and run other scenes from that scene with: hub.startScene()

    Yes i know, but it starts the scene without check of the conditions. And i like to start the scene only when the conditions are checked.

    On 4/29/2023 at 3:45 AM, Pica2017 said:

    Staying in block scenes you could use custom events and use the event to call the other scene based off the same conditions

    Copied from the Fibaro manual

    Events

    Custom events may be used to expand the functionality of scenes. Similar to variables, they can be used to connect different scenes, but they do not store any additional information, only that something happened (specified by you). You can emit your custom event in scenes and QuickApps, then use it to trigger other scenes.

    Same problem with events. I like to start a scene, but only when the conditions are checked in that scene

    • 0
    Posted

    What is the problem that the scene starts? If the conditions are not met I does nothing. It’s 1 or 2ms runtime then.

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