Ready to make your daily shower something straight out of a sci-fi movie? With Home Assistant, your bathroom can become the smartest room in the house! Let me walk you through two awesome setups I've been playing with – a script to prep your bathroom for shower time, and an automation that adds some pizzazz while you're sudsing up.
Prep Your Bathroom with the "Duschen Vorbereiten" Script
Check out this clever script called "Duschen Vorbereiten" (that's German for "Prepare Shower"). It's like having a personal bathroom butler!
alias: Duschen Vorbereiten sequence: - service: notify.alexa_media data: message: "Ich bereite das Badezimmer für dich vor..." data: method: all type: announce target: - media_player.echo_badezimmer - media_player.echo_flur - media_player.echo_schlafzimmer - service: climate.set_temperature data: hvac_mode: heat temperature: 22 target: entity_id: climate.heizung_badezimmer - service: input_boolean.turn_on target: entity_id: - input_boolean.duschen_vorbereiten - input_boolean.duschen_besetzt mode: single icon: fas:shower
What It Does:
- Alexa Announcement: Sets Alexa to tell you that your shower is being prepped.
- Warm Things Up: Heats up your bathroom to a cozy 22°C.
- Set the Scene: Activates switches to show your shower is being prepared and the bathroom is occupied.
Keep the Vibe Going with the "Duschen" Automation
Now, for the real fun part. The "Duschen" automation makes your shower time more than just about getting clean.
alias: Duschen trigger: - platform: state entity_id: binary_sensor.aqara_water_badezimmer_water_leak from: "off" to: "on" - platform: state entity_id: binary_sensor.mmwave_badezimmer from: "on" to: "off" condition: - condition: state entity_id: input_boolean.duschen_besetzt state: "on" action: - choose: - conditions: - condition: trigger id: waterBadezimmerOn sequence: - delay: 10 - service: media_player.volume_set target: media_player.echo_badezimmer data: volume_level: 0.4 - service: media_player.play_media target: media_player.echo_badezimmer data: media_content_id: shuffle 37i9dQZF1DWSqmBTGDYngZ media_content_type: SPOTIFY - conditions: - condition: trigger id: mmwaveDuschenAus sequence: - service: media_player.media_stop target: media_player.echo_badezimmer - service: climate.set_hvac_mode target: climate.heizung_badezimmer data: hvac_mode: "off" - service: input_boolean.turn_off target: input_boolean.duschen_besetzt mode: single
- Shower Tunes: Starts playing your favorite Spotify playlist when the shower starts.
- Smart Shutdown: Stops the music, turns off the heating, and resets the bathroom status when you're done.
Bringing It All Together
Merging these two setups makes your shower routine something to look forward to. You've got a personal assistant to prep your bathroom, some mood music while you're in there, and everything resets automatically when you're done.
So, there you go! A bit of coding and smart home integration, and your daily shower turns into a high-tech pampering session. Whether you're a tech whiz or just love adding fun twists to your home, these Home Assistant scripts and automations are just the beginning. Time to make those showers legendary! 🚿💡🎵
Don't forget, you can always tweak these to fit your vibe. Dive in, get creative, and make your smart home experience uniquely yours. Happy high-tech showering! 🌈🛁✨
As always you will find the the code for this automation in my GitHub Repository!