Integrating other apps with HA TTS

Could’ve sworn I posted about something similar recently, but I can’t find it now, and have made a bit of progress since.

I want to try integrating with Mycroft. I see there’s an HA component, but I’d first like to integrate Mycroft so it uses HA’s TTS, which for me right now is configured to speak through my Chromecast.

It looks like Mycroft’s TTS can run shell commands to provide spoken output, so I tried something like:

curl -v -X POST -H "Content-Type: application/json" -d '{"message": "Hello, world."}' http://localhost:8123/api/services/tts/google_say

to see if I could generate speech via the command line. This hangs for 10 seconds, returns 200 and an empty JSON body, and reports “Not implemented” in the logs. Google TTS is definitely enabled and works, as tested via the web interface. What am I missing? My API is unauthenticated.

Thanks.

Are you talking about this post?