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

Controlling Wall Plug from dimmer?


JanJoh

Question

Hello!

I have a dimmer module (FGD211, In HC2 I see ID:22) and I use a “two key” momentary switch, so both S1 and S2 is connected.

With the default settings, I can maneuver the lights with just one key, and I am happy

Please login or register to see this image.

/emoticons/default_icon_smile.gif" alt=":-)" />

Now, I would like to use the second key (s2) to turn on/off the Wall Plug (FGP111, ID21) that I have in the same room.

Can this be achieved somehow?

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0
Hello!

I have a dimmer module (FGD211, In HC2 I see ID:22) and I use a “two key” momentary switch, so both S1 and S2 is connected.

With the default settings, I can maneuver the lights with just one key, and I am happy

Please login or register to see this image.

/emoticons/default_icon_smile.gif" alt=":-)" />

Now, I would like to use the second key (s2) to turn on/off the Wall Plug (FGP111, ID21) that I have in the same room.

Can this be achieved somehow?

yes it can be possible if Your dimmer version is 1.9 or higher. Then You can program scene for S2

Please login or register to see this image.

/emoticons/default_icon_wink.gif" alt=";-)" />

Link to comment
Share on other sites

  • 0
  • Inquirer
  • yes it can be possible if Your dimmer version is 1.9 or higher. Then You can program scene for S2

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    In HC2 the dimmer is listed as Version: 2.2

    So, how do i map this?

    Link to comment
    Share on other sites

    • 0

    Advanced options for dimmer in HC2 -> parameter 41 there You can read what to do

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Advanced options for dimmer in HC2 -> parameter 41 there You can read what to do

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    Well, I am sorry, but i do not understand how to map this. I understand i need to do something with "ID 16" and assoc. group 3. But, I am not connecting the dots here?

    Parameter 41Scene activation functionality.

    The device offers the possibility of sending commands compatible with Command class scene activation. Information is sent to devices assigned to association group no. 3. Controllers such as Home Center 2 are able to interpret such commands and basing on these commands they activate scenes, to which specific scene IDs have been assigned. The user may expand the functionality of the button connected to inputs S1 and S2 by distinguishing the actions of keys connected to those inputs.

    For example: double click would activate the scene “goodnight” and triple click would activate the scene

    “morning”.

    Scene ID is determined as follows:

    Momentary switch (push button) (parameter 14 set to 0):

    Input S1:

    holding down ID 12 (option inactive in case of roller blind switch)

    releasing ID 13

    double click ID 14 (depends on parameters 15 value - 1 = double click active)

    triple click ID 15

    one click ID 16

    Input S2:

    holding down ID 22 (option inactive in case of roller blind switch)

    releasing ID 23

    double click ID 24 (depends on parameters 15 value - 1 = double click active) option inactive in case of roller blind switch

    triple click ID 25

    one click ID 26

    Link to comment
    Share on other sites

    • 0

    You have to make parameter 41 active and then write scene in Lua, here You have the code:

    --[[

    %% properties

    XXX sceneActivation

    %% globals

    --]]

    if ( tonumber(fibaro:getValue(XXX, "sceneActivation")) == YYY)

    then

    fibaro:startScene(ZZZ);

    end

    XXX- id of Dimmer

    YYY - id of click (one click ID 26)

    ZZZ- id of the scene You want to use

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • You have to make parameter 41 active and then write scene in Lua, here You have the code:

    --[[

    %% properties

    XXX sceneActivation

    %% globals

    --]]

    if ( tonumber(fibaro:getValue(XXX, "sceneActivation")) == YYY)

    then

    fibaro:startScene(ZZZ);

    end

    XXX- id of Dimmer

    YYY - id of click (one click ID 26)

    ZZZ- id of the scene You want to use

    Aha I think i am beginning to see the logic, but, that leads to another querstion. Can i send a "push the b button" command do the plug, or do i need to build the logic to find out what state the plug is in, and then send the opposite command?

    Link to comment
    Share on other sites

    • 0

    I have read one more time Your first topic and realized that You just want to on/off wall plug using dimmer's S2. You can use association and add wall plug to second group.

    To sum up please read dimmer instruction really carefully,there You will find all answers on Your question.

    Point IV in instruction is association

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • I have read one more time Your first topic and realized that You just want to on/off wall plug using dimmer's S2. You can use association and add wall plug to second group.

    To sum up please read dimmer instruction really carefully,there You will find all answers on Your question.

    Point IV in instruction is association

    Please login or register to see this image.

    /emoticons/default_icon_wink.gif" alt=";-)" />

    Ok, So, I take it that I should use Dimmer -> Advanced -> Association -> Group 2 -> Setup -> Highlight the Wall Plug ?

    COrrect?

    Should I ONLY have the plug associated, or should I still include the HC2?

    WHat does the "View" in assoc. Group do?

    Link to comment
    Share on other sites

    • 0

    HC2 has to be still associated! In "View" You can check which devices are truly associated

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • HC2 has to be still associated! In "View" You can check which devices are truly associated

    Many thanks! It was indeed as easy as that!

    I will however keep your code exampel for the more advanced mwthod. I am certain that I will want to try that at some point!

    Please login or register to see this image.

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

    Link to comment
    Share on other sites

    • 0

    You are welcome

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

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