# Say (google tts) is not playing on Chromecast Devices

**URL:** <https://community.openhab.org/t/say-google-tts-is-not-playing-on-chromecast-devices/112797>\
**Category:** Runtime\
**Tags:** chromecast, googletts, say\
**Created:** [January 3, 2021, 11:54pm UTC](https://community.openhab.org/t/say-google-tts-is-not-playing-on-chromecast-devices/112797 "2021-01-03T23:54:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thilek23](https://community.openhab.org/user_avatar/community.openhab.org/thilek23/32/58339_2.png) [@thilek23](https://community.openhab.org/u/thilek23)\
**Post date:** [January 3, 2021, 11:54pm UTC](https://community.openhab.org/t/say-google-tts-is-not-playing-on-chromecast-devices/112797/1 "2021-01-03T23:54:46Z")

</div>

Hey folks,

Recently `say("Test","googletts:enGBWavenetA","chromecast:audio:atticDesk")` stopped working.

I’m using google tts. I do see the mp3 file being downloaded in `openhab/userdata/cache/com.openhab.voice.googletts` . Often i hear a beep than nothing. When i try second time there were no response and I see my ChromeCast Thing shows offline.

If i do `playStream("chromecast:audio:atticDesk","doorbell.mp3")` it works fine all the time.

Also i don’t see any errors in the logs.

I’m running openhab 3.0 using docker-compose. It actually stopped working when i was using previous version of openhab as well.

Have someone had similar issues ?

---

<div class="post-metadata">

**Author:** ![denominator](https://community.openhab.org/user_avatar/community.openhab.org/denominator/32/37349_2.png) [@denominator](https://community.openhab.org/u/denominator)\
**Post date:** [January 4, 2021, 12:16am UTC](https://community.openhab.org/t/say-google-tts-is-not-playing-on-chromecast-devices/112797/2 "2021-01-04T00:16:37Z")

</div>

> [@OH3 Google TTS: Error - grant type authorization\_code](https://community.openhab.org/t/oh3-google-tts-error-grant-type-authorization-code/112549/5):
>
> Thanks to @cweitkamp I want to share the solution: The important step is to select “Desktop application” when creating an ClientID on the google platform. TV and limited input device will not work. Then it works as expected!

Similar topic

---

<div class="post-metadata">

**Author:** ![thilek23](https://community.openhab.org/user_avatar/community.openhab.org/thilek23/32/58339_2.png) [@thilek23](https://community.openhab.org/u/thilek23)\
**Post date:** [January 4, 2021, 11:31am UTC](https://community.openhab.org/t/say-google-tts-is-not-playing-on-chromecast-devices/112797/3 "2021-01-04T11:31:35Z")

</div>

@denominator i dont think its the same issue, as the mp3 files were downloaded from google tts and i also see incoming request in the google cloud console. So authorization code is not the issue here. I wonder is it something on openhab and chromecast side that either chromecast couldn’t access the file. Since openhab server and iots are in different network. Main network can access iot network but not the other way round.

---

<div class="post-metadata">

**Author:** ![thilek](https://community.openhab.org/user_avatar/community.openhab.org/thilek/32/53262_2.png) [@thilek](https://community.openhab.org/u/thilek)\
**Post date:** [January 4, 2021, 2:37pm UTC](https://community.openhab.org/t/say-google-tts-is-not-playing-on-chromecast-devices/112797/4 "2021-01-04T14:37:30Z")

</div>

Anyways, figured out the issue. It was as i expected. My firewall configuration blocked chromecast devices to reach openhab server. So i wrote new firewall rule to allow chromecast to access openhab and everything started to work like magic.

So the lesson learned, for the tts to work, the both server and chromecast devices should be able to talk to each other.
