Play music when a shower starts

Start music or a podcast on a bathroom speaker automatically when the shower light goes on, and stop it again once the shower ends.

Best for: A bathroom with a smart light switch or door sensor that reliably signals when a shower is starting, paired with a speaker that already works in that room.

Not for: Waking a sleeping household. Restrict this to normal waking hours or add a quiet-hours condition.

Why this exists

Remembering to start music before stepping into the shower, especially early in the morning, is easy to forget. Tying playback to a signal that already exists, like the light switch, removes the need to think about it and gives a consistent morning routine without extra steps.

What I used

Job Good enough Never think about it Notes
Trigger the automation Leviton DG15S Zigbee switch UltraPro Z-Wave Long Range On/Off Switch Use the existing shower light switch as the trigger where possible.
Play the music No personally verified recommendation yet No personally verified recommendation yet A waterproof or water-resistant speaker is worth choosing for a bathroom, but no specific model has been personally verified here.

See recommended gear for the job-first checklist. Product recommendations and any future affiliate relationships are explained in the disclosure.

Logic

IF the bathroom light turns on AND the current time is within waking hours AND the household is not in quiet hours THEN play music on the bathroom speaker at the preset volume IF the bathroom light has been off for a couple of minutes THEN stop or pause the bathroom speaker

Setup notes

  1. Choose one trigger, the light switch or a door sensor, and treat the other as an optional backup rather than combining both in a way that is hard to troubleshoot.
  2. Add a quiet-hours or night-mode condition so this does not start music while someone else in the house is asleep.
  3. Set a fixed starting volume so the result is predictable regardless of the speaker’s last setting.
  4. Require the stop condition to hold for a couple of minutes so briefly leaving the bathroom does not cut off the music early.
  5. Confirm the speaker and trigger both respond reliably in the platform’s automation log before relying on this daily.

Advanced features

Time-of-day content

Where useful, play a news podcast on weekday mornings and a relaxing playlist at other times, using the same trigger with different content chosen by time and day.

Pause instead of stop for podcasts

Use a pause action rather than stop for podcast content so playback resumes from the same point on the next shower.

Failure modes

Done when

FAQ

Which trigger works best, the light switch or a door sensor?

A light switch trigger is usually the most reliable since the light almost always goes on before the shower starts. A door sensor is a reasonable backup for a glass enclosure without a separate switch.

Will this wake other people in the house?

Not if a night-mode or quiet-hours condition is included. Restrict playback to normal waking hours, or add a condition that skips playback when the household is in a sleeping state.

Does the music stop automatically when the shower ends?

Yes, if a matching “lights off” or “door closed for a while” condition is set up to stop or pause playback a couple of minutes after the shower trigger clears.