I got some automations for notifying me when a certain device finished its service (dish washer, washing machine). TTS notifications are played on my mobile phone.
For some reason the notification language changed and german message textss are played with an english TTS voice, although I did not change anything.
The weird thing:
TTS language is correct when triggering the service call manually. I tried passing an additional language parameter (as seen above), but no change.
What are your settings for Configuration → Home Assistant Cloud → Text To Speech? I’m unsure of the scope of this setting, but it does affect the language for TTS on my Google Home Mini.
I checked the TTS settings on my mobile device, the language setting was set to use the system language (which is german).
I manually changed it to german now. Will see what happens.
I know the docs don’t list a language parameter for notifications via companion app. It merely was a (very) wild guess in terms of “Okay, this attempt makes no sense, but so does the problem”.
I threw sense over board, since the exact same service call node in nodered produces different outputs (english on triggered automation, german on manual trigger via inject node).
so thats what the app is using, I am not sure why the language has changed. Can you think of what has changed since then? an app update, phone update things like that will be helpful.
Ah, I did not think of doing that before since I’m only using nodered. Thanks.
I just built an automation and tested it. Same problem:
The service call by the automation produced wrong TTS output. A manual service call via developer tools produced correct output.
There is a small difference in terms of data formatting: The message title is (not) enclosed with quotation marks.
Testing showed this is a difference between an automation using stock HA and an automation using nodered. There is no connection between the formatting and the TTS output being correct/ wrong.
Beyond that:
In the last two days I logged into HA and triggered the automations (stock HA/ nodered) and service calls manually. Actually for no purpose whatsoever (since I don’t have any approach how to solve this problem and I’m not changing anything).
Yesterday I suddenly had correct TTS output upon manually triggering the automation. Today the automation got triggered due the washing machine finishing its program and TTS output suddenly was wrong again.
I logged into HA and triggered the automation manually several times:
First time: Wrong TTS output.
Second time (10 seconds later): Correct TTS output.
I’m having correct TTS output, no matter how the service call is triggered. But I assume this will change again…
I know this is an old thread but my TTS seems to randomly go from English (United Kingdom) to the some rubbish default setting. I have checked everything and an alert will be perfect and then another time just a monotonous drone. Not sure what to check - phone is a Pixel 3.