I finally found some time to package this thing, so I’m happy to present my new plug-in, allowing Alexa to play TTS (text-to-speech) dinamically.
It’s based on the famous https://raw.githubusercontent.com/thorsten-gehrig/alexa-remote-control/master/alexa_remote_control_plain.sh to execute TTS (Text-To-Speech) commands against your Amazon Echo.
Right now, only TTS is implemented, but any other commands can be called. This is a work in progress.
The script will automatically download and install the .sh script from the aforementioned GitHub repo. If you don’t like it, simply do it the first time, than overwrite the file with your own version.
Right now it’s only working with accounts not based on MFA (Multi Factor Authentication). In the future I will probably re-write it entirely in LUA, but it’s woking fine since 1+ year for me and I decided to donate it to the community.
YMMV, since it’s a bit hacky and the setup is convoluted, but it’s rock solid and the speech quality is very good.
Please take a look at GitHub for further instructions, but it’s basically emulating the Sonos/DLNA plugins, so the same LUA code can be used to control the devices.
Since the script is able to do much more, I will probably implement other actions, since I use it to trigger routines from my Vera, start music, etc (directly using the script, with no corresponding luup actions).