OK, tried to reintall from github and now I have: /usr/bin/lua: /home/valiran/dtgbot/dtgbot.lua:133: module 'JSON' not found: no field package.preload['JSON'] no file '/usr/local/share/lua/5.2/JSON.lua' no file '/usr/local/share/lua/5.2/JSON/init.lua' no file '/usr/local/lib/lua/5.2/JSON.lua' no ...
Nevermind... A simple "http://IP_DOMO:PORT_DOMO/json.htm?type=command¶m=switchlight&idx=IDX_OF_LIGHT&switchcmd=Toggle" did the trick. Now each of my switch on my 2 gangs Aqara work like and old fashioned dual light switch and that's exactly what I wanted :D If light is off, a push put light on ...
Hello!
That still doesn't work, the selector stays on "Switch 1" for like 2-4 seconds, and during this time, the light blink because there are 2 actions on the button: on and off
Hello, Sorry to dig this, but I'm facing an issue with my dual wallswitch Aqara model WXKG02LM. I'm on rPi4 + ZigateDin. When I add the switch, it's defined as a selector with switch 1, switch 2, BothClick. Off is hidden by default. The problem I'm facing is that the switch stay un position. So when ...
Ok, it still doesn't work, BUT looking at the code of the page, I managed to find the "sendCode?key=...." sentence. Other thing that doesn't work for me is editing ini file. It doesn't save the modifications. Well infact it says it's saved but when I reopen it it's not modified. Had to scp-edit the ...
need to understand how it works now :) (tried a single IR remote : ok) need to find how create a on/off command with different IR/RF command now For a simple On/off switch in Domoticz, better create a dummy device and copy paste corresponding http command: Hello! Could you give the syntax of the ...