WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Support for Ledvance devices #319

Open TobiBu opened 2 years ago

TobiBu commented 2 years ago

Hi,

i bought some Ledvance zigbee devices see here

Among those is a smart Switch which allows several options including dimming. This device is recognized by the gateway as a button and simple on/off actions work. However, dimming and other options don‘t work. See also attached picture.

my question: Do I need to create my own adapter or modify some existing? Or how would I go and solve this issue?

thanks a lot in advance EF2A16E9-EC0B-4042-B30E-C2FE613876D8

tim-hellhake commented 2 years ago

That looks like a limitation of this adapter. If you feel up to it, you can try to fix it and open a PR. The other option is to move to zigbee2mqtt, which is also supported by this adapter.

TobiBu commented 2 years ago

Hi Tim,

I am happy to try but I don't know where to start from. OR how I figure out which adapter is currently used/identified for this switch. Moving to zigbee2mqtt simply mean installing this adapter add-on and then repairing the device?

thanks a lot!

tim-hellhake commented 2 years ago

I am happy to try but I don't know where to start from

Me neither. The native part of the adapter is quite complicated.

Moving to zigbee2mqtt simply mean installing this adapter add-on and then repairing the device

You need to first install zigbee2mqtt on your pi. There is a fairly straightforward manual. After that, you need to go to the config of the zigbee-adapter and add a Zigbee2MQTT adapter to the list. If you use the raspberry pi image you already have a MQTT broker running locally.

TobiBu commented 2 years ago

Hi Tim,

thanks a lot! I am running the raspberry webthings image.

If I understand correctly, I‘ll simply add the zigbe2MQTT adapter and try repairing. I will report on my progress.