[OBSOLETE] Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)

Great, thanks!

(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.

2 Likes

Yay! Nice job @tmleafs!

1 Like

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. :slightly_smiling_face:
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 :cry: 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 :smile:

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.

2 Likes

:laughing:

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!

4 Likes

Should we try to get the magic cube added to the Xiaomi DHs?

1 Like