Send Domoticz Notifications to Rhasppy - albertmon/smarthome GitHub Wiki
How to let Rhasspy speak Domoticz notifications
In this How to, you learn your Rhasspy speak Domoticz notifications.
What you need:
- Your Rhasspy url e.g.
http://localhostorhttp://192.168.0.123 - Your Rhasspy port: default 12101
Rhasspy is probably running in a Docker container.
To be able to call the Rhasspy API, be sure that the Rhasspy port is exposed by the Docker run command-pparameter.
E.g.:-p 12101:12101
- The api call: /api/text-to-speech
First setup the http connection to Rhasspy
- In Domoticz goto
SETUP > SETTINGSand select the tabNOTIFICATIONS - Goto the part labeled:
CUSTOM HTTP/ACTION- Set field
EnabledChecked - In field
URL/Actionenter the URL for Rhasspy. E.g.:http://localhost:12101/api/text-to-speech - In field
POST Data: enter#MESSAGE - In field
POST Content-Type: entertext/plain - Do not forget to push button:
Apply Settings
- Set field
Then create (spoken) notification(s):
- In Domoticz select the tab
SWITCHES,TEMPERATURE,WEATHERorUTILITY - Click on
NOTIFICATIONof the switch or sensor - Add a notification:
- Enter your notification parameters:
Type:,When:,Value:,Priority: - In field
Custom Message: enter your text to speak. E.g.:the tablelamp is switched on - In field
Active Systems: enable ONLYhttp
- Enter your notification parameters: