Zigbee Auto Discovery status for selector devices?

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
Doler
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?

Post by Doler »

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?
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
Doler
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?

Post by Doler »

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
vgerwen
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?

Post by vgerwen »

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.
Running Domoticz 2024.4 on Intel NUC5CPYH Ubuntu Docker
Hardware: RfxComm, Zigbee2MQTT - Conbee, P1 interface usb
Bertone
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?

Post by Bertone »

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)
Attachments
selector.PNG
selector.PNG (78.52 KiB) Viewed 567 times
Bertone
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?

Post by Bertone »

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 ?
Attachments
issue_mqtt.png
issue_mqtt.png (69.81 KiB) Viewed 552 times
Bertone
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?

Post by Bertone »

I found a solution with a blocky script :
script_OK.png
script_OK.png (58.04 KiB) Viewed 536 times
If that could help someone later
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest