Search found 4 matches

by tarantino
Saturday 11 April 2020 22:36
Forum: Switches and Scenes
Topic: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode
Replies: 6
Views: 921

Re: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode

azonneveld wrote: Friday 10 April 2020 8:24
tarantino wrote: Monday 06 April 2020 9:38 I modified _init_.py, made my own QBKG04LM.py
Please post your modifications to the github page, so this could be included in the releases: https://github.com/Koenkk/zigbee2mqtt
Already done and new version of plugin supports all switch modes :!:
by tarantino
Monday 06 April 2020 9:38
Forum: Switches and Scenes
Topic: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode
Replies: 6
Views: 921

Re: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode

I found the reason of the problem - there is an error in zigbee2mqtt plugin. It has no separate QBKG04LM.py and using it just as a simple switch, without decoupled and wireless modes. I modified _init_.py, made my own QBKG04LM.py and got my wireless mode clicks in Domoticz! Now I think I have to ...
by tarantino
Sunday 05 April 2020 17:48
Forum: Switches and Scenes
Topic: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode
Replies: 6
Views: 921

Re: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode

commandArray = {} for deviceName,deviceValue in pairs(devicechanged) do if (deviceName=='AgaraSwitch') then if deviceValue == "On" then commandArray[#commandArray + 1] = {['LivingRoomLights'] = "On"} elseif deviceValue == "Off" then commandArray[#commandArray + 1] = {['LivingRoomLights'] = "Off ...
by tarantino
Sunday 05 April 2020 16:43
Forum: Switches and Scenes
Topic: Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode
Replies: 6
Views: 921

Aqara wired wall 1-button switch (QBKG04LM, no neutral) decoupled mode

I'm using RPi with cc2531 and cann't add this switch to Domoticz correctly. Found the way to enable decoupled mode through json commands and MQTT Explorer now shows "release" and "hold" states, but in Domoticz I only can turn on and off it as a relay, but so far didn't find the way to use it as ...