Ok, i will do a status check and try to find the issue
Thanks! As you can see in the last screenshots pimatic reports both “speakers beneden” and “woonkamer speakers” are playing wich is impossible since woonkamer speakers are part of the “speakers beneden” speakergroup.
Seems logical but when I say “hey Google luister naar 3fm op speakers beneden” only the “speakers beneden” device reports a status update that it is playing. In this case (with this screenshots) I’ve done the following speech commands:
1 hey Google luister naar 3fm op speakers beneden.
(Status in pimatic changed from the previous pause to playing and program name)
2 hey Google stop.
(Stream stops, Google home app says nothing is playing, pimatic still says speakers beneden are playing. Closed and force stopped the browser to make sure no caching occured but after logging in on pimatic status was still “playing”)
3 hey Google luister naar 3fm op woonkamer speakers.
(Status of “woonkamer speakers” got updated to playing with program name, status of “speakers beneden” remains unchanged.
“speakers beneden” is a speakergroup that contains “woonkamer speakers”, “Google hub keuken” and “Google mini badkamer”
“Woonkamer speakers” is a stereo speaker pair of 2 Google home speakers (so not a regular speaker group, when assigned as stereo pair the right speaker (in my case) becomes a slave speaker and in the Google home app the stereo pair appear as a single device with balance control in the settings)
If you need more details you have my number
Thank for the info. Your config is bigger than what i can test.
I tested a single google home with text and mp3, and the status follows what happens.
So the issues must be the grouping and pairing of speakers and there states.
I need some time to find out how to test and fix the possible scenarios.
Yeah, pimatic is in control of a lot hahahaha
I was wondering: is the state of the google speakers available in the rules? Because if it is I could make e set of rules depending on what speaker or group is playing like
Rule 1 “if state of speakers beneden is “playing” and doorbell is pressed then play test.mp3 on speakers beneden”
Rule 2 “if state of woonkamer speakers is “playing” and doorbell is pressed then play test.mp3 on woonkamer speakers and play test.mp3 on google hub keuken and play test.mp3 on Google mini badkamer”
Rule 3 “if state of speakers beneden is “idle” and if state of woonkamer speakers is “idle” and doorbell is pressed then play test.mp3 on speakers beneden”
Don’t know if these rules would interfere with each other though…
Ah ok, so there’s something to experiment with.
Did a few tests tonight and noticed that indeed the issue is that the state of a group device doesn’t go back to idle at all. Even when playing a radio stream without interference of the doorbell, when a stream that is playing on a speakergroup is stopped (hey Google stop) the state of the group device says it’s still playing. Google home says nothing is playing.