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!
Danalock through Zigbee2MQTT and MQTT Auto Discovery
Moderator: leecollings
-
- Posts: 23
- Joined: Friday 16 November 2018 17:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
- waltervl
- Posts: 5851
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
Zigbee2MQTT with MQTT AD issues are useless without the corresponding MQTT config and state topics. There is probably something here that is not supported yet in Domoticz.
Also please upgrade to 2023.1 as there are MQTT AD changes that possibly already fixed your issue.
Also please upgrade to 2023.1 as there are MQTT AD changes that possibly already fixed your issue.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 23
- Joined: Friday 16 November 2018 17:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
Thank you very much for your reply. I will upgrade Domoticz, but I am quite reserved about upgrades because sometimes depencendies like the underlying OS or for example also Zigbee2MQTT can cause problems. I usually upgrade everything and make backups and images before.
I was hoping that somebody has experiences with Danalock and Domotiz already.
I was hoping that somebody has experiences with Danalock and Domotiz already.
-
- Posts: 23
- Joined: Friday 16 November 2018 17:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
So, the update to 2023.1 did NOT do the trick. So as a workaround I will switch remotely using the Zigbee2MQTT Web If.
- waltervl
- Posts: 5851
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
Did you remove the related Domoticz devices from Domoticz and have them rediscovered?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 23
- Joined: Friday 16 November 2018 17:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
Yes, I removed Danalog from both Zigbee and Domoticz and re-registered everything. The only light improvement is that locked and unlocked state works. Maybe I can find a way to send a http command to Zigbee2MQTT Web If as a workaround and use a button in Domoticz.
- waltervl
- Posts: 5851
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
Did you get other errors when pushing the buttons?
It seems to be an issue in the config and state messages that are not yet compatible with Domoticz MQTT AD, without that information nothing can be changed.
It seems to be an issue in the config and state messages that are not yet compatible with Domoticz MQTT AD, without that information nothing can be changed.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 23
- Joined: Friday 16 November 2018 17:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Danalock through Zigbee2MQTT and MQTT Auto Discovery
The error message is generic: "Error sending switch command, check device/hardware (idx=xxxxx)"
Who is online
Users browsing this forum: No registered users and 1 guest