Hey everyone! I wanted to share my experience with automating my Sonos system in the bathroom and ask for some tips to streamline my setup.
I’ve got this cool automation going where a Philips Hue motion sensor detects movement in the bathroom. When it does, it either joins the bathroom Sonos to the kitchen source or starts playing music from a specific source. It’s pretty handy, but I’m struggling with combining two separate automation scripts into one.
Here’s how it works now:
- If the kitchen Sonos is playing, the bathroom Sonos joins the party and unjoins after 3 minutes of no motion.
- If the kitchen is paused or not playing, the bathroom Sonos starts its own music and pauses after 3 minutes of no motion.
The issue is that I have two separate automation IDs for this, and my OCD brain is bugging me to merge them into one clean script. I think it needs another nested ‘If’ loop, but I’m stuck on how to structure it properly.
Has anyone tackled something similar? Any advice on how to nest these conditions neatly would be super appreciated! Looking forward to hearing your thoughts. ![]()
![]()