Hi,
I started to get some strange troubles recently and my announcements on my chromecasts do not work anymore. I have pretty simple test rule
rule "Voice Testing Rule"
when
Item Voice_Robot changed from OFF to ON
then
playSound("chromecast:chromecast:ChromecastSpeakerLiving", "soft_chime.mp3", new PercentType(40))
playSound("chromecast:chromecast:ChromecastSpeakerOffice", "soft_chime.mp3", new PercentType(40))
var Timer myTimer = createTimer(now.plusSeconds(2), [ |
playSound("chromecast:chromecast:ChromecastSpeakerLiving", "pa.mp3", new PercentType(40))
playSound("chromecast:chromecast:ChromecastSpeakerOffice", "pa.mp3", new PercentType(40))
])
var Timer myTimer1 = createTimer(now.plusSeconds(6), [ |
say("Halo, this is test.", "googletts:enGBWavenetC", "chromecast:chromecast:ChromecastSpeakerOffice")
say("Halo, this is test.", "googletts:enGBWavenetC", "chromecast:chromecast:ChromecastSpeakerLiving")
])
end
and the chromecasts go offline when the rule tries to play or say something and they come back immediately online:
2021-05-07 09:38:23.763 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerOfficeappName' changed from Default Media Receiver to UNDEF
2021-05-07 09:38:23.771 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerOfficeIdling' changed from OFF to ON
2021-05-07 09:38:24.508 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerLivingappName' changed from Default Media Receiver to UNDEF
2021-05-07 09:38:24.510 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerLivingIdling' changed from OFF to ON
2021-05-07 09:38:50.931 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerLivingappName' changed from UNDEF to Default Media Receiver
2021-05-07 09:38:50.933 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerLivingIdling' changed from ON to OFF
2021-05-07 09:38:50.983 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerLiving' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:38:51.051 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerLiving' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
2021-05-07 09:38:52.995 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerOfficeappName' changed from UNDEF to Default Media Receiver
2021-05-07 09:38:52.997 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ChromecastSpeakerOfficeIdling' changed from ON to OFF
2021-05-07 09:38:53.130 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerOffice' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:38:53.154 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerOffice' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
2021-05-07 09:38:55.806 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerLiving' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:38:55.820 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerLiving' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
2021-05-07 09:38:56.181 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerOffice' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:38:56.202 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerOffice' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
2021-05-07 09:38:59.503 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerOffice' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:38:59.547 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerOffice' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
2021-05-07 09:39:00.037 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerLiving' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:39:00.054 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:ChromecastSpeakerLiving' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
I already tried restart, reinstallation of the binding clearing the cache (that caused me other trouble yesterday) but nothing helps.
I am running openhabian with OH3 and the chromecast binding is the latest 3.0.2.
The speakers are members of several groups, and by default all TTS is announced on a chromecast group serving for that purpose. Both those chromecasts are part of the default TTS group, so when I try to say something via the default group, then only the group speaker goes off and online.
2021-05-07 09:45:58.193 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:audiogroup:ChromecastGrpGoogleTTS' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2021-05-07 09:45:58.229 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:audiogroup:ChromecastGrpGoogleTTS' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
Any ideas?