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 With Condition


fxpa

Question

Hi

I Would Like to create a scene but it does not works

The idea is :

Everytime when I start the scene, If the FGK101 of the garage is open, the garage Door must close.

Please login or register to see this link.

Uploaded with

Please login or register to see this link.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

checkbox "start with hc2" is checked?

second condition is checed? (that part what you was cut)

Link to comment
Share on other sites

  • 0

Ta scene est bizarre, pourquoi dans la condition tu as le capteur en position fermé alors qu'il devrait être ouvert. Après pourquoi tu as un device virtuel et non le module de ta porte auquel tu dis de ce fermé.

In your scene is strange, why in the condition you have your windows sensor in close position because it must be open. After why do you use virtual device and not the device from your garage door which one you send order to close.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Hello

    The virtual device is a Http relay connected with a remote for my 3 gates

    The garage door system has no way to tell if is opened or closed so i've put a Door sensor to know the state of the door.

    I've create 2 scene, one for opening and the other for close the door

    The "open Scene" is :

    When I run it, if the door sensor is closed, use the virtual device to open the door

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Go in lua code it is easy to do that.

    Yes May for those who know LUA code

    But My scene condition is so simple to not work with block scene

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

    Link to comment
    Share on other sites

    • 0

    Remove your timers and put the device you want click to do the scene.

    Link to comment
    Share on other sites

    • 0
    Guest jrkalf

    The last line of your scene in blockmode is a virtual device. Have you manually checked this device by pressing the button outside of the scene? Does it do exactly what you want it to do?

    Virtual devices can be tricky, it's wise to test them manually first to see that they're actually doing what they're supposed to do, before combining them into scenes.

    Link to comment
    Share on other sites

    • 0

    Try this code :

    Please login or register to see this code.

    You must change the ID of the door sensor 325 with your ID and the ID of the Virtual device 143 with your ID. "pressButton", "1" = Button n°1 of the virtual device.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • The last line of your scene in blockmode is a virtual device. Have you manually checked this device by pressing the button outside of the scene? Does it do exactly what you want it to do?

    Virtual devices can be tricky, it's wise to test them manually first to see that they're actually doing what they're supposed to do, before combining them into scenes.

    The virtaul Device works like a charm

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Problem is the scene don't care about sensor state and send the command

    [ Added: 2013-04-09, 08:10 ]

    Try this code :

    Please login or register to see this code.

    You must change the ID of the door sensor 325 with your ID and the ID of the Virtual device 143 with your ID. "pressButton", "1" = Button n°1 of the virtual device.

    Tested

    It works

    Tks For ALL

    Now I've to learn LUA (VB.NET would better for me )

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

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