This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee - Device On-Off Light in Home Automation

Hi.

I want to use the "On-Off Light" device present in the profile "Home Automation", but I didn't found the file .h in the library zboss. Are you thinking to create this device? Or can I create this device independently? If yes, how can I do this?

I need this device to make the "Finding & Binding" with "On-Off Switch". I tried this procedure with "On-Off Switch" and "Dimmable Light" but I've the problem with the cluster "Level Control" that I don't want handle. 

Best regards,

Raffaela

Parents Reply Children
  • Hi Raffaela.

    So you don't want to be able to "dim" the light, correct? Just turn the light on and off?

    You can just use 0 and 254 as values in the level control cluster for off and on, or just use the On/Off Light Switch?

    Best regards,

    Andreas

  • Hi Andreas.

    Thank you for the reply.

    The problem is Amazon Echo: I need to see the "On-Off Switch" device as a smart home device, so the only controls I can control are On and Off. If I only use this device, Amazon Echo cannot control the commands and as an error it comes out "the server is not responding" because in fact the switch (which acts as a client) does not have a server on which to actually modify the value of cluster On / Off.

    So I thought of inserting two endpoints in the same device, "On / Off Light Switch" and "Dimmable Light" but, in doing so, on Amazon Alexa gives me the possibility to drive the Level Control too, but this is false information . In the HA profile documentation, this "On / Off Light" device is present: why is it not present in the * .h files of your library?

    I don't know if you have any suggestions on how to make an "On / Off Switch" work without having to connect a server to it (from what I understand, it doesn't seem possible and, even looking at your example, the Dimmable Switch works with a light bulb connected via EZ Finding & Binding). I also ask you if it is possible for me to create the * .h file relating to the "On / Off Switch" device

  • Hi again.

    I understand.

    I'm not aware of the reason why it is not present in our libraries.

    You can of course implement this yourself if you like to.

    Best regards,

    Andreas

Related