Xiaomi Aqara Smart Light Switch Wireless (single button)

Moderator: leecollings

Post Reply
madvisionz
Posts: 12
Joined: Tuesday 25 September 2018 12:38
Target OS: NAS (Synology & others)
Domoticz version: 4.10327
Contact:

Xiaomi Aqara Smart Light Switch Wireless (single button)

Post 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:
madvisionz
Posts: 12
Joined: Tuesday 25 September 2018 12:38
Target OS: NAS (Synology & others)
Domoticz version: 4.10327
Contact:

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

Post by madvisionz »

Nevermind, find the solution already with a LUA script.
Works perfectly.
paulie72
Posts: 5
Joined: Monday 08 October 2018 11:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
misko903
Posts: 51
Joined: Thursday 27 September 2018 22:58
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Trencin, Slovakia
Contact:

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

Post by misko903 »

gschmidt
Posts: 200
Joined: Thursday 20 December 2018 11:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest