TTS on a far far away machine

Had this topic half a year ago. So wonder if there was any improvement.

Is there any component to pass TTS and sounds to a remote linux machine except for kodi?
It must be a separate entity (not play all the sounds HA does)
No bluetooth can be involved (remote machine is using it to play the sounds)

For this to work currently - running 2 HA isntances with MQTT automations. But would love to remove that

Maybe use the shell command component to ssh into the machine?

It’s an option. There even was a script here that allowed to push cached mp3 via ssh to remote machine.
But what about MPD or cmus - can they do it now being on a remote machine?

MQTT and 2 HA instances are working fine. However when using somthing like

  • service: tts
    entity_id: media_player
    data_template:
    message: ’ {{ [ “message1”, “message2”, “message3” ] | random }}

I will get different say outs. Wonder if this string of text can be generated and then i could send it out via let’s say MQTT topic and also pass to tts service so they will be synchronised