Page 1 of 1

Voice notifications python script

Posted: Saturday 25 May 2019 18:56
by moengiant
I wrote a simple notification script that uses pychromecast and gTTS to speak notifications to any Chromecast device.

You can download it at my gitHub -https://github.com/moengiant/DomoNotify

1) Put the script in scripts/python
2) Add a notification to a device and pass the vars to the script using the following parameters: "Notification message" "Chromecast device name"
3) In settings-> notifications change the URL/action field under the Custom HTTP/Actions settings to the following: script://scripts\python\notify.pyw #MESSAGE (this path works on Windows 10 - path for other operating systems may be different)

Cheers