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
Voice notifications python script
Moderator: leecollings
-
- Posts: 28
- Joined: Monday 25 January 2016 6:33
- Target OS: Windows
- Domoticz version:
- Contact:
Voice notifications python script
I'd rather have a bottle in front of me than a frontal lobotomy
Who is online
Users browsing this forum: No registered users and 1 guest