SmartThings Community

Xiaomi Aqara light switches - no neutral required?


(Paul) #1

Came across these in another thread (off-topic from the main thread), thought I’d post here as may be of interest and I’m selfishly interested if one of you guys wanted to have a look and feedback :slight_smile:

Xiaomi appear to have added some Zigbee switches to their product line recently. The community have had some good success getting Xiaomi:

  • temp/humditysensor
  • contact sensor
  • cube (7 button remote)
  • motion sensor
  • appliance plugs

working, often by trial and error. The kit is well made, cheap and it generally looks very good (the motion sensor is tiny). If you’re interested in that have a look here:

Anyway back to the the switches. @KellyDarren pointed me at these:

There’s more detailed information here:
http://files.xiaomi-mi.com/files/aqara/aqara-EN.pdf

There’s a battery powered and a mains powered option. The reason for posting here is because I believe the wired version might be of interest to us here in the UK. It looks like it requires no neutral.

So if anyone has looked at these, intends to, or has any comments let us know!



edit: more images here: http://xiaomi-mi.com/smart-home/xiaomi-aqara-smart-light-control-set/


Xiaomi Aqara Switch Great Deal no DH?
Domoticz + rfxcom + z-wave + zigbee
Xiaomi Zigbee Door/Window Sensor, Motion Sensor, & Smart Button Device Type [beta]
(HONGTAT TAN) #2

Yes. You are right, it doesn’t require neutral and is stateful. This is a push button switch and would be awesome if it has a on/off light indicator on the physical switch.

I have it integrated with ST via home-assistant.io (MQTT) / Xiaomi Gateway.


(Paul) #3

So it’s not paired directly with ST?


(HONGTAT TAN) #4

No. It isn’t. I haven’t tried pairing directly and I believe it requires a custom DTH to work.


(Paul Ockenden) #5

Does it fit a standard UK back box?


(Paul) #6

I need to get my hands on one and have a look.

The images here certainly indicate it would fit a standard back box.


(Darren) #7

@hongtat when you say push button, those that mean its like a door bell ie the button goes in and straight back out?


(Darren) #8

@PailOckenden there seems to be two types of backs to these. One claims to be a european back but round, which may suit all countries outside the british isles.


(HONGTAT TAN) #9

Yes. It’s like a door bell type switch.

It’s a 86x86.


#10

Has anybody tried these wall switches yet?


(Darren) #11

@PBrain, no one has mentioned that they have tried them in ST and AFAIK there is no public available DH. They have been used with Home Assistant and the User was happy with these switches.


#12

Yep this was what I had assumed. However, given that various invididuals have been furiously working on DHs for all the other Xiaomi devices…I Just wondered if we were any further forward with the wall switches…


(Niclas Walter) #13

I got mine yesterday. But the problem is I have a round hole and the Aqara is square. I hoped that it would fit either way but it did’nt, Kept it hanging out and plugged it in, ST dont recognize it as a thing. Did’nt waste to much time on it, so dont know if it works with a device handler or not.


(Darren) #14

@Niclas_Walter, there are two versions the round one and the square one, perhaps they just sent you the wrong one.!!!


(Darren) #15

@aronteh in this thread Xiaomi Aqara Zigbee Switch DTH--help needed is attempting to build a DTH for the switch, but is looking for assistance.


(Luca Mocci) #16

I do not know if it can be useful, but I found this to allow connection with several xiaomi deviceshttps://github.com/aholstenson/miio


(David Jackson) #17

I received one QBKG04LM switch from AliExpress, it will not pair with the hub and does not show up as a thing. However the hub is seeing the switch and capturing on/off events in the IDE live log when the switch is pressed. For some reason the Hub IDE log reports the events back against “Smart Connect TV”.

I have tried several device handlers with no success, heres what the log is seeing.

79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:07:25: debug non-TV event on/off: 0
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:07:25: debug non-TV event on/off: 0
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:06:34: debug non-TV event catchall: 0104 0000 01 01 0100 00 B785 00 01 115F 0A 01 01FF42296410016510006E20016F20FF0121E40C03281D05210900082112260A2100009923000000009B210000
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:06:22: debug getChildDevices(false), children=1
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:06:22: debug getChildDevices(false), children=1
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:06:20: debug non-TV event on/off: 0
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:06:20: debug non-TV event on/off: 1
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:01:22: debug getChildDevices(false), children=1
79275e41-6654-4a22-9aa5-3c0ae7cae15a 21:00:56: debug non-TV event catchall: 0104 0000 01 01 0100 00 B785 00 01 115F 0A 01 01FF42296410006510006E20006F20FF0121E40C03281D05210900082112260A2100009923000000009B210000
79275e41-6654-4a22-9aa5-3c0ae7cae15a 20:56:26: debug non-TV event on/off: 0
79275e41-6654-4a22-9aa5-3c0ae7cae15a 20:56:25: debug non-TV event on/off: 0
79275e41-6654-4a22-9aa5-3c0ae7cae15a 20:56:22: debug getChildDevices(false), children=1
79275e41-6654-4a22-9aa5-3c0ae7cae15a 20:55:10: debug non-TV event catchall: 0104 0000 01 01 0100 00 B785 00 01 115F 0A 01 01FF42296410016510006E20016F20FF0121E40C03281D05210900082112260A2100009923000000009B210000


(Gavin Melling) #18

Just wondering - how have you tried different device handlers if it won’t pair as a Thing?

There’s probably a reset method for it, have you tried switching it on and off 5 times?


(Roy) #19

Have you taken a look at this, now you have the CatchAll?

You should be able to add it manually through the IDE. I did that with my first Xiaomi buttons, worked a treat, And still connected.


(Darren) #20

A DTH was created for these switchs, see this thread Device Handler for Aqara Wired Wall Switch