Howto learn a switch with 4 buttons as 1 switch

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

Moderator: leecollings

Post Reply
sunlight
Posts: 3
Joined: Wednesday 03 November 2021 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Howto learn a switch with 4 buttons as 1 switch

Post by sunlight »

Hello,

I have a switch with 4 buttons and every button has 3 functions. Can i config this switch as 1switch in autodiscover? Now it makes for every funktion (1 puls 2 pulses and hold) a different button in zigbee. With the old zigbee plugin it was seen as 1 switch with 12 functions.

switch is a Tuya 4-button Scene Switch

Thanks
sunlight
Posts: 3
Joined: Wednesday 03 November 2021 15:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Howto learn a switch with 4 buttons as 1 switch

Post by sunlight »

Its a Tuya 4 button switch TS004F. Still no luck. Hopefully someone can help with the right sollution.
User avatar
waltervl
Posts: 5900
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Howto learn a switch with 4 buttons as 1 switch

Post by waltervl »

I am not using MQTT Autodiscover but I dont think this gateway is able to merge separate switches in one selector switch like the plugin does.

You could think of using Zigbee4Domoticz python plugin (and get rid of Zigbee2MQTT) but this will be some work only for some small enhancement.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest