Page 1 of 1

Xiaomi Aqara Smart Light Switch Wireless (single button)

Posted: Monday 01 October 2018 13:51
by madvisionz
Hi all,

I recently bought a wireless switch with single button to control my HUE light or SCENE.
https://www.gearbest.com/access-control ... id=1433363

After added to Domoticz this device has a switch type "Push On Button" which only generates "On' in de datafield at every click (duuh).
I can turn on the light, but I'm stuck with turning the light off when it is on (and viceversa).
Tried several things, also with Off delay, but most of the time I'm getting stuck in a loop where the light is constantly turning on/off/on/off etc.
Found a instruction on how to configure the round version switch with switch type "selector" and actions Off,Click, Double Click and this is working in Domoticz, but not with the physical device itself. It seems that this physical single button switch doesn't support all those actions like the round version, it only supports one value when pushing the button.

Is there anybody that has this Wireless Aqara single button switch working for both turning on and off lights or other device?
If so, please share your config. :oops:

Re: Xiaomi Aqara Smart Light Switch Wireless (single button)

Posted: Tuesday 02 October 2018 20:21
by madvisionz
Nevermind, find the solution already with a LUA script.
Works perfectly.

Re: Xiaomi Aqara Smart Light Switch Wireless (single button)

Posted: Monday 08 October 2018 11:24
by paulie72
Could you tell me which lua script you used because i have same issue and do not find a solution to solve this.

Re: Xiaomi Aqara Smart Light Switch Wireless (single button)

Posted: Monday 08 October 2018 15:04
by misko903

Re: Xiaomi Aqara Smart Light Switch Wireless (single button)

Posted: Thursday 20 December 2018 15:39
by gschmidt
Hi,

Does (Raspberry Pi) Domoticz recognizes the "Xiaomi Aqara Smart Light Switch Wireless" hardware out of the box or do I need other hardware (like zigbee controller)?

Greetzzz,

Gerben