[RELEASE] Xiaomi Aqara Mijia Sensors and Switches Driver

@hubitrep Thank you for the response - I was able to get it working with that driver. I had to remove the device and reconnect by choosing device type (switch) and then the generic zigbee driver.

Once I did that, it's working perfectly.

I'll echo your sentiment on the battery devices. I have a bunch of their contact switches and they're working swimmingly. Really happy with them.

1 Like

the wheather sensor (humidity /pressure/ temperature) sensor lately
becomes unpresent in one or two days

Frustrated at my Aqara motion sensors not staying connected to my HE hub, nor my HaaS, I've yanked them all. At least on my HaaS they would stay connected for a month or two before dropping off. But I want something more stable.

I have 5 of them that I'd like to sell at $10 each, plus shipping. Anyone, that has had success with these, interested?

The success with the older generation of Xiaomi/Mija/Aqara motion sensors mostly depends on the Zigbee repeaters that these devices use to communicate with the Zigbee coordinator.

Do you have any Zigbee bulbs paired directly to HE hub, that are possible to be turned off from a mains switch?

1 Like

I do not. I purposely bought a few CentralLite outlet modules to place around the house with the primary purpose to act as a repeater. And use them in the holiday times as timers. But this had no impact.

Are your CentraLite outletls some of those models ?:
image

You can review again this writeup - although it was written 5 years ago, it is still actual :

2 Likes

4200-C according to my device details.

If you search this forum for "4200-C", there are 49 results and some of these may be related to 4200-C compatibility with Xiaomi/Aqara devices. I don't have any Centralite devices, so I can't comment.

1 Like

I could not keep Aqara contact sensors on my mesh until I added SonOff USB dongle Zigbee routers. For me that seems to have solved my problems with the Aqaras falling off the mesh. I don't use any other Aqara devices.

It's only been a few months, but so far so good.

3 Likes

Do you have a link or model number? I'm hesitant to buy more to hardware to keep these on the mesh, but if it works, and for long term, I could then shut down my HaaS Docker. Which solely exists for these Aqara sensors.

EDIT: I actually own one of those adapters, but it is connected to my HaaS. Do you have it plugged in and running on your HE? What about your native ZigBee radio in the hub?

I have them plugged into a wall wart USB charger, and it works as a repeater for my Zigbee mesh. You have to flash them... Details in the link above.

Just checked my dates and the Aqara contact sensors have been solid for three months.

2 Likes

I have lots off aqara sensors and ikea repeaters all working fine for 2years+. Since a couple of months I am adding 4 tuya thermostats one by one and now having issues since I connected the last device, mayby a faulty hardware or maybe all those devices make the reputation true not using the zigbee standard correct.

Can the SonOff be flashed back? I suppose I could use the one I have, but that would take those contact sensors that are working offline. And I'd be temporarily stealing from my HaaS.

I've only flashed one-way so far, but I see no reason why it could not be flashed back. Pinging @aaiyar, my SonOff Dongle Jedi Master. :slight_smile:

1 Like

Yup, you can go back and forth.

1 Like

I shutdown my HaaS and flashed the SonOff to be a repeater. I moved all my Aqara contact sensors back to HE and re-added the Aqara motion sensors that were pulled, and ready for sale.

Two of my five motion sensors fell off, but in their defense, they didn't fully join correctly. The "Device Name" never popped up before the Zigbee inclusion finished. One of my contact sensors fell off too. This contact sensor did time out but a second or two later I got the Device Name box. I have factory reset the sensors and re-included them. It's a waiting game at the moment.

Couple of questions.

  1. Is there any way to know that devices are relaying through the repeater? I haven't been able to see anything.
  2. What is the ideal place for this repeater? It's currently sitting about 4 feet away from my HE. I want to center it in the house, at my ceiling of the first floor. But is there a better spot?

If you're lucky you might see it here : http://(your hub ip)/hub/zigbee/getChildAndRouteInfo

I have one contact sensor that disconnects some time during the night, every night. Every day I factory reset it, start the ZigBee inclusion and it discovers the sensor. I don't remove it from the hub so it retains any app/rule configs. Any tips or tricks to help keep this one contact sensor online?

This sounds like a range or interference problem. Do you have a Zigbee repeater device nearby? If not, I would consider getting a cheap Tradfri plug from Ikea, setting it up somewhere near the sensor in question, and then factory reset and re-connect the sensor.

I flashed my SonOff to be a router and it is somewhat nearby. Through maybe 2 walls, but about 12-15 feet if you drew a straight line. There is a CentralLite outlet in the same room too. I also put a spare Aqara contact sensor in the same room, 1 foot away from the current one, and it hasn't gone offline....yet.