Great, thanks!
[OBSOLETE] Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)
(Original Xiaomi Button) Thank you to all that worked to get the button working on IOS. it works now as intended. I find setting it as momentary works nicer.
Yay! Nice job @tmleafs!
Well, @a4refillpad sort of fixed the colors. ā¦and if I moved the right levers in github, I just pushed/pulled/or something the second color change to him.
Someone will have to forgive me if I push where I should be pulling.
Hello @Luke1
So the @a4refillpad repository has not been āactiveā in almost a year (last merge done in February 2017). Brian, @ArstenA has his own fork at https://github.com/bspranger/Xiaomi which is where weāve been doing some updates. - and btw, welcome! This is a really cool group that welcomes collaboration!
Alec
Thanks Alec. I guess Iāll scoot my butt over and plug in the bspranger DH and see how it goes. There was something I didnāt care for about it last time I selected it, but that may have changed by now.
Thanks to everyone for being nice and patient. I agree this group seems to respect that not everyone likes things like they do, and tend to roll with things that make the DH better.
Thanks again for helping the light bulb shine a little brighter above my head so I can see better.
Luke
Hi All,
Thanks to all working on the DH, Iāve only just started testing, moving my devices from the Xiaomi hub and current Domoticz system.
Couple of questions regarding the Xiaomi buttons (not aqara),
With the held option it still doesnāt seem to register the hold until after the button is released, this feels unnatural to me, is it possible to have the hold registered after X seconds while the button is still being pressed?
I noticed there is a SmartApp for adding actions for double clicks, but is this something that could be added to the DH?
Domoticz has click, double click, long press and long press release, I never found the last option useful, but used the first 3 regularly, so just looking to mimic those functions.
Iām just using the current switch as a toggle to control a light via the Smart Lighting App and it seems to work fine, just wondering where to toggle option might be needed?
Thanks,
Wob
Using the device handlers in this thread (thanks ArstenA) I have managed to get 2 Xiaomi motion sensors installed and working however theyāre not reporting luminance. Iām not seeing anything in the live log to suggest that the sensor is returning a message when luminance changes. Does this mean that Iāve either bought a version that doesnāt have that function or theyāre faulty?
Luminance will not report on change. It only reports luminance when it reports motion.
Thatās the way they work Iām afraid.
Thatās fine, I simply want to use it to determine whether to switch the lights on when someone enters the room. I presume the tile displaying - - is supposed to be luminance in which case itās not reporting it with motion either.
ETA; a bit more research and I think Iāve answered my own question. According to the specs on the Xiaomi Mi website the āXiaomi Mi Smart Home Occupancy Sensorā doesnāt support luminance but the āAqara Human Body Sensorā does. Looks like Iāve bought the former Will have to order the latter.
(Original Temp humidity) Something is wrong with the latest update. I went to update in IDE and received error.
@tmleafs already has a pull out to fix it⦠meanwhile since it canāt update it canāt break anything
Yes I understand that, just waiting.
So my wife is getting fairly used to these sensors all over the place and gets there purpose. I asked her if she had any ideas⦠fresh pair of eyes on the situation etc. She actually came up with a feasible suggestion⦠an open/close sensor on the toilet seat so I get a text/alert every time itās left in the up position. Not sure if Iām keen to impliment.
Just remember the battery eventually needs replacing. Not a job Iād want!
How did you get it working with webcore? It asks you for a button number. I didnāt select any. Cannot get it to work but see the toggles on the live logger.
Is the Aqara button working? I canāt get it to fire a webcore piston on a button press event. It seems that it only sends released anyways, so will it not work as is with webcore?
I am not sure what you want, but I use my button like this.
execute
if
East Sideās temperature was less than 16°F for less than 25 minutes
- add a new condition
then
with
Bedroom Button
do
Push; - add a new task
end with;
end execute;
Recent UPDATES to all Xiaomi Device Handlers in the bspranger/Xiaomi GitHub repository:
-
Battery Changed date reset has been moved to the settings page
Flip the toggle, press āSaveā and the date displayed for Battery Changed will update to the current date. This is helpful for tracking how long your batteries last before they need to be replaced. Thanks to @tmleafs for implementing this change. -
24 hour clock option added in the settings page
User @cscheiene requested this, and after checking I found that SmartThings does not provide a global setting to display any time stamps in 12 or 24 hour clock format. So Iāve added this feature.
Example screenshots:
(Click the gear icon to access the setting page)
Many thanks again to @ArstenA for hosting the device handler repository and for all his support!
Should we try to get the magic cube added to the Xiaomi DHs?