I’m pretty new to Home Assistant. I just had a few gadgets here and there but now i want to do it all! I have a reasonable budget but not too high.
I set up a Server with a Docker Host with Home Assistant, Mosquitto and Unifi so far.
I really like the Xiaomi Sensors because they’re cheap and seem to work pretty good but i want to have my own ZigBee Base for it.
Regardless BTT. My Question is how the Sensors especially the Aqara ones detect motion. If i sit still on the toilet for 10 mins (happens) and the lights turn of like it is at the moment with my hard wired motion sensors (cuts power to light if there is no motion) it’s pretty stupid. But if i just reach in to the closet in the bathroom to get the window cleaner, boom 15 mins. light on. It’s all LED so the power cost isn’t that much of a problem but it still annoys me.
Is there sth like a presence detection which not only senses motion but for example body heat?
So that it can turn of the lights maybe 5 seconds after i leave the room?
Thanks in Advance
Oh and thanks for all the people helping and giving tipps. I have been lurking for quite a while now to get tipps and infos.
for some reason i didn’t think about looking into the wikipedia article.
So probably an active sensor would be the solution…
The normals smart home market doesn’t seem to offer Active Sensors as far as i can see
But now seriously…
Your bathroom is very likely to have a door … From Xiaomi there are good door and window contacts. Use the PIR sensor to turn on the light and turn off the light by using the door and window contact.
Sorry is just an answer for fun, the solution is already there …
I’m a big fan of the xiaomi sensors too. After two years with Hass.io, I’ve gotten loads of stuff like this dialed in. I’ve tried connecting the xiaomi sensors to Smartthings hub but that was a bit too slow, then I tried DeConz, but deconz kept dropping them, so I’ve been cutting them over to a xiaomi hub.
For the bathroom logic, I’ve got 3 xiaomi sensors, motion, humidity, and door contact that control the majority of the bathroom logic. You can use logic and conditions to dial things in pretty well. The motion detector is a binary on/off, and I think it stays on for 45 seconds then switches back to off, unless it detects motion again. (Not 100% on that 45 seconds, might be 90) You can use this on/off window to your advantage. If the motion goes from on to off after 50 seconds, then it’s likely a quick pop in, and you can turn the lights off. If the motion detector takes longer than 50 seconds to go off, I’m likely doing something in the bathroom, so delay off until 5 minutes after last motion. If the door closes after motion, I’m likely pooping, and so the lights shouldn’t turn off until the door opens again. If the humidity spikes, (you can use a trend sensor to capture humidity spikes) then switch on a “shower mode” binary sensor, that disables the motion light connection, until humidity drops in the other direction, which indicates out of the shower, and turns off the “shower mode”, which allows the motion/light connection to return to normal. You can really nail it down with presence detectors, bed occupancy sensors, and the workday sensor. I try to avoid custom sensor builds, because building custom means a lifetime of maintaining custom - and hass.io is always changing, so things do break.