Re: SONOS Plugin
Posted: Thu Jan 02, 2014 7:25 pm
Thanks! I'll check it out. That should help a lot.
-Chase
-Chase
SWEET.Jostein wrote:
Hope you dont mind but i put together a plugin with the basic commands using your scripts.
This sounds great. maby it is also possible to have the weather info as a seperate action.techoguy wrote: Currently as a proof of concept, i'm just using the Speech plugin and the PCs audio out to SONOS Aux audio input. This is the easiest method to allow for any spoken notification up front. I currently have my own function that calls the yahoo weather API and speaks the current temperature and the forecast of the day but it can be changes to say what ever I want.
I am not sure either. So using the aux input would probarly work just as well.techoguy wrote: Off hand i'm not sure how I could have text to speech in such a way that it would automatically save a file in a fast manner so that there is no delay to then play it on SONOS. I'm not that familiar with trying to create MP3 files in that way.
Do you already have a script for this, if you do i can try to make it into a action myself.techoguy wrote: Having pre-recorded notifications that play over SONOS would be easy as well but you would have to make all those recordings you want and the MP3s would have to be on a shared network location for SONOS to see. This would not have to be part of any SONOS playlist or queue. I can simply give the address and tell it to play it
Sounds like the best way. Would it also be possible to return the grouping back to how it was after?techoguy wrote: My current action is completely enclosed into my own plugin such that you call one action by giving it a string to say and the ZP to play it on and it does everything for you. But, for more flexibility and slightly easier implementation, i'm thinking of breaking it up into 2 actions such that you can run any eventghost action during the notification time:
1) SONOS - Action:Notification (sets selected ZPs to selected Aux input or Audio stream)
2) run what ever action within eventghost you want (Speech action, text to speech might be most common)
3) SONOS - Action:Resume playing ZPs
I do plan on leaving it in as it's own action. you'll put in the zip code and then it'll do it's thing. Is the zip code the right way to get weather or is there a better universal way for anywhere in the world?This sounds great. maby it is also possible to have the weather info as a seperate action.techoguy wrote:
Currently as a proof of concept, i'm just using the Speech plugin and the PCs audio out to SONOS Aux audio input. This is the easiest method to allow for any spoken notification up front. I currently have my own function that calls the yahoo weather API and speaks the current temperature and the forecast of the day but it can be changes to say what ever I want.
I don't. I'll look into adding that once I've completed the other actions and events. I'm pretty much rewriting the plugin to be more efficient and include events for everything.Do you already have a script for this, if you do i can try to make it into a action myself.techoguy wrote:
Having pre-recorded notifications that play over SONOS would be easy as well but you would have to make all those recordings you want and the MP3s would have to be on a shared network location for SONOS to see. This would not have to be part of any SONOS playlist or queue. I can simply give the address and tell it to play it
The notifications won't affect the current group topology so they will be left as is during notifications. Basically i'll play the notification on all zones (or at least the ones you select) and because they won't be all grouped there might be slight delays but for a quick notification that seems to be fine compared to trying to group everything, then ungroup considering the time delay to actually group zps.Sounds like the best way. Would it also be possible to return the grouping back to how it was after?
Hi,techoguy wrote:
-- I have tested the playlists/stations with Songza, Pandora, Slacker, RadioStations, and Spotify. It should work with any others as long as the station or playlist has been saved to your favorites in SONOS first. Please let know if you have issues with any other services.
No. I can't even configure the StartPlayList-action.When i doubleclick to configure i get the error mentioned.kalinkamaen wrote:Are you trying to start a playlist on a unit that is allready bounded to a group?
Yes. I have 2 Spotify-playlists and 2 radio channels under Sonos Favorites.kalinkamaen wrote:Are you sure that you have playlists in sonos favorites and not Sonos playlists?