/gladys-voicerss

Say a given text with Gladys

Primary LanguageJavaScript

#Gladys Voicerss Require Gladys >= 3.1.11

This module use voicerss.org to say a given text. You need to create an account on voicerss.org to get the API key.

##Installation To install this module, you need to :

  • Install the module in Gladys
  • Reboot Gladys
  • In Gladys, go to "Parameters" => "Parameters" => "Parameters" in the dashboard, and create parameters:
  • voicerss_key API key of voicerss
  • Configure your notification settings in the "notification" panels in parameters

##Warning

  • This module need libasound2-dev
sudo apt-get install libasound2-dev
  • Gladys will speak to you only if you are at home ! (If you are not at home, it's useless to speak in an empty room).

To detect if you are at home, Gladys uses events.

First, to know in which home your Raspberry Pi (the machine running Gladys) is located, Gladys uses "machines" (you can configure it in parameters). Especially the "me" field. She takes the machine where "me" is true.

Then, she looks at events "back-at-home" and "left-home".

If last event for this particular house and with your user ID is "back-at-home", it means you are at home.

If not, it means your are in another place.

##Scripts You can say a given text from a script

gladys.modules.voicerss.say({text:"MyText", language:"fr-fr"})