Включил опцию для следующих выключателей:
QBKG03LM
QBKG04LM
QBKG12LM
QBKG11LM
Но на последних двух, опция не тестировалась.
В принципе в описании z2m вроде написано, что должно работать:
Decoupled mode allows to turn wired switch into wireless button with separately controlled relay. This might be useful to assign some custom actions to buttons and control relay remotely. This command also allows to redefine which button controls which relay for double switch.
Special topics should be used:
zigbee2mqtt/[DEVICE_ID]/system/set to modify operation mode.
Payload:
{
"operation_mode": {
"button": "single"|"left"|"right",
"state": "VALUE"
}
}
Values Description
control_relay Button directly controls relay (for single switch)
control_left_relay Button directly controls left relay (for double switch)
control_right_relay Button directly controls right relay (for double switch)
decoupled Button doesn’t control any relay
zigbee2mqtt/[DEVICE_ID]/system/get to read current mode.
Payload:
{
"operation_mode": {
"button": "single"|"left"|"right"
}
}
Response will be sent to zigbee2mqtt/[DEVICE_ID]:
{"operation_mode_right":"control_right_relay"}