it turns on a Sonos radio station via a speaker in the ceiling
Hi Andrew - can you elaborate on your Sonos speakers in the ceiling? I’m currently remodeling my new home and thinking of putting speakers throughout, in the ceiling, and something that will work seamessly w/ HA and/or Google home. And sound solid
Also to bring it back to this thread, original posters idea of a “discrete thermal camera” is a great one. I have a spare flir thermal sensor, thinking of throwing it on a pi, motion to throw out the mqtt events to HA. I’m surprised there isn’t a solution for this already? Or am I missing something?
Good Afternoon Kevin
Below is a couple of links to the speakers I use, they do individual speakers or a stereo speaker in one package. I use a stereo version as the shower room is quite small and they sound amazing and are connected to a Sonos Connect Amp. I have 4 mono units in the kitchen again connected to a Sonos connect amp. I used node red within HA to start the playing in the bathroom when it detects water flowing to the shower head or bath. You can get them cheaper than the links below and the cut out size is 211mm.
Hope this helps
Kind regards
Andrew
This is the stereo version
https://ceilingspeakerworld.co.uk/products/monitor-audio-c165-t2-in-ceiling-speaker-each?variant=12561940709399¤cy=GBP&utm_source=google&utm_medium=organic&utm_campaign=shopping&utm_content=Monitor+Audio+C165-T2+In+Ceiling+Speaker+(Each)&gclid=CjwKCAiAgc-ABhA7EiwAjev-jzA_nk7NhBs-oitdXMgNRRjLmbTHiLTO8JrgQKJxYqlcy9z1aEMxSRoCBTIQAvD_BwE
This is the Mono version
https://ceilingspeakerworld.co.uk/products/monitor-audio-c165-t2-in-ceiling-speaker-each?variant=12561940709399¤cy=GBP&utm_source=google&utm_medium=organic&utm_campaign=shopping&utm_content=Monitor+Audio+C165-T2+In+Ceiling+Speaker+(Each)&gclid=CjwKCAiAgc-ABhA7EiwAjev-jzA_nk7NhBs-oitdXMgNRRjLmbTHiLTO8JrgQKJxYqlcy9z1aEMxSRoCBTIQAvD_BwE
You could use an ultrasonic sensor to measure that something is taking up space between the toilet and the ceiling, and you could use a motion sensor in the shower that covers a specific angle…you could incorporate that with a hygrometer to measure humidity, and maybe even a microphone to detect sound. The seat could be rigged up with a strain sensor as well. Motion alone isn’t going to cut it.
I solved the “don’t turn off the lights when showering” problem with a zigbee water leak sensor. I have my automations setup to conditionally ignore the presence detection (from a zigbee PIR) going to false if the leak sensor has detected water. In order to ensure lights get turned off anyway, I have a failsafe automation to turn the lights off after one hour regardless of sensor values. I also had one set to do this once the leak sensor went back to “dry” status, but I’ve found that can much longer than you’d expect, so the timed solution was better for me.
Hi. I am trying to figure out if this would also work with an Aqara vibration sensor instead of a door sensor? The issue is, we don’t always close the bathroom doors all the way, sometimes they are ajar. So, my idea is when the doors are being open (triggering the vibration sensor) the light turns on. So i want the light to stay on as long there is someone inside the bathroom (for example aqara pir occupancy sensor), and for the light to turn off when no one is in the bathroom, so after they leave.
What do i need to make this work? I am looking for tips what sensors should i buy to pull this off. Others people can also join in and share their ideas. It seems like a simple thing, but i read many threads here about presence detection in bathroom, and most of them don’t really offer a completely reliable solution. I use an Osram zigbee bulb with ZZH CC2562R coordinator and zigbee2mqtt integration, so i wan’t all of the sensors to be zigbee based. Thanks for all the help in advance.
i have a Youless to measure the waterflow starting, and a wallplug checking the amount of power used by the boiler and motion sensor in the bathroom. When somebody starts showering, the waterflow starts a flow in Nodered. If the variables, motion sensor on and power use is below 48 watt (For heating the house, the boiler uses more watts), a timer is starting. After 8 minutes the light starts flickering that its time to stop showering. Very handy with kids This is running for a year now and saved a lot of gas and water! Grafana shows me the times the shower is used. If you are intrested in the node red flow, please let me know.
how sensitive if your PIR sensor? my aqara takes 60 seconds to go back to “off”.
I thought about using the logic you stated above but I always wondered what would happen if someone entered the bathroom very quickly, left and closed the door. would it not think that someone is still in there indefinitely?
Hi, I use the Bayesian sensor that tracks the humidity and temperature. When the temperature and humidity above a specific range is. The shower boolean will be turned on, the fan will be turned on, and the lights stay on in the bathroom. (I don’t have motion in my shower cabine, only in the bathroom)
I just checked my Philips Hue motion sensor and it shows a value of clear exactly 10 sec after detecting motion if I walk away immediately. So in my case, if you were to get out of the room and close the door within 10sec of the last detected motion, yes, you’d have the case you described where the door is closed, nobody is inside, and the lights stay on forever. I haven’t found this to be a problem, so I haven’t taken any steps to address that use case.
Reading this and think I’ve hit the jackpot. Although I also have the Hue Motion Sensors (perfect sensors), my Aqara Door Sensor have state attributes to determine if there is contact or not. So I had to change the following in the YAML at the second condition in the action:
UPDATE: Two years later…I finally found the perfect solution I was originally looking/hoping for when I first started this thread!
I ended up using a Aqara FP1 (millimeter-wave radar) connected via ZHA. I was able to get it up and running right out of the box in just a few minutes. I grouped it with my existing super-fast Centralite motion detector as a single binary “Bathroom Occupancy” sensor group to get best of both worlds.
This solution worked so well, I just ordered another Aqara FP1 to be paired up with another Centralite motion detector.
To determine that someone is in the shower, I deduced that I can measure the temperature of the drain (I have access to the sewage pipe in the basement). What do you think about it? Has anyone used it?