Xiaomi vs Aqara door/window sensors

Ok so my next question is, is there a way to get just opens and closes to show in the “Recent” tab when looking at the device in the ST app? Everything is showing in there, last open, last checkin, etc. every time the sensor opens or closes. It would be nice to see it like the ST sensors where just a list of openings and closings is listed there. I’ve also noted that it seems as though as others have said once you get through the first few checkins it stays paired and reliable. So far I’m testing the Aqara contacts on a regular door, roll up style garage door and sash style windows that slide up and down to open/close.

Does anyone have any advice on the motion sensors? I want to probably add those in as well. How do they work with a 95lb / 43kg dog running about in the house? I imagine I’ll have to deactivate them if he’s home and we’re not? And do you have a link to them on GearBest? I looked but I’m not seeing a small nice form factor like the ST branded motion sensors.

Do the sensors you’re using look more rounded, like this: window sensor|150
or are they more squared off?

It’s strange that there’s a zcl global write command error because that it’s not in bspranger’s Aqara door/window sensor DH code at all. However it is part of the code for the “original” xiaomi door/window sensor DH.

The {null} part of that error tells me that the ZigBee ID for that sensor is unknown, either because it didn’t pair properly, or the “catchall” method was used to add it as a device.

If it’s an Aqara sensor, it can be paired and recognized using the “Add a Thing” method in the ST mobile app, and that would assign the sensor’s ZigBee ID to the added device on the hub, which may resolve the error.

Either way, the refresh button does not update battery status.

Also - if you are indeed using Aqara sensors, then you can push the “reset” button at the bottom of the sensor itself to get an instantaneous battery status update. I came up with some new code to add that feature to the DH and bspranger rolled it in about a week and a half ago. Make sure it’s a “quick” press of the button, not long press.

I have started an all inclusive thread for the Xiaomi Zigbee sensors. Please refer to this thread.

To help maintain support of these devices I ask that you start communicating on the thread above. Please stop further useage of this thread.

1 Like

Hi ArstenA I’m having great difficulty in adding the DH. I’ve tried copying and pasting yours and a4refillpads codes and always get an error that wont let me add the DH. Any advice would be greatly appreciated as its driving me mad