Hello,
my problem is using the following functions
playSound("chromecast:chromecast:5aaf8e9ecbf134e1ab25eca122ee38b4", "doorbell2.mp3")
or
say("Die Rolladen gehen in " + WaitTime.toString + " Minuten herunter!", "voicerss:deDE", "chromecast:chromecast:5aaf8e9ecbf134e1ab25eca122ee38b4")
I get the following log entries
2020-12-28 09:45:01.927 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'CastGH_title' changed from UNDEF to Notification
2020-12-28 09:45:02.202 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:5aaf8e9ecbf134e1ab25eca122ee38b4' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
2020-12-28 09:45:02.230 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'CastGH_title' changed from Notification to UNDEF
2020-12-28 09:45:02.262 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'chromecast:chromecast:5aaf8e9ecbf134e1ab25eca122ee38b4' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
and nothing happens. playStream with a static address is still working. Changing the volume to my Google home minis is also still working.
Platform information:
- Hardware: Synology DS920+
- OS: Linux 4.4.59+, Docker Package
- Java Runtime Environment: 11
- openHAB version: OH3, Docker image (openhab/openhab:latest)
I’ve changed my enviroment due the migration from OH2.5.11 to OH3, so I don’t know if it is a problem because of the new environment or because of the new OH-version.
With my old configuration (Raspberry Pi4, OH2.5.11 with openhabian image) there wasn’t problems to use the function “playSound” and “say”.
For OH3 I’ve changed to Synology DS920+ with Docker and the functions aren’t available anymore. I’ve mounted shared folders “…/conf”, “…/userdata” and “…/addons” from the DS920+ into the container, so the file “doorbell2.mp3” is in the directory “/conf/sounds”.
I’ve also tested with a Callback URL (none or “DS920plus:8080” or “192.168.2.167:8080”) or changing voice from VoiceRSS to MaryTTS.
Could anybody give me an information what’s my mistake, please.