- Platform information:
- Hardware: RPI 4
- OS: Raspbian
- Java Runtime Environment: 11
- openHAB version: 3.0
I’ve tried to set up Google Cloud TTS and completed every configuration step, but nothing was working. So I tried to start from the beginnings and I trying to play mp3 using default audio (Chromecast Google Mini)
I want to playSound inside rules, so I try to test it using openhab-cli:
- My default speaker is setup:
openhab> openhab:audio sinks
* Chromecast: Google Home Mini (chromecast:audio:google_mini) System Speaker (enhancedjavasound) Web Audio (webaudio)
- I try to play local file (located under /etc/openhab/sounds/doorbell.mp3) I have permission to do that.
openhab:audio play doorbell.mp3
Nothing is playing, but I can play the same file using Chromecast binding (different file location to make it accessible from browser):
ChromecastGoogleHomeMiniPlayUri.sendCommand("http://localhost:8080/static/sounds/doorbell.mp3");
Does anyone have any ideas? I spent already a few days trying to figure it out.
PS. I can’t see any entries inside log files related with that