stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 100 forks source link

Woox R7051 Smart smoke alarm : devices missing #829

Closed globulus2 closed 1 year ago

globulus2 commented 1 year ago

Issue description : I just bought the Woox R7051 Smart alarm supported by Zigbee2mqtt : https://www.zigbee2mqtt.io/devices/R7051.html#woox-r7051 The pairing process is fine. In domoticz, only some devices appeared : Battery Voltage and Link Quality The other devices seemed to be not detected : warning, alarm, ac_connected

Additional information Zigbee2MQTT version: v.1.27.2-dev Python version: 3.7.3 Domoticz version: 2022.1 Plugin version: v.3.2.0-beta

globulus2 commented 1 year ago

Hi, I added the following lines to adapters/init.py _from adapters.generic.siren import SirenAdapterWithBattery adapter_bymodel = dict({ 'R7051': SirenAdapterWithBattery, And it works for me.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.