I have been struggling to find the proper way to achieve this and I’m not sure if it can be done in HASS.
I know it can be done with Tasker in Android but I’d rather have it on HASS.
So basically I have an Android phone and the music playing on Spotify on Sonos. I would like the music to be paused/stopped when it detects the phone receiving a call/making one.
The phone is being tracked in the house through WIFi and the entity doesn’t have any other states than “at home” or “away”
Is there any way I can do this in HASS (even with NodeRED) or it is not possible.
Use an app on your phone like MacroDroid or Tasker monitor when your phone calls start and end. When it detects either event, have it send a signal that can be received by Home Assistant. The signal can, for example, be a webhook which Home Assistant can detect via a Webhook Trigger.
I figured as much. I did see that iOS 13.5 has a jailbreak at the moment. Not sure it’s worth the hassle. Though I have also been missing a wifi signal strength meter…