I am running hassio 0.66.0, having just upgraded from 0.65.5 in an effort to resolve the problem.
Also, I just installed a new router which may or may not be relevant…
I am seeing repeated messages like the following in the logs:
2018-04-01 07:48:57 WARNING (MainThread) [homeassistant.core] Unable to find service media_player/play_media
All media player entities on the network are added using discovery, though I have also tried manually specifying IPs for those as well (all have static IPs on the network).
The behavior is as follows: when calling the tts.google_say service with some test data, the target device is activated (the chime on the device sounds, so I know that it’s being turned on successfully), but the message is not played.
Other possibly relevant information from the logs follows:
2018-04-01 07:49:01 WARNING (SyncWorker_5) [netdisco.ssdp] Error fetching description at http://192.168.1.1:8200/rootDesc.xml
2018-04-01 07:49:09 ERROR (SyncWorker_13) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-04-01 08:08:31 WARNING (Thread-10) [pychromecast.socket_client] Heartbeat timeout, resetting connection
2018-04-01 08:08:38 ERROR (Thread-10) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-04-01 08:08:46 ERROR (Thread-39) [pychromecast.socket_client] Error reading from socket.
2018-04-01 08:08:46 ERROR (Thread-41) [pychromecast.socket_client] Error reading from socket.
2018-04-01 08:08:46 ERROR (Thread-40) [pychromecast.socket_client] Error reading from socket.
2018-04-01 08:08:47 WARNING (Thread-39) [pychromecast.socket_client] Error communicating with socket, resetting connection
2018-04-01 08:08:47 WARNING (Thread-41) [pychromecast.socket_client] Error communicating with socket, resetting connection
2018-04-01 08:08:47 WARNING (Thread-40) [pychromecast.socket_client] Error communicating with socket, resetting connection
2018-04-01 08:08:47 ERROR (Thread-39) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-04-01 08:08:47 ERROR (Thread-41) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2018-04-01 08:08:47 ERROR (Thread-40) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
Another thing: mp3s a ARE being generated and stored in config\tts, so the failure does appear to be associated with the message in the OP regarding the missing media_player/play_media service.
I’m debugging the same problem. Has not worked for me for a while on any of my media devices, so I’m not sure what broke when. I recently added one of those little google assistant pods to our house and it has the same behave you report…turns on, no errors, files saved in config directory.
Any other troubleshooting would be helpful. I have automations that announce things to tts and would like them to work again.
Yeah, I’m not really sure how to proceed at this point. I swapped back to the old router and it started working again, and disabling https and accessing the UI locally also solved the problem.
So it doesn’t seem to be a problem with the HA software itself, but rather a networking issue that I apparently lack the skills to troubleshoot effectively.
Maybe we can put our heads together and make some progress. have you made any changes in your network topography recently? What happens if you disable https? Do you get the same behaviour where the GH chimes and then… nothing?
The really annoying thing about this issue is that it’s really hard to pinpoint when it started happening. I just noticed one day that the notifications stopped.
Ah, interesting… that definitely looks familiar. Not a lot of activity in the past couple of weeks though… I’ll chime in over there a bit later on today, and encourage you to do the same.
Have you tried removing the port from base_url? I use ssl and when using a port in base_url, I get the sound from the google home but no message. When I remove the port it works fine.
@cdybdahl Thanks. I’ve now got the correct path (?) being shown in the developer/states page as below but I still get no speech. Media player turns on but nothing spoken. Now running 0.67.0.
Hi, I’m running hassio 0.73.3 w/ SSL enabled via DuckDNS and Let’s Encrypt. I have removed port 8123 from my base URL and have port 443 forwarding to 8123 in my router’s config.
Also, I can see that the Google TTS mp3 files are being created and stored in 'config/tts". Finally, I can even see my Sonos speakers queue the TTS mp3 files to play. But for whatever reason, they won’t actually play.