View unanswered posts | View active topics It is currently Sat Apr 19, 2014 11:42 pm



Reply to topic  [ 341 posts ]  Go to page: Previous  1 ... 14, 15, 16, 17, 18, 19, 20 ... 23  Next
 Sonos - The Beginning 
Author Message

Joined: Jun 10, 2011
Posts: 257
Post Re: Sonos - The Beginning
That did it!!!!!! Running error free

Playlist working as it should. Will try other commands after Mothers day.

THANKS


Sun May 13, 2012 10:20 am
Profile

Joined: Jun 02, 2008
Posts: 134
Location: Ireland
Post Re: Sonos - The Beginning
Getting the below constantly repeating, is there something i need to change ?

Reloading plugin "Sonos 0.3.6"
Stopping plugin "Sonos 0.3.6" (pid 6096)
Plugin "Sonos" disconnected
Starting plugin "Sonos 0.3.6" (pid 6099)
Plugin "Sonos" connected
Plugin "Sonos 0.3.6" started
Sonos LineIn: RINCON_000E5854460E01400, Line-In
Sonos LineIn: RINCON_000E58125A8201400, Sky HD
Sonos LineIn: RINCON_000E5830D74801400, Mac mini
Sonos Saved Plugin Configuration
Sonos Playlist: SQ:1, Playlist1, file:///jffs/settings/savedqueues.rsq#1
Sonos RadioTime Favorite Station: R:0/0/0, RTÉ Radio 1, x-sonosapi-stream:s15066?sid=254&flags=32
Error device state key Q_Crossfade not defined (ignoring update request)
Error device state key Q_Repeat not defined (ignoring update request)
Error device state key Q_Shuffle not defined (ignoring update request)
Error device state key Q_Crossfade not defined (ignoring update request)
Error device state key Q_Repeat not defined (ignoring update request)
Error device state key Q_Shuffle not defined (ignoring update request)
Error device state key Q_Crossfade not defined (ignoring update request)
Error device state key Q_Repeat not defined (ignoring update request)


Sun May 13, 2012 1:12 pm
Profile

Joined: Dec 20, 2010
Posts: 684
Post Re: Sonos - The Beginning
You need to recreate the ZonePlayer devices. I adds those states very recently.


Sun May 13, 2012 1:14 pm
Profile WWW

Joined: Jun 02, 2008
Posts: 134
Location: Ireland
Post Re: Sonos - The Beginning
Perfect, many thanks, and a huge thank you for all the work on the plugin. Is there a way to ungroup / reset a zone player prior to a new action ?

For example, 2 zone players grouped together and i have a schedule that i only want to play on one zp so need to ungroup prior to starting new task


Sun May 13, 2012 1:29 pm
Profile

Joined: Nov 25, 2010
Posts: 315
Location: Suffolk - UK
Post Re: Sonos - The Beginning
If the code is updated again, is there a way of not having to recreate the devices? I think idigo deletes all the related code each time a device is deleted, or is this just me?

I've just spent a few hours intergrating sonos with the house and would rather not have to do it again :D

All working well here!


Sun May 13, 2012 1:58 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 13211
Location: Texas
Post Re: Sonos - The Beginning
nlargaros - you can call stateListOrDisplayStateIdChanged() on the individual devices when they need to be updated (from within the plugin), and Indigo will pull the state list info from the plugin.

_________________
Image


Sun May 13, 2012 2:22 pm
Profile WWW

Joined: Dec 20, 2010
Posts: 684
Post Re: Sonos - The Beginning
Matt - This is very cool. I just tried it out. One line of code and now the devices will auto-update states. The Indigo API is becoming quite extensive.

Mat and all - no need to re-create devices any longer. What I was doing before adding this line of code, was to change the plugin type and then change back to my plugin to avoid losing all associated actions and triggers.


Sun May 13, 2012 3:27 pm
Profile WWW

Joined: Dec 20, 2010
Posts: 684
Post Re: Sonos - The Beginning
wiery - I'm just up to the point now where I want to figure out how to handle ZonePlayer groups. Hopefully I'll have something to test out in the next week or two.


Sun May 13, 2012 3:43 pm
Profile WWW

Joined: Dec 20, 2010
Posts: 684
Post Re: Sonos - The Beginning
Spent just a few minutes playing with Zone Grouping. Nothing too fancy, but here is another update to try out:

v0.3.7 - 05/14/2012
  • Added code to avoid having to re-create ZonePlayer devices on plugin updates
  • Added two state variables to track group topology (GROUP_Coordinator, GROUP_Name)
  • Added Zone Group actions: Add ZonePlayer to Group, Set ZonePlayer to Standalone
  • Added Next Track states (ZP_NALBUM, ZP_NART, ZP_NARTIST, ZP_NTRACK) - currently only populating for Internet Radio when available

Terry - don't get excited yet. I don't do anything fancy like saving states. I know that is on your list and I have a couple of ideas, but it will require significant coding so give me a couple of weeks.


Mon May 14, 2012 6:11 pm
Profile WWW

Joined: Dec 20, 2010
Posts: 684
Post Re: Sonos - The Beginning
And one note: I have to add logic to handle ZonePlayer updates when they are part of a group. It doesn't quite mesh right now, but no time to deal with it.


Mon May 14, 2012 6:16 pm
Profile WWW

Joined: Jun 10, 2011
Posts: 257
Post Re: Sonos - The Beginning
Tested the add zone and standalone commands and both worked fine.

When I updated to new version, I noticed something for consideration.
For some reason (i think due to sonos update due) one of my zone players had dropped out of the sonos system. I was getting a lot of errors in event log some of which mentioned the dropped player which brought it to my attention. I updated the player and re-added to sonos system and the plugin quit sending errors.
This is longwinded way to ask. Doe we need some type of check and code to allow the plugin to function even with a missing player? It may not be necessary as my experience shows sonos to be very reliable with rare issues, but I thought I would mention for consideration?


Tue May 15, 2012 8:42 am
Profile

Joined: Nov 25, 2010
Posts: 315
Location: Suffolk - UK
Post Re: Sonos - The Beginning
Or geekier still, and low on the priotity list, but alert through indigo that an update is pending!

I love automation. Caught my 9 year old automating his curtains with 20 foot of string tonight!

Latest update working well here, and can link zones!

Mat


Tue May 15, 2012 12:47 pm
Profile

Joined: Jun 02, 2008
Posts: 134
Location: Ireland
Post Re: Sonos - The Beginning
I'm getting the following error, i deleted all the zones again, even though i didn't need to due to code update and this error only started to re-occur when i added the living room zone which is a ZP100

Error device state key ZP_NSTATION not defined (ignoring update request)


Tue May 15, 2012 2:17 pm
Profile

Joined: Dec 20, 2010
Posts: 684
Post Re: Sonos - The Beginning
wiery - had an unnecessary line in the code. pull down the (revised) latest version and you should be good to go.


Tue May 15, 2012 3:18 pm
Profile WWW

Joined: Jun 02, 2008
Posts: 134
Location: Ireland
Post Re: Sonos - The Beginning
Many Thanks for that, just curious as to whats next on your mind for the plugin


Sat May 26, 2012 3:21 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 341 posts ]  Go to page: Previous  1 ... 14, 15, 16, 17, 18, 19, 20 ... 23  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.