stas-demydiuk / domoticz-zigbee2mqtt-plugin

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

bought 2 SNZB-04 door sensors, there are both detected but no devices #808

Closed nl2rma closed 2 years ago

nl2rma commented 2 years ago

Issue description Bought 2 Sonoff SNZB-04 door sensors, there are both joined in Z2M and functioning in the Dashboard, changes are published in MQTT . Both new sensors listed on the overview of zigbee2mqttpluugin page in Domoticz, but no devices/exposes are show when I select either them. running 29 zigbee device in total, all working in Domoticz.

Additional information Zigbee2MQTT version: [1.25.2] commit: [3c5854f] (docker) Python version: Python Version: 3.7.3 Domoticz version: Version: 2022.1 (build 14352) (docker) Plugin version: V3.1.0beta

Logs Attach any additional logs here which might be useful: mqtt, domoticz, plugin logs ZIGBEE2MQTT: info 2022-06-12 16:49:20: MQTT publish: topic 'zigbee2mqtt/TUIN Waterput-Level', payload '{"battery":100,"battery_low":false,"contact":false,"device":{"applicationVersion":5,"dateCode":"20211103","friendlyName":"TUIN Waterput-Level","hardwareVersion":1,"ieeeAddr":"0x00124b0025123475","manufacturerID":0,"manufacturerName":"eWeLink","model":"SNZB-04","networkAddress":24586,"powerSource":"Battery","type":"EndDevice","zclVersion":1},"last_seen":"2022-06-12T14:49:20.577Z","linkquality":160,"tamper":false,"voltage":3200}'

looking for the domoticz logs in docker.

nl2rma commented 2 years ago

hmm, found a log message in domoticz logging that helped:

zigbee2mqtt: Alias for handling contact(endpoint: n/a) feature of device 0x00xxxxxxxx already exists in plugin configuration but Domoticz logical device with ID 0x00xxxxxxxxx(unit: 1) is not found. If you have removed device and want plugin to recreate it, please remove alias from configuration as well.

Didnt have an idee where to remove the device at first. Removed the device from zigbee2mqtt via the Plugin configuration tab, restarted Domoticz, and the features where created. I don't know why they were not created before, but it works now....