Danalock through Zigbee2MQTT and MQTT Auto Discovery
Posted: Friday 14 April 2023 8:34
Hello community,
I've been running Zigbee2MQTT with Domoticz version 2022.2 and would like to control my newly installed Danalock v3.
Danalock has successfully been detected by Zigbee2MQTT. I can also perform lock/unlock operations through the Zigbee2MQTT web interface and also status locked/unlocked/battery are displayed correctly. So, from ZigbeeqMQTT perspective, there does not seem to be an issue!
When I search for the device's "IEEE Address" in Domoticz, I find the following devices, which have been registered to Domoticz using MQTT Auto Discovery. Unfortunately, most won't work. Has anyone experience and can advise how to get at least lock and unlock to work?
action_source_name_zigbee2mqtt
=> Works! Logs events
action_user_zigbee2mqtt
=> Does not work. Not sure what it does
action_zigbee2mqtt
=> "action_lock". NOT WORKING. Shows error "Error sending switch command, check device/hardware (idx=xxxxx)" when pressed.
action_zigbee2mqtt
=> "action_unlock". NOT WORKING. Shows error "Error sending switch command, check device/hardware (idx=xxxxx)" when pressed.
lock_zigbee2mqtt
=> locked/unlocked sensor. NOT WORKING
Battery status seem to work!
I've been running Zigbee2MQTT with Domoticz version 2022.2 and would like to control my newly installed Danalock v3.
Danalock has successfully been detected by Zigbee2MQTT. I can also perform lock/unlock operations through the Zigbee2MQTT web interface and also status locked/unlocked/battery are displayed correctly. So, from ZigbeeqMQTT perspective, there does not seem to be an issue!
When I search for the device's "IEEE Address" in Domoticz, I find the following devices, which have been registered to Domoticz using MQTT Auto Discovery. Unfortunately, most won't work. Has anyone experience and can advise how to get at least lock and unlock to work?
action_source_name_zigbee2mqtt
=> Works! Logs events
action_user_zigbee2mqtt
=> Does not work. Not sure what it does
action_zigbee2mqtt
=> "action_lock". NOT WORKING. Shows error "Error sending switch command, check device/hardware (idx=xxxxx)" when pressed.
action_zigbee2mqtt
=> "action_unlock". NOT WORKING. Shows error "Error sending switch command, check device/hardware (idx=xxxxx)" when pressed.
lock_zigbee2mqtt
=> locked/unlocked sensor. NOT WORKING
Battery status seem to work!