Dynamic announcements with Node Sonos Http API
Posted: Tuesday 20 March 2018 21:44
I have Node Sonos Http API installed on my pi, so that I can fire a hook to announce the doorbell sound, however I'd really like to make this more of a feature in Domoticz, using the 'Say' command.
It allows any string of text to be announced on the Sonos speakers, by firing a URL such as http://127.0.0.1:5005/SayAll/Hello%20there/ (which would say 'Hello there').
Is there a way I can access the values of devices in Domoticz, and use these to announce them in the same way? In combination with this, I can then build Blockly scripts that will allow me to announce realtime values of devices and sensors by using a single script.
Any ideas?
https://github.com/jishi/node-sonos-http-api
It allows any string of text to be announced on the Sonos speakers, by firing a URL such as http://127.0.0.1:5005/SayAll/Hello%20there/ (which would say 'Hello there').
Is there a way I can access the values of devices in Domoticz, and use these to announce them in the same way? In combination with this, I can then build Blockly scripts that will allow me to announce realtime values of devices and sensors by using a single script.
Any ideas?
https://github.com/jishi/node-sonos-http-api