[OBSOLETE] Xiaomi Sensors and Button (beta)

My view also, the QA section and other listings I have read confirms that that it works stand alone. Would have been a great night light and motion sensor otherwise.

Great news Tom! Thank You!

I am also seeing the checkin pretty much exactly on the hour. With the few exceptions (depending on the last activity or time of pairing/activation) where it may actually add a minute to each hour, assuming this is just as it is rounding up the last minute.

@a4refillpad using your DH from github for the xiaomi button. finding that there is never a button event only a lastpress event when the button is pushed. is that to be expected or should there be a button event instead/as well?

thank you for your work on the DH.

@bangali try the DTH at:

@Terk thank you. looking at the DH, seems the battery reporting is commented out? Does this DH support battery level and display it in the device screen for the app as well?

thanks again.

@Terk looking at the DH, seems the thinking is Aqara buttons dont report batterylevel? I checked the logs for one my buttons with the current DH, this is what i found for the raw battery level.

21f977b9-e1ad-40f0-90fe-630cfab5f9e6 1:29:00 PM: debug Some Button battery was 216%
21f977b9-e1ad-40f0-90fe-630cfab5f9e6 1:29:00 PM: debug 216
21f977b9-e1ad-40f0-90fe-630cfab5f9e6 1:29:00 PM: debug Battery

The battery level was disabled in the DTH because it was returning incorrect results, I have multiple Button devices in ST and none of them report battery levels correctly.

So decided to try again with the xiaomi sensors, currently messing with a button, can get it to pair but seems to have a different net I’d every time?

So when paired nothing I do registers, if I delete the device I can see on and off in the hub logs, can’t see a net I’d in the hub logs though , so I can pair all the devices but they do nothing :frowning: any ideas?

If you reset the sensor can take a new Network ID. Especially if the device has been deleted. The Zigbee ID will stay the same though as this is a hardware address.

Weird things is i can pair them fine they just do not do anything, i wonder if ant other decice handlers are causing a problem, i even tried with my hue hub off?

Gonna completly reset my smartthings later and try again, as none of the Xiaomi bits i got work something is affecting them :frowning:

Once paired you will need the correct DH for the to function. did it auto select the correct one? What do you have it set to?

i have the original Xiaomi sensors, and buttons and use all the DH written by A4refillpad. All are unmodified.

Yea it loads the correct DH, execution location is “Cloud”, is that correct?

I installed the DH via GitHub repo and “update from repo”.

@Deanrwoods Is your button an Aqara?

No mine is an original Xiaomi, a round button.

Hi @chippie
I had a few comments with you a few weeks back about you losing you’re xiaomi devices, I still had all mine working , I’ve been on my hols and been having a catch up and seems your been online now.
So I guess that’s why mine were working and yours not as I have the ST outlet which I presume is connecting to these.
I’ll have to remember that :slight_smile:

1 Like

Hey Steve!

Hope you had a nice break!

It sure looks that way, that the outlet kept them alive.Not sure how much more you have read but they also reverted the zigbee radio back to what is was previously and now hopefully going forward ST will be able to keep them going with future updates. I think they now have a better understanding of what happened and what was changed to cause the issue in the first place.

I have a single outlet now which will remain connected in the loft so should the worst come to the worst hopefully the sensors will just hop on-board it.

Yeah cheers I did :slight_smile:
No I didn’t see that about the radio that’s good news.
I did read something a while back explaining repeaters.
It did say with zigbee once it connects to a repeater it stays with it till the death even if you move the repeater as far away as the signal allows and even if you have a newer stronger repeater closer , Only a hub reboot and powering of the repeater will force it to swap to a new one.
But with z wave it will auto connect to the strongest signal.
That may be all wrong but worth remembering if needed.

It’s the other way around. Zigbee devices may reroute based on signal strength. Classic zwave Devices have a fixed neighbor table which only gets updated if you run as a zwave repair utility. Which is why there is a zwave repair utility. :wink:

The newest Z wave devices can take advantage of what are called “explorer frames” which could help map new routes without waiting for the utility to run. But zigbee devices already had a similar ability. :sunglasses:

2 Likes

Ah right knew it was something like that :slight_smile:
Old age making me forget things :wink:
Cheers

1 Like

Rekon you need a holiday to get over it! :rofl:

1 Like