[OBSOLETE] Xioami Zigbee Door/Window Sensor, Motion Sensor, & Smart Button Device Type

For those who are still puzzled of how to add your xiaomi sensors into ST, you can refer to http://mygooglehomes.blogspot.sg/2017/06/adding-xiaomi-sensors-into-smartthings.html

7 Likes

All my motion and buttons dropped off my V2 hub today at 2:38pm EST. A quick push of the reset button on each brought them back. Not sure what happened as everything else seems to be fine.

Thanks a lot for such an elaborate explanation! sorry for the late response

1 Like

Ok this sucks. This morning all my Xiaomi devices again were not responding. Getting them online is a simple poke of the reset button. All went offline in about an hour window between 2:30-3:30am.

Hub event logs shows something weird happened, the Hub update also happened according to the logs yesterday at the same time I lost the same devices. . An 14 more zigbee devices rejoined in the following 2 minutes. Anyone have any clue what happened?

2017-06-21 3:41:41.257 AM EDT 6 hours ago HUB zbjoin: {"dni":"2A52","d":"000D6F000A92FCB2","capabilities":"8E","endpoints":[{"simple":"01 0104 010 zbjoin: {"dni":"2A52","d":"00... zbjoin: {"dni":"2A52","d":"000D6F000A92FCB2","capabilities":"8E","endpoints":[{"simple":"01 0104 0100 00 08 0000 0003 0004 000... 2017-06-21 3:41:41.104 AM EDT 6 hours ago HUB hubStatus zw_radio_on 2017-06-21 3:41:41.099 AM EDT 6 hours ago HUB hubStatus zb_radio_on 2017-06-21 3:41:41.094 AM EDT 6 hours ago HUB hubInfo hardwareID:000D, version:13, ... hardwareID:000D, version:13, mac:D0:52:A8:63:36:9A, localip:192.168.0.136, localSrvPortTCP:39500, localSrvPortUDP:0, zigbeeFWM... 2017-06-21 3:41:41.075 AM EDT 6 hours ago HUB ENTITY_UPDATE HubUpdated Hub 'House Hub' updated

thanks for the link. great blog. hopefully there are more posts

Any update available for the battery info New version ?
Thx

3 Likes

Is there a way to invert ONE of the door sensors (so it shows closed when the two pieces are apart, and open when they are together)?
I only want to invert one of the 10 or so sensors ā€¦

You could modify the device handler that you are using and save it as a new device handler.
Then only apply that new device handler to the device you want to invert.

2 Likes

@Rave What DH are you using for the Aqara Switch?

1 Like

FYI - I have added some support for Aqara sensors.

I have also fixed an issue in the temp sensors when they go below 32 degrees F/0 degrees C.

find the code here:

What is everyone here using for DHs?
I have been using these sensors for a while and just found this thread.

1 Like

Thanks to your personal DH for Aqara Door Sensor, the battery status is changed from 0% to 100%,

In other hands,
Do you have a DH for Xiaomi Aqara Motion (human body) Sensorā€™s Battery Status ??

I do not own one so I havenā€™t seen the data to know what to look for.

If you are able to send me a log of the catch all data I might be able to figure it out.

Now iā€™m using the DH of a4refilpadā€™s xiaomi motion sensor. And here is raw description
[rawDescription read attr - raw: 57F40104060800001801, dni: 57F4, endpoint: 01, cluster: 0406, size: 08, attrId: 0000, encoding: 18, value: 01]

And here is the another xiaomi aqara motion senor catchall which is not registered yet
[catchall: 0104 0000 01 01 0000 00 129F 00 04 115F 0A 01 01FF42210121EF0B03281E0421A80105210600062400000000000A21A5A66410000B212C00]

The battery info. is showing 0%ā€¦

I just created a new device handler for the aqara motion. I am not sure if I got the correct byte or not. Please update from github and try it.

If you can send me what the in and out clusters are I can try to get the identity correct for the DH.

Thanks, but, the DH can not be updated with this message [ Updated 0 devices and created 0 new devices (1 skipped due to errors) ] from Repo. Of course, i tried it, too, after delete a4refilpadā€™s xiaomi motion DH

How can I change the frequency of temperature reporting? Right now it seems to update every hour, I would like to change it to every 15 or 30 mins

Hi @BigBipin23

You have a few options.

  1. Polster community app.
  2. CoRe piston which can do same.
1 Like

This should import now. Sorry about that.

Thanks again! Itā€™s solved. Battery is showing 100%, now.

I think you are genius itā€™s solved in few hours.

Iā€™m looking forward more aqara DH (for example, Aqara wired wall switch ) is made by you.

Thanks again

well I have figured out some more with the data from the sensor. It appears the data byte I am looking at is wrong. But I do not know what the correct byte actually is yetā€¦