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

Dimmer 2 does not respond to turnOn command


janbe

Question

I added a Dimmer 2 (v3.5) to my HC2 system. The switch appears in my system with ID:111 and operates properly when operated manually. I can control it via HC2 by using the On/Off toggle switch or slider.

 

Please login or register to see this attachment.

 

However, it does not respond to the following call:

Please login or register to see this code.

I've installed the latest firmware on both HC2 and the Dimmer switches. I have tried removing and adding it again to HC2.

Edited by janbe
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Hi @janbe,

It should respond to that command... Not sure what is happening; some random thoughts:

- Could it be that it turns on at a very low dimming level?

- Coud there be other bugs in your code? (Maybe you can share the remainder of your code? Although I assume you have tested the code separately?)

 

J

Link to comment
Share on other sites

  • 0
  • Inquirer
  • 18 hours ago, 3JL said:

    Hi @janbe,

    It should respond to that command... Not sure what is happening; some random thoughts:

    - Could it be that it turns on at a very low dimming level?

    - Coud there be other bugs in your code? (Maybe you can share the remainder of your code? Although I assume you have tested the code separately?)

     

    J

     

    - the dimmer is switched off in HC2 after initiating the turnOn command

    - no bug in the code

     

    I found that dimmers do not respond to turnOn:

    Please login or register to see this code.

     

    they do respond to (where 100 is the power level, a value between 0-100):

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0

    Yep that's true

    dimmers are on value and switch are on ON or OFF

    Link to comment
    Share on other sites

    • 0
    1 hour ago, Kage said:

    Yep that's true

    dimmers are on value and switch are on ON or OFF

     

    Weird :) it turnOn works in my setup! It is even suggested as one of the actions in the devices list (on the left in lua editing)

    Link to comment
    Share on other sites

    • 0
    1 hour ago, janbe said:

    they do respond to (where 100 is the power level, a value between 0-100):

    Almost correct.

     

    0 = off

    1 = lowest possible dim level

    99 = highest possible dim level

     

    255 = last remembered value aka "turnOn"

     

    There is no "100".

    Link to comment
    Share on other sites

    • 0
    4 hours ago, petergebruers said:

    255 = last remembered value aka "turnOn"

     

    Could that be the reason why turnOn did not work? I.e. there is no remembered value (for unknown reasons)?

    Link to comment
    Share on other sites

    • 0

    Last remembered would be between 1 and 99 (not 0). But not all lamps light with a low value. Some of my dimmers have been set to 5 or 10 as a minimum level (see parameters). Still some are really difficult to see in daylight...

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