OH3 Google Cloud Text to speech Authorization Code - changes

  • Platform information:
    • Hardware: amd64
    • OS: Windows 10/10.0 (amd64)
    • Java Runtime Environment: 11.0.12 (Zulu11.50+19-CA)
    • openHAB version: openHAB 3.2.0.M3

Hi All

Does anyone know of a working solution to keep the Google Cloud Text-to-Speech authorization code active.

I see to have an issue that on every OH restart (and sometimes randomly) the code seems to expire and has to be manually re-added using the


syntax and then everything seems to come back online.

Surely the authorization code should remain valid?


I don’t use this, but in theory you can just set up a rule with an HTTP request that triggers on system start and periodically to refresh. That doesn’t really solve the root problem, though.


Please make sure that your Google developer console project is in “production” and not in testing state. Otherwise it will kick you out every two weeks as far as I remember…

The setting is a little hidden in the Google cloud console but have a look and I think you’ll find it. If not I can make a screenshot tomorrow.

All the best,

1 Like

Thanks Bob. I think I found it:

Have moved to production so will monitor and see how it goes.

Appreciate the asistance.