Re:The Midwit Smart Home
by tomatocracy on Friday October 13, 2023 @04:17AM
(#37868142)
Unfortunately no write-up. But to get music to pause when the phone rings I use the Spotify integration and HA companion app. It's a pretty simple automation - it has one trigger when "Phone state" changes to "ringing", one condition that Spotify is playing, and one action which sets Spotify to paused.
I think the "ringing" state provided by the companion app only works on Android, not iOS though.
OwnTone has an HA integration so I would expect you can do something similar with that.
Presently loathing an iphone rather than hating an android so i guess I’m out of luck.
HA Owntone integration works very well as does shairport-sync & its mqtt interface. Owntone also does Spotify.
Thanks for your thoughts btw.
The music quiet when phone call thing is particularly attractive. I think I have most of the pieces of it here. HomeAssistant, Owntone, airplay (shairport-sync) speakers, a phone running the HA client.