arun2118
(Arun2118)
December 30, 2018, 6:58pm
1
I’m running hassio on a pi and I’m trying to control alexa(tts). In this link it says add files to Home Assistant config directory.
# ha-alexa-tts
Alexa Unsolicted TTS for Home Assistant
Here is the unsolicited text to speech for Alexa devices that we have been waiting for!
The [loetzimmer.de](https://loetzimmer.de/patches/alexa_remote_control.sh) shell script has been updated (Thanks Ralf Otto) with the excellent work of Michael Geramb to support direct TTS to any Alexa devices!
This script does work by using the Alexa web interface, so it may break at anytime. However, the TTS component is POSTing a JSON object direct to the API endpoint, so the odds that TTS portion stays working are high.
The TTS works with two shells scripts, the original by Alex Loetzimmer and wrapper for it that allows Home Assistant to call it as a [command line notify component](https://www.home-assistant.io/components/notify.command_line/).
To get started, download the scripts:
https://github.com/walthowd/ha-alexa-tts
Save scripts in your Home Assistant config directory and make them executable (**chmod +x alexa_remote_control.sh & chmod +x alexa_wrapper.sh**)
Add your login credentials to the Home Assistant **secrets.yaml** file, with
the keys `alexa_email` and `alexa_password`.
Run the script interactively to pull your devices:
This file has been truncated. show original
Is this accessed through ssh? If so how do I reach it? If not then how would I ( chmod +x alexa_remote_control.sh & chmod +x alexa_wrapper.sh )?
SSH add-on will get you there. The location is probably in /config just check the info page on your home assistant instance and you will see where the config is
Click the menu button on left hand side of page, and then the little i in a circle button
arun2118
(Arun2118)
December 30, 2018, 7:04pm
3
You mean where my configuration.yaml file is stored? I have access to that through samba, but if i place files there then how do i " chmod +x…" change file permissions there?
Edit::
i think i got it … ssh into hassio then “cd /config”