I'm trying to migrate from zigbee2mqtt plugin to zigbee (mqtt) auto discovery. It seems to work well for most devices I have but fails on selector devices. I have Xiaomi Opple 2 band (WXCJKG12LM), Xiaomi Smart Switches (WXKG11LM, WXKG12LM).
Using zigbee2mqtt plugin I get working selector devices but with auto discovery I get a separate device for every state (off, single, double ...) as a push button. The worst thing is that these buttons aren't even working (Error sending switch command, check device/hardware).
Searching the forum, I can see that more people had (or have) the same problem but I cannot find what the current status is. Does anyone know?
Zigbee Auto Discovery status for selector devices?
Moderator: leecollings
-
- Posts: 145
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Zigbee Auto Discovery status for selector devices?
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 145
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Zigbee Auto Discovery status for selector devices?
No reaction so I guess status is unknown. Will have to stick to the plugin then since that is working.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 4
- Joined: Monday 19 May 2014 12:14
- Target OS: Linux
- Domoticz version: 2024.4
- Contact:
Re: Zigbee Auto Discovery status for selector devices?
I also moved from zigbee2mqtt plugin to zigbee (mqtt) auto discovery. The WXKG11LM pushbutton swich now appears as 4 switches (action_single, action_double, action_release and action_hold) in Domoticz. In the zigbee2mqtt plugin it appeared as one switch with the 4 states in treh device action field. This was much more convinient in the DzEvent scripts
Looking in the zigbee2mqtt frontend I see one switch with signle,double, release and hold as data of the action field.
Looking in the zigbee2mqtt frontend I see one switch with signle,double, release and hold as data of the action field.
Running Domoticz 2024.4 on Intel NUC5CPYH Ubuntu Docker
Hardware: RfxComm, Zigbee2MQTT - Conbee, P1 interface usb
Hardware: RfxComm, Zigbee2MQTT - Conbee, P1 interface usb
-
- Posts: 20
- Joined: Saturday 21 March 2020 15:25
- Target OS: Windows
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Zigbee Auto Discovery status for selector devices?
Hello,
I have the same problem.
The selector with zigbee2mqtt, I had choice (in red in my picture) and now with Autodiscovery, new pushOn buttons are created. (others buttons on my pictures)
I have the same problem.
The selector with zigbee2mqtt, I had choice (in red in my picture) and now with Autodiscovery, new pushOn buttons are created. (others buttons on my pictures)
- Attachments
-
- selector.PNG (78.52 KiB) Viewed 567 times
-
- Posts: 20
- Joined: Saturday 21 March 2020 15:25
- Target OS: Windows
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Zigbee Auto Discovery status for selector devices?
I want to use my Xiaomi Switch to control my home alarm.
One Click to start for exemple and double to stop.
I tried to use event (Blocky), created a Dummy (Switch) and nothing happens.
Do you have a solution ?
One Click to start for exemple and double to stop.
I tried to use event (Blocky), created a Dummy (Switch) and nothing happens.
Do you have a solution ?
- Attachments
-
- issue_mqtt.png (69.81 KiB) Viewed 552 times
-
- Posts: 20
- Joined: Saturday 21 March 2020 15:25
- Target OS: Windows
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Zigbee Auto Discovery status for selector devices?
I found a solution with a blocky script :
If that could help someone laterWho is online
Users browsing this forum: No registered users and 1 guest