Hello All,
I have domoticz latest official build with MQTT Auto Discovery running on a Ubuntu box together with Zigbee2mqtt and mosquito. I recently updated my zigbee2mqtt install to the latest version in order to get more supported devices from the herdsman converters, and since then, one type of the zigbee sensors that I am using is throwing this error message when detecting a movement:
Error: MQTT General Zigbee: sending switch commands for switch type 'binary_sensor' is not supported (yet...)
It seems that Domoticz is trying to send a zigbee command to the device. Not sure why and not sure what I can do to avoid this error. I searched in the forum and didn't find any interesting information so far.
I didn't get this error prior to update zigbee2mqtt and I don't have this issue on other motion sensors.
Any idea from anyone? Is it a known issue?
Thanks a lot.
sending switch commands for switch type 'binary_sensor' is not supported
Moderator: leecollings
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: sending switch commands for switch type 'binary_sensor' is not supported
If you create a github issue, also mention this here
Quality outlives Quantity!
Re: sending switch commands for switch type 'binary_sensor' is not supported
I created a github issue and got an explanation on the issue.
- waltervl
- Posts: 5149
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: sending switch commands for switch type 'binary_sensor' is not supported
For future reference: The issue was because of an Off Delay that was specified on the Domoticz device (a Motion Sensor) that should not be done for this type of devices. It triggers an off command to be sent back to Zigbee2mqtt which then gives this error as it is not allowed for Motion sensors.
https://github.com/domoticz/domoticz/issues/5880
https://github.com/domoticz/domoticz/issues/5880
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
Who is online
Users browsing this forum: No registered users and 1 guest