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

Failing to make a double click activate scene (Fibaro Dimmer2)


Question

Posted

I've set my house up in the way that I have connected many s2 connections on dimmer2 to a physical switch that at the moment does nothing.

 

My plan when I set this up was to have these activate a scene. 

Like one in my bedroom and by the front door that has an all on/off function.

 

I can't seem to figure out how to do this. Is this possible?

I find no parameter in dimmer2 that makes s2 activate on double clicks.. :(

 

thanks!

13 answers to this question

Recommended Posts

  • 0
Posted

there should be parameter 28 where you can enable scene activation.

After you enabled this you can create a scene that activates when pressing the S2 double.

 

see the manual for the correct scene ID input code.


complete manual: 

Please login or register to see this link.

Please login or register to see this attachment.

  • 0
  • Inquirer
  • Posted

    Right!

     

    So thats a start. Thanks!

     

    I figured I could create a simple block scene where I choose the device, if pressed twice, then do (the folowing...

    But that doesnt really work. 

    How do i setthe trigger in e block scene?

    • 0
    Posted (edited)

    I don’t own a HC3 but a HC2, hopefully this still can help you.
     

    Create a block scene by start selecting the dimmer2 that you want to use for the S2

     

    In the green section choose scene activation and behind the fill in the ID number of the S2 x Clicks for your type of switch (see screenshot previous post)

     

    Then select what you want to do .....

     

    The trigger is added automatically because the dimmer scene activation is the trigger

    Please login or register to see this attachment.

    Edited by kevin
    • 0
  • Inquirer
  • Posted

    This is what I ot so far...

    That didnt work ?

    Please login or register to see this attachment.

    • 0
    Posted

    Do you have a momentary of toggle switch?

    • 0
    Posted

    the scene activation code for both momentary and toggle are the same.

     

    check that the parameter did indeed change succesfully.

    also i can see from the block code that you chose the remote controller icon. just make sure its the correct one.

    i am using this myself and for clients and it does work perfectly well.

     

    • 0
  • Inquirer
  • Posted

    Please login or register to see this attachment.

     

    Pretty sure I activated the right one?

     

    Yes, I choose the remote controller icon as this was the only one from thise device it would alow me to choose. Should there have been more?
     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
    Posted

    I have exactly the same issue and logged it with Fibaro but no answer. It worked on HC2 but not HC3. I have a momentary button, it works for 1 press, 3 presses or a long press but I just can't get it to work with 2 press. 

    Please login or register to see this attachment.

    • 0
    Posted

    hi

    here is a snapshot of my LUA code for a dimmer 2.

    i have 2 x toggle switches. 1 connected to S1 to control load and the 2nd connected to S2 for scene activation purposes.

    all 4 codes i have programmed work..

     

    The code here aswell:

     

     local jT = json.decode(fibaro.getGlobalVariable("jTable"))
     
     local sa = tonumber(json.encode(sourceTrigger.value))
    --fibaro.debug("Scene158", sa)
     -- off to on
     if (sa == 20then
    local strip = tonumber(fibaro.getValue(jT.cinemaroom.coving, "value"))
    if (strip == 0then fibaro.call(jT.cinemaroom.coving, "setColor","255","255","255","255"end
    if (strip > 0then fibaro.call(jT.cinemaroom.coving, "turnOff"end
     end
     
     --on to off
      if (sa == 21then
    local strip = tonumber(fibaro.getValue(jT.cinemaroom.coving, "value"))
    if (strip == 0then fibaro.call(jT.cinemaroom.coving, "setColor","255","255","255","255"end
    if (strip > 0then fibaro.call(jT.cinemaroom.coving, "turnOff"end
     end
     
     -- 2 x click
      if (sa == 24then
    fibaro.call(jT.cinemaroom.coving, "setColor","255","0","0","0"
     end
     
     -- 3 x click
      if (sa == 25then
    fibaro.call(jT.cinemaroom.coving, "setColor","0","0","255","0"
     end

     

    Please login or register to see this attachment.

    • 0
  • Inquirer
  • Posted (edited)

    Got it working!

    Turned out it worked all along. It was just me who idiotically managed to connect the one switch I was using as a test subject wrong.

    Now all my non function switches all around are starting to work! Sweeeeet!

     

    I'm having trouble with just one.. 

    In the hallway I have a dimmer2 I had left over behind a wall switch. There is no load (apart from a bypass) connected to S1 as this switch is meant only to be used as a remote.

    Now I've set the parameter 28 to enabled.

    I have problems making S2 respond to double click and activate wanted scene... I also have trouble with S1. Mainly because in the block scenes it won't give me the option of 'scene activation event' when I choose it. It will only alow me to choose between 'Brightness, State, Energy Consumption and Power measurement'.

    Any hints to solve this final setback?

    Edited by Kouzco
    • 0
  • Inquirer
  • Posted (edited)
    14 minutes ago, Kouzco said:

     

     

    Edited by Kouzco
    • 0
  • Inquirer
  • Posted

    Update!

     

    Like I said. I have a dimmer2 connected to a switch where I want S1 and S2 both to activate scenes on double click. I have no load connected apart from a bypass.

     

    I now have S2 running as it should. Meaning that it's basically an all off switch on double tap.

     

    S1 I can't figure out how to do the same thing. It will only alow me to choose between 'Brightness, State, Energy Consumption and Power measurement. Not scene activation event.

    ?

    • 0
  • Inquirer
  • Posted

    Worked it out. I'm such an idiot ?

     

    Thanks everyone!

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