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

Activate and deactivate scene with wallswitch


Question

Posted

Hello all,

What is the best way to switch a scene (on and off) in combination with a normal wallswitch? I saw that a Door/window sensor can do the trick but they are to large to put behind a normal wallswitch. I don't want to put an extra wire into the system so i prefer a battery powered device.

All my lamps in the house are equipped with the Fibaro FGD-211 modules. The are build into the lamp itself.

I hope to hear from you

Regards, Hugo

17 answers to this question

Recommended Posts

  • 0
Posted

What exactly are you trying to achieve? I have a scene trigger upon since press for some of my switches, but I don't if that will work for you.

  • 0
  • Inquirer
  • Posted
    What exactly are you trying to achieve? I have a scene trigger upon since press for some of my switches, but I don't if that will work for you.

    Hello hvb83,

    The idea is to switch two scenes on and of with one switch.

    Please login or register to see this image.

    • 0
    Posted

    Does "woonkamer aan" do the reverse of "woonkamer uit"? In that case you may combine both scenes into one and set a trigger using

    Please login or register to see this code.

    ID should be replaced by the ID of the module that you use as a scene trigger.

    Then on a trigger, you should set the scene to check if the licht is on, if so, then basically run the scene that turns the living room off, otherwise it should run the parts in the scene that turn the living room on.

    • 0
  • Inquirer
  • Posted
    Does "woonkamer aan" do the reverse of "woonkamer uit"?

    Yes it does

    In that case you may combine both scenes into one and set a trigger using

    Please login or register to see this code.

    ID should be replaced by the ID of the module that you use as a scene trigger.

    Then on a trigger, you should set the scene to check if the licht is on, if so, then basically run the scene that turns the living room off, otherwise it should run the parts in the scene that turn the living room on.

    I think the above script can only be done when you program in LUA? If so, its gonna be a hard one for me. Tried to simulate the LUA scene but the whole house started to turn on and of and on...

    First things first. What kind of hardware do you use to trigger the scene?

    • 0
    Posted

    And I skipped the blocks interface because it didn't make sense to me. Considering I had no previous programming experience, LUA seemed a bit intimidating to me at first too, but by now I can do some basic things without problems. In combination with this forum more than what I could have done by using the blocks.

    The trigger you would use for this scene, is the dimmer or relay module that is connected to the light switch. So if the ID of that device is 15, then the LUA code will become something like

    Please login or register to see this code.

    What this does is if device 15 is used, it triggers the scene once. The scene then checks the value of your dimmer, if the value is 0, it assumes the light is off and you want to run the "woonkamer aan" scene. If the value is higher than 0, then it will run the other scene.

    You will just have to add the actions that you want to execute in between. If you provide more details on what you want to do there, then we can help. But I guess you'll have something to get you on your way now.

    • 0
  • Inquirer
  • Posted

    That script is gonna do the trick, thanks for that. The only difference here is that the trigger has to be an module behind the switch, powered on a battery. Al my lamps are integrated with the FGD-211 modules and the switches are gone. I have an iPad on the wall that switches the light in the house.

    The wallswitch that i want to use for the scene is originally for the kitchen sealing. If i should use the wallswitch to activate the scene for the living room it will interfere with another scene i plan. When we cook in the kitchen there is one switch that turns on the spots, sealing light* and the exhaust hood. If press again when we are done cooking and the living room is off, the lights will go off in the kitchen. If the living room is on, the kitchen dims to the desired values (i also can use your script for this

    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" />).

    * if sealing light is on, the 'Woonkamer aan' goes on.

    I hope my explanation is a little-bit clear.

    For now your scene will help me a lot to trigger another lamp in the house with a normal wallswitch in combination with some sort of a doorsensor behind it. Now i am looking for a doorswitch ore something that i can build behind my wallswitch, battery powered. I know that the Fibaro Door/window switch can do it but it is to large to put behind the wallswitch

    Please login or register to see this image.

    /emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" /> I need something smaller with a battery that can send signals to the HC2 to act as a trigger.

    [ Added: 2014-02-16, 15:17 ]

    Is this possible?

    switch.png

    • 0
    Posted

    Hi Hugo,

    Why not use another FGD-211 (or FGS-221/211) module?

    With a "pulsdrukker" you can activate scenes on your HC2

    1x click is ..

    2x click is ..

    3x click is ..

    You could even use a double monetary switch to control even more.

    My experience with a battery is not positive.

    I have the universal module connected to my "deurbel" with power supply.

    • 0
  • Inquirer
  • Posted

    Hi RobH, Because i don't have a real power supply behind the wallswitch, only brown (+) and black (switch wire).

    • 0
    Posted

    Brown is enough for the FGD211, for this module you don't need blue.

    • 0
  • Inquirer
  • Posted

    Hello boerremk, if i use the black wire then it will directly switch the kitchen sealing lamp. If i do that it will interfere with another scene i plan:

    The wallswitch that i want to use for the (living room on/off) scene is originally for the kitchen sealing. If i should use the wallswitch to activate the scene for the living room it will interfere with another scene i plan. When we cook in the kitchen there is another switch that turns on the spots, sealing light* and the exhaust hood. If press again, when we are done cooking, and the living room is off, the lights will go off in the kitchen. If the living room is on, the kitchen dims to the desired values

    The only thing i can think of is to use the black wire (unused now) as a blue (-) one. Then the FGD211 will work as an independent trigger.

    • 0
    Posted

    Can you not change the wallswitch for a double? The first is than for the original situation, the second for the new scene (combined with the FGD211).

    I don't like mixing colors.... if you (or somebody else) wants to change something in the future you probally forgot that black is blue....

    • 0
  • Inquirer
  • Posted

    Unfortunately the double switch isn't gonna work and i agree with you that mixing the colors isn't a clean solution. The problem is that i can't use a normal switch to activate the kitchen sealing because that lamp is gonna trigger the whole house. It could work if i let go of the 'cooking scene' but that's not gonna happen. If we use the cooking scene by daylight, the living room will go on, that's not needed.

    Here is what i am gonna do: I change the black wire for a blue wire and put in a TKB home switch. That will solve the problem i hope

    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" /> saves me money for a € 60 FGD211 + standard wallswitch of € 10

    Please login or register to see this link.

    • 0
    Posted

    Why not use another FGD-211 (or FGS-221/211) module?

    With a "pulsdrukker" you can activate scenes on your HC2

    Spoke with Fibaro two years @ cebit about their range of products and what is missing.

    Still missing a good (in wall) scene switch, X10 (xanura/holec) was used in my home before zwave. One of the most usefull modules was the GIX, a group switch with 4 pulse options. I had one on every floor, to start certain scenes.

    A great device for HA, too bad fibaro never understood the value of this module.

    Gr

    Rene

    • 0
    Posted

    they are working on a wall scene device.

    Swipe module.

    • 0
    Posted

    I now have a solution with a Fibaro doorsensor behind a standard wallswitch. Removed the cover of the doorsensor and it fits perfectly

    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" />

    • 0
    Posted
    I know have a solution with a Fibaro doorsensor behind a standard wallswitch. Removed the cover of the doorsensor and it fits perfectly

    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" />

    Can you make a picture of it. Not easy to image how it looks like.

    Thx

    • 0
    Posted
    they are working on a wall scene device.

    Swipe module.

    hmm can't wait

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