Rule Machine or Button Controller - App Doesn't Work Correctly

I created a very simple rule play a chime track followed by a message on my Sonos devices when the doorbell is pressed. The sound track is stored directly on my C-5. When I click on "Run Actions", it does play the track and then the message. The problem is that it then plays the track a second time. I have no idea why it's doing this.

If I remove the command to play the track, it does correctly play 'only' the message. I've built this in both Button Controller and Rule Machine 5.1 and the behaviour is the same.

Any thoughts?

Thanks.

I don't know, could it be the delay is not long enough? Perhaps the message is stopping the track so it plays again?

My first thought was the button was doing a double trigger, which I have some devices that have done that in the past. That doesn't seem to be the case since the message only plays once and works when you remove the track.

For the double trigger issues I used a wait for event elapsed time with a small delay as the first action so a second trigger would stop and restart the rule. That was in RM but I guess it would be the same in the button controller.

Thanks! You were correct about the delay. I increased it from 3 to 5 seconds and now it's working as expected. It must be restarting the track because of being interrupted by the message.

I had the same problem when I started to use announcements.
My fix is - instead of using a delays I am checking for the device
is not busy condition.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.