
and at a certain speed (determined by the above temperaturelogic), Its all about being comfortable without having to think about it… or adjust it… problem is… im always thinking about how to improve it. and the fan turns off… i better run… so ive already added in, keep the fans on. that I set proper fan speed… and if my wife is on the couch comfy. So now im dealing with… if motion and time of day, someones home and the temperature is in a certain threshold along with the target temp being close.

last month or so I’ve added thermostat, and 2 ifan03s in the ceiling fans… Im current dealing with a not so happy WAF from the past year of learning all this, my whole house is on motion and lights.

and toss in a trigger node, which will extend the delay on tiggered, and then even a waiit untill node… options are endless

Start a timer when the motion detector turns off… and if any time while the timer is running, it turns on, then reset the timer. You might be able to improve on the logic of that, with say, node-red. it’s pretty easy to detect if someone is sitting on the toilet or even deduce what kind of business they are conducting.ĭetecting presence in the bathroom is one of the most complex combination of automations in my setup, there are so many variables and use cases you have to think of … To see if the toilet is occupoied i use another time-of-flight sensor, that measures the distance from the ceiling to the toilet bowl. unfortunately the time-off-flight sensor based people counter is also irritated by steam, so if humidity is rather high in the bathroom, i fall back to the dopple motion sensor. Recently i switched to a people counter sensor (modeled after this), that works like a regular and advanced photo sensor (or photo electric barrier) and that i use for initial ocupancy-detection (further movements are detected by the doppler motion sensor, to not run into the 2 minute timeout to turn the lights off again). To minimize false positives i build logic in HA to only mark the bathroom occupied, if there was motion in the hallway first.

bbut the doppler sensor works much better than a PIR sensor, which is irrritated by steam (from the shower) or the heater. this detects almost every motion in the shower, on the toilet and unfortunatly also sometimes in other rooms (doppler radar motion sensor can see through walls). I use a doppler motion sensor ( like this, connected to an esp8266) mounted in a suspended ceiling.
