Pandemic Bathroom integrations and automations for almost all of the senses

Short youtube video featuring a few of the automations mentioned below: https://youtu.be/6vDO5ZOqzzg

Sight - Lighting:
Using a motion sensor to turn on ambient lighting (a lifx bulb) when motion is detected, which activates a light scene and this particular light entity is also using the Circadian Lighting Integration available in HACS to not wake me up at the wee hours of the morning (pun intended). Very useful for night-time bathroom breaks. My accuracy has improved 90% since adding ambient light. Also, when this light is turned on it provides a visual indicator that my heated towel rack is turned on (automation turns off via wifi tplink mini smart plug after 10 minutes of no motion detected). The heated towel rack helps dry the towels and eliminate moisture from our most used bathroom (I have 3 daughters btw).

Hearing - Music:
Using an original Amazon Echo (v1) for Alexa hands free access to Spotify or Amazon Music. Of course, I also have a bathroom playlist available too. I have an Amazon Echo button (bluetooth) when pressed fires a routine to play nature sounds (Waterfall) for some bathroom break inspiration and ambience.

Smells - Essential Oil Diffuser:
I bought an Air Wick Essential Mist, Essential Oil Diffuser from Amazon. Repurposed a smartthings multipurpose sensor to detect movement / acceleration. Put the multipurpose sensor inside of a small ziplock bag and duct-taped it inside the toilet, to the flush handle.

The Airwick thingy also used batteries so in my proof of concept I simply cut off a usb cable exposing red and black wires and connected them to the battery terminals using removable pen cap tops to fill the battery space. The POC worked fine but then I migrated to a much cleaner solution by purchasing on Amazon the “Lenink AA Battery Eliminator Power Supply with USB to DC Cable Replace AA Battery”. I plugged the Lenink AA Battery Eliminator Power Supply adapter into a spare usb to AC plug adapter and that into a wifi tplink plug (to have constant power vs battery power).

When you flush the toilet… acceleration detection occurs from the handle movement which triggers and turns on a tplink plug for 2 minutes then automatically turns off. This is enough time to initiate the startup sequence which results in a single puff of essential oil fragrance when you need it most. This automation should significantly extend the life of the refillable cartridge’s and removes the requirement to replace batteries too. There is a slight delay upon flush, so about the time you are washing your hands a delightful puff of essential oils surrounds the space.


According to Airwick published marketing material “Each refill provides up to 45 days fragrance based on low setting”. Low setting releases fragrant mist for 4 seconds between 17 minute intervals. 1440 minutes (in a day)/ 17 minute intervals = ~85 air puffs a day on low setting. 45 days (85 air puffs x 45 days) = ~3,825 per refill cartridge (which cost ~$4 per single refill). I don’t know exactly how many flushes we conduct per day (yet) but I am sure it is not anywhere close to 85 per day even with this being the most active bathroom in our house.

Touch:
Or touch-less in this case… I purchased a hands free, battery powered motion detected foaming soap dispenser (“LAOPAO Soap Dispenser, Automatic Foaming Soap Dispenser Hand Free”).

I also have the amazing Brondell Swash SE600 bidet toilet seat which is heated (awesome during winter) and acts as an automated carwash for your backside. This reduces amount of toilet paper consumed and also simply makes you feel cleaner since water is involved. Apparently, toilet paper during a pandemic is like having gold and could potentially be used as currency too. This fancy toilet seat has an ir remote to control the different options. I am considering adding another broadlink rm mini 3 to send ir commands via voice (Alexa) but implemented this yet.

Taste:
Yuck! I’m afraid I do not really want to taste anything while bathroom operations are underway so no real automations with this sense.

3 Likes

Great little write up. I’m starting to tackle some automations in my ensuite and in need of some inspiration. Have you had a look into stopping your motion activated lights turn off when showering? I was considering a smartthings water leak sensor to use the water detection and temperature sensor.

Thanks!
I leave the ambient light on when any motion detected (day or night) just as a visual reminder that my wall mounted my towel warmer is turned on.

I also have a smartthings water leak sensor in our upstairs bathroom, near the toilet which I implemented after having a very expensive water leak a few years back. Funny you mentioned water detection since that is actually how I justified purchasing all of these smart sensors. I still use smartthings sensors but migrated almost all automations and logic to HA. If there is a water leak in my house now a few strategically located colored smart lights turn blue indicating water leak (including the ambient light in bathroom), multiple sirens go off (which always scares the crap out of everyone), notifications to our phones as well as an announcement on all of our Alexa devices. Pretty hard to ignore when my house comes alive.

But does your motion detector activate when someone’s in the shower? I have one on the window sill and it doesn’t see anyone behind the shower screen. Maybe I need another one above the shower…

Love what the leak sensors can do, an up front investment to potentially save your entire house is invaluable.
How are you syncing them up to HA? I’m running Deconz and a conbee II, they should all sync up.

Sabellwind, Does not activate when someone is in the shower with the shower curtain closed. Works great when taking baths if you leave the shower curtain cracked a bit. I have my motion sensor mounted up above the door frame in the corner pointed down and if no motion detected will turn light off in 5 minutes.

The night before we were headed out of town for a family vacation one of my water leak sensors went off indicating my hot water heater was on its way out. Easily saved me thousands of dollars in potential repairs (in my basement) due to water damage if I would not have had that automation in place.

I am just using the smartthings integration in HA for the motion and water leak sensors. Eventually want to get off smartthings cloud and just move all zigbee and zwave devices to HA.

hey @wem0 nice project.

I wanted to ask you if you didn’t replace your airfreshener with the mains power. How else would you have controlled it by using its standard battery?

I suppose you would need some sort of smart device to turn the air freshener on and off? And even that how would it be possible? As there is no switch etc?

I have a cheap Aqara temp and humidity sensor. Created a sensor for shower status by humidity value and it’s pretty accurate.

Here is an example where someone used esp 8266 with batteries to trigger the fragrance. Don’t think battery life would be ideal with wifi but I guess the trade off is portability. https://www.youtube.com/watch?v=xhiEWFGKBCU

1 Like

Great idea! I just listen for the person singing in the shower.

Hey @wem0 quick question. The air freshener uses 3x 1.5v batteries (4.5v) but you are using the USB power adapter which is rated at 1.5v x 4 which is 6v?

Shouldn’t you be using 4.5v USB adapter? As anything above that even a 5v adapter would fry your air freshener?

As you pointed out there are only 3 aa batteries in the air freshner. The “Lenink AA Battery Eliminator” only has one of the batteries wired to the usb cable and I am using 2 of the supplied battery placeholders. My usb to ac adapter is a standard USB charger supplies 5 volts and did not come with the battery eliminator just a spare I had from an Amazon device. No issues yet and I have been using for several months now and I am on the same initial fragrance cartridge.

Right I see so 5v should be fine then. Cheers :slight_smile: