I set the Action event of my door contact sensors to play a track on my PC. For example: "Front door just opened." This works for the most part but not always.
When the speaker hasn't played anything in say 30 minutes or so, sometimes it plays the track but sometimes it doesn't. I open the door: nothing. I open the door a 2nd time, it plays the track. And yet other times, it plays the track the first time.
I thought I fixed this with a clunky set of actions but still, sometimes when no action has been performed for a while, Sonos refuses to play the track.
Is there a way to initialize the speaker? I didn't see anything. Is there some syntax I'm missing or some order of actions? Anything?
Obviously, a burgler is not going to open the door twice in the middle of the night so if Sonos can't play the track on the first time the door opens, it's useless.
Here's what I tried that seems to work most of the time but not 100% of the time.