Sonos integration

General Discussion

Sonos integration

Postby shermaniiv » Tue May 24, 2016 7:13 am

Anyone ever integrate with sonos? Ideally I'd like my fire/co zones to cause music to stop playing and trigger a specific playlist (warning sounds) to kick off. I found a node.js api for sonos, just not sure how to get the decoder to run the script on an alarm.
shermaniiv
newt
newt
 
Posts: 3
Joined: Tue May 24, 2016 7:09 am

Re: Sonos integration

Postby kevin » Tue May 24, 2016 10:38 am

You can likely achieve this using the REST API or you can write a custom python script using the alarmdecoder python library that uses the event handlers documented such as on_alarm to send data to your sonos.

If the sonos has an API you can GET/POST to, you can possibly do it through a 'custom notification' as well.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests

cron