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

problem with scene in scene and conditions = SOLVED thanks to hTiger1


RobVeenis

Question

I have a problem with my HC-2 and 12 Fibaro roller shutters.

 

What I want is easy and logical: When I press a button on my remote, a scene will start so the blind will close when the door / window status is "safe", for that I use a door sensor.

This works great for an individual blind.

 

But I made a scene as well that closes more blinds at the same time, using the scenes that I made for every individual blind.

When I start that scene on the remote there is no check anymore about the status of the door and the blinds will close under any circomstances.

 

Somebody told met that if you run a scene from another scene the conditions of the underlying scene are not checked anymore, but that sounds not logic to me.

 

Anybody an idea?

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

@RobVeenisUse a global variable installed in the variable panel which changes state with your door and window states, maybe one for each room and a condition in your scene of only starting  with the correct variable value . Eg "loungeJoineryState" , 0 = closed, 1 = open.

Edited by Jamie mccrostie
Link to comment
Share on other sites

  • 0
  • Inquirer
  • Thanks for your respons Jamie.

     

    I could not find a lot of information about how to work with variables but I gave it a try.

     

    First I made 2 variables in the panel (see attachment)

    then I made a scene that checks the status of the door (see attachment) and a scene "blinds garden close" to run the scene "check door garden" by a remote.

     

    If I push the button on the remote it doesn't start the scene "check door garden"

     

    Any(body) a suggestion what I am doing wrong?

     

    Thanx in advance for any reaction

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    Hi
    There are some small mistakes that make it not work.
    I've had your screenshots to image processing.
    The variable must have the "right" value when you start.

     

    1. There must be only one variable.
    2. When you click on the remote control to change you "blindsgarden" to "1" and thereby trigger scene in picture 3
    3. Please checkmark 'blindsgarden in "picture 3
    4. Create Scenes like opening the blinds and change the variable to the opposite of the close scene.

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • hTiger1,

     

    Thank you so much for your help.

    Your suggestion works totally fine.

     

    The only small issue left is that if I test the scene with the door open (result is the blind does't come down as I wanted) the variable gets the status 1 and I have to manually put it back to 0 otherwise the scene doesn't work anymore.

    Not a big issue as I expect it will not happen a lot or all but is there a solution for that?

     

    But again: thanxs so much for looking into my problem and solving it so quickly!!

    Link to comment
    Share on other sites

    • 0

    @RobVeenis If you google Fibaro global variables there are some good block scene examples but hTiger1 difffentily  has got you on the right track.

    It also shows you LUA examples if you want to dip you toes into that route.

    Link to comment
    Share on other sites

    • 0
    6 hours ago, RobVeenis said:

    hTiger1,

     

    Thank you so much for your help.

    Your suggestion works totally fine.

     

    The only small issue left is that if I test the scene with the door open (result is the blind does't come down as I wanted) the variable gets the status 1 and I have to manually put it back to 0 otherwise the scene doesn't work anymore.

    Not a big issue as I expect it will not happen a lot or all but is there a solution for that?

     

    But again: thanxs so much for looking into my problem and solving it so quickly!!

    Hi
    Try experimenting a bit with this one, just create scene and let it run automatic.  

    Have not tested it.

    When you close the "door garden" set the variable to "0" 

    Please login or register to see this attachment.

    Edited by hTiger1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • hTiger1,

     

    Thank you so much for your help, this scene does exactly what I wanted.

     

    @ Jamie, I will certainly look further in the field of variables, LUA however is a bridge to far for me I'm afraid.

    Link to comment
    Share on other sites

    • 0

    @RobVeenis Keep reading, once you get familiar with the function calls and scene layouts it gets easier.

    Read Autofranks tutorials on this site, introduction to scenes, introduction to virtual devices etc and the many other great tutorials on this site.

    Play around with something like your blinds scene first that you already understand in your block scene. Try converting this to LUA so you can compare the two, there is a button at the bottom of your block scene to do this you may have noticed.

     Keep scenes really simple fist then add complexity making sure thru debug they work at each point. 

    Im only just beginning with LUA myself, but your progess goes expedental once you understand the basics.

    Print off cheat sheets, hard copys of tutorials, fibaro function names etc so they are in front of you when your playing around on PC

     

    Edited by Jamie mccrostie
    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...