www.homeseer.com    
 

Go Back   HomeSeer Message Board > Media Plug-ins > Media Discussion > PI-SonosController (3P)

PI-SonosController (3P) Discussion of Sonos Controller Plug-in

Reply
 
Thread Tools Display Modes
  #1  
Old April 16th, 2015, 11:51 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
HS3 Linux and Windows SONOS PI version

Subscribe to this Thread so you get an email when a new version is posted

Post here your questions/remarks when you are testing a Beta version of the plug-in. If you open up a new thread, make sure you reference it being about the HS3 version of the PI to avoid I would have to ask each time. Secondly, when seeing a problem, before you post, search the forum for any prior postings. If nothing can be found; before you post, turn the debug flag on! Do whatever it was you were doing and append the debug log to the post. I get too many request "such and such doesn't work" but no further information. If you use events or triggers, make screenshots of the triggers/actions and attached them. If it is about linking/unlinking issues, make a screenshot of the Sonos config page and attach it. You make screenshots by hitting Cntrl-PrintScreen, open up Paint (for Windows users) and paste what was captured, save it and attach file to your posting.

Changes to v3.1.0.22
  • Save/Restore All players not working
  • Fixed announcement path delimiters which seems to give an issue with latest HS version 332/333
  • Added triggers and conditions for Announcements
  • Fixed an error retrieving artwork over a HTTPS connection
  • Fixed error retrieving artwork with getaa?s=1&
Changes to v3.1.0.20
  • Some art was missing for Amazon Prime services. Next art worked but current didn't
  • Filtering of devices in triggers wasn't working and showing Sonos devices
  • The function SetDeviceString, updating the player status wasn't called properly, therefore not firing off events to other PIs such as EasyTrigger
Changes to v3.1.0.18
  • Lost some fixes from version 15 wrt zone renaming, Apple Music meta data process
  • Added support for S6 (ex-S5) and S12 player (ex S1).

Changes to v3.1.0.16
  • found issue where players remain off-line or are not added when multiple new players are discovered by the PI w/i < 3 seconds
  • reintroduced the 5 minute rediscovery
Changes to v3.1.0.15
  • Implementation with HST/MediaAPI; as of HS Server version 103, the MediaAPI for multipleinstance seems to be fixed. With Sonos PI version 15 and above, there is now a setting in the Sonos config screen to enable the MediaAPI. After enabling it, you will have to restart HS. This function is very lightly tested and bound to be a source of future frustration so be forewarned. I'm not using it and don't plan on so I won't be able to recreate issues with all kind of different clients. I did add some more customization support for those who embed the HTML player control page into their HST screens. The URL looks something like this: http://192.168.1.197:81/PlayerContro...E5859008A01400. A few new parameters were added:
    --- ?clientid=x set x to an integer and use different values on different clients trying to control the SAME player, say you have your phone and a built in panel in kitchen and you want to control for both the kitchen player.
    --- ?control=y with y having values QUEUE, NAVPANE, NAVTREE, NAVCONTROL which will create an embed-able piece of what was on the HTML Player control page
    --- Examples: http://192.168.1.197:81/PlayerContro...ontrol=navpane
    --- http://192.168.1.197:81/PlayerContro...&control=queue
    --- http://192.168.1.197:81/PlayerContro...ontrol=navtree
    --- http://192.168.1.197:81/PlayerContro...rol=navcontrol
  • fixed an issue for an event with multiple speak commands in one single event with symptoms of linking properly but not playing at all.
  • added a new Event/Action to GROUP a player, which will cause the players to join an existing grouping if one exist, else it is equal to linking
  • Track info is not coming true properly for Apple Music content
  • If you have paired players, when they are discovered while paired, they show up with the same name. They will now be renamed automatically else they cause issues with Alexa's integration and duplicate devices
  • Delete all players seems to be broken. Suspect changes in HS3 caused it. Fixed
Changes to v3.1.0.13
  • Support multiple speaker clients in a single event
  • Voice tags will be lifted from announcement text to change preferred voice
  • Fixed issue with play-state-change trigger event missing when zones are linked
  • Fixed issue where the track position counter keeps counting up after initially linking players
  • Fixed some issue with name change of players when paired
  • Fixed some issues w/ Playbars paired to S1 players
  • Heavy logging of the PI under Linux causes resource leaks, fixed.
  • Fixed issue with international character set (in this case Norwegian) in zone names.
Changes to v3.1.0.11
  • Fixed another issues w/ UPNP device discovery. This time when the PI starts and there are zero devices to be found, none will be added later
  • The installer will now have 2 version of the System.Data.SQLite.dll. One for Linux installs and one for Windows installs.
  • Cleaned up some code when there is unsuccessful DB access in Linux, causing hanging file handles
  • Fixed an issue where Favorites couldn't be played from the player control web page (and I assume events)
  • Fixed issue w/ playbar, where HS status device isn't updated properly
  • Alarm events were broke. Fixed now
Changes to v3.1.0.4
  • Fixed some more issues w/ UPNP device discovery
  • Fixed an issue where you cannot navigate anymore in the player config page
  • Fixed an issue for Firefox users where the navigation list box on the bottom left doesn't render properly
Changes to v3.1.0.3
  • Fixed some issues w/ UPNP device discovery
  • Added Playbar support
Changes to v3.1.0.2
  • Made allocation of TCP listener port dynamic. This should fix issues where your device states are not dynamically updated
  • Added a debug option (Display Sonos Devices) under the Sonos Config Page to display UPNP info, to help debug issues such as soundbar problems


Good news for Linux users.

I've sent an new version called v3.1.0.x (instead of v3.0.0.x) that has significant changes for Linux.

The changes are:

1/ the UPNP system is now home grown so no more need to rely on SDDP/UPNP from windows. That actually means you might be able to run it on Windows Server versions that don't support UPNP.
2/ The dependency on the windows based DB has been removed in favor of a SQL based DB. For Window users, this means that your databases are hosed. For the music DB, this really isn't an issues as they are always deleted and recreated when something in your Sonos DB change, but the learned radiostations DB will be gone and you have to relearn your stations simply by selecting and playing them. All else on Windows should stay the same, including your devices, events etc.

So going forward, at one point in time, v3.0.0.x will cease to exist and only one version (Linux+Windows) will be supported.

The updater will have the Windows only version in the "official released Media PI section", whereas I'm going to place the Linux+Windows version in the "Beta section" of the updater. For new users, I would highly recommend to start with this new beta from day one. For courageous souls who are currently running on Windows, you would help me to switch to the new version and let me know of issues. I have been running this new version for many months now and the MediaController PI has the same underlying Linux/UPNP fundamentals and that has been in the updater for many months now without complains (maybe no users ). On my Windows PI, just by changing the HSPI_Sonos.exe from version 3.0 to 3.1, I switch between old and new version without any issues.

So look for it in the updater, hopefully tomorrow or in the next few days.

Post issues with the new version 3.1.0.x here all else in the other threads.

Dirk

Last edited by dcorsus; October 2nd, 2017 at 11:43 PM.
Reply With Quote
  #2  
Old April 17th, 2015, 12:36 AM
PosterBoy PosterBoy is offline
Seer
 
Join Date: May 2008
Location: Arizona
Posts: 45
Awesome I will crank it up over the weekend.

Does you homegrown UPNP code fix the issue where you could not trigger on the event of an alarm occurring?

Thanks for your work

Kent
Reply With Quote
  #3  
Old April 17th, 2015, 01:14 AM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by PosterBoy View Post
Does you homegrown UPNP code fix the issue where you could not trigger on the event of an alarm occurring?
It should!
Reply With Quote
  #4  
Old April 21st, 2015, 05:07 PM
gerlin gerlin is offline
Seer Plus
 
Join Date: Feb 2006
Location: Reno, NV
Posts: 107
Dirk,

It has been a long time since I posted anything regarding the Sonos plugin. I am finally pushing myself from HS2 to HS3 and see you have a new version that may again allow alarm events.

I used to have several scripts that did things like turn off the alarm system, gradually turn on some lights, the coffee maker, the TV and set the source and channel to the news.

I am hoping I can get back to that level of automation based on using Sonos as the alarm clock. Unfortunately all of my "complex" scripting was done in perl, which is supposed to work (with HS3 Windows), though I can't get it to process even the simplest of scripts. Oh well, perhaps time to re-script I guess.

So anyway, I know in the HS2 versions I have been using lately it is normal to see an error message or two in the logs. I am seeing one with this new version of the plugin...

Apr-21 1:50:33 PM Sonos Error Error in DirectConnect for zoneplayer = Family Room when getting the AudioInputName with Error = Conversion from string "" to type 'Boolean' is not valid.

I get this for each player.

FYI... I installed the Windows only version of the plugin about a week ago and replaced it with this one last night. I rebuild the DB, though that is all I have done. I have not "played" with it at all.

I don't know if this is expected, due to my update or ???

I have captured my startup and Sonos logs. If you want them, just let me know.

Thanks,

Lou
__________________
HSPro virtual under ESXi Win7-32 | SONOSCONTROLLER | UltraM1G | UltraLog | Script Connector | pjcNetwork | Skype Connector | UltraWeatherBug | AC-RF2 Processor | USB-UIRT Interface | Perl | VB.NET | Z-Wave: Schlage Locks, Trane Thermostats, Lights | Elk Mi Alarm | W800 USB Receiver | Sonos Audio |
Reply With Quote
  #5  
Old April 21st, 2015, 05:11 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by gerlin View Post
So anyway, I know in the HS2 versions I have been using lately it is normal to see an error message or two in the logs. I am seeing one with this new version of the plugin...

Apr-21 1:50:33 PM Sonos Error Error in DirectConnect for zoneplayer = Family Room when getting the AudioInputName with Error = Conversion from string "" to type 'Boolean' is not valid.
Just cosmetic but I'll fix it. Was this a Linux machine or Windows?
Dirk
Reply With Quote
  #6  
Old April 21st, 2015, 07:00 PM
gerlin gerlin is offline
Seer Plus
 
Join Date: Feb 2006
Location: Reno, NV
Posts: 107
Quote:
Originally Posted by dcorsus View Post
Just cosmetic but I'll fix it. Was this a Linux machine or Windows?
Dirk

Windows, thanks.
Reply With Quote
  #7  
Old April 28th, 2015, 12:04 AM
PosterBoy PosterBoy is offline
Seer
 
Join Date: May 2008
Location: Arizona
Posts: 45
Hi Dirk

I finally got a little time to get my system up. Upon install I got these messages. Same message for each zone added. Anything to worry about?

4/27/2015 9:05:59 PM : DirectConnect called for Zone Meredith with device name = uuid:RINCON_000E5813616201400 and Model = ZP100
09:05:59:8424:[Sonos]->DirectConnect called for Zone Meredith with device name = uuid:RINCON_000E5813616201400 and Model = ZP100
4/27/2015 9:06:00 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:06:00:3626:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:06:00 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:06:00:3637:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
4/27/2015 9:06:01 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:06:01:0923:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:06:01 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:06:01:0934:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
4/27/2015 9:06:01 PM : CreateOneSonosController: Created instance of ZonePlayerController for Zoneplayer = Meredith with index 5
09:06:01:1057:[Sonos]->CreateOneSonosController: Created instance of ZonePlayerController for Zoneplayer = Meredith with index 5
09:06:01:1099:[Info]->Plugin Sonos with instance RINCON_000E5823534A01400 has connected. IP:127.0.0.1:55480
4/27/2015 9:06:01 PM : InitIO Called for Instance = RINCON_000E5823534A01400 and running on OS = Unix
09:06:01:2627:[Sonos]->InitIO Called for Instance = RINCON_000E5823534A01400 and running on OS = Unix


This occurs on restarts for each zone
4/27/2015 9:17:02 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:17:02:7381:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:17:02 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:17:02:7392:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
4/27/2015 9:17:03 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:17:03:4303:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:17:03 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:17:03:4315:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll


Thanks

Kent

Last edited by PosterBoy; April 28th, 2015 at 12:18 AM.
Reply With Quote
  #8  
Old April 28th, 2015, 01:21 AM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by PosterBoy View Post
Hi Dirk

I finally got a little time to get my system up. Upon install I got these messages. Same message for each zone added. Anything to worry about?

4/27/2015 9:05:59 PM : DirectConnect called for Zone Meredith with device name = uuid:RINCON_000E5813616201400 and Model = ZP100
09:05:59:8424:[Sonos]->DirectConnect called for Zone Meredith with device name = uuid:RINCON_000E5813616201400 and Model = ZP100
4/27/2015 9:06:00 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:06:00:3626:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:06:00 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:06:00:3637:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
4/27/2015 9:06:01 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:06:01:0923:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:06:01 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:06:01:0934:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
4/27/2015 9:06:01 PM : CreateOneSonosController: Created instance of ZonePlayerController for Zoneplayer = Meredith with index 5
09:06:01:1057:[Sonos]->CreateOneSonosController: Created instance of ZonePlayerController for Zoneplayer = Meredith with index 5
09:06:01:1099:[Info]->Plugin Sonos with instance RINCON_000E5823534A01400 has connected. IP:127.0.0.1:55480
4/27/2015 9:06:01 PM : InitIO Called for Instance = RINCON_000E5823534A01400 and running on OS = Unix
09:06:01:2627:[Sonos]->InitIO Called for Instance = RINCON_000E5823534A01400 and running on OS = Unix


This occurs on restarts for each zone
4/27/2015 9:17:02 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:17:02:7381:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:17:02 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:17:02:7392:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
4/27/2015 9:17:03 PM : Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
09:17:03:4303:[Sonos Error]->Error in CreateRadioStationDatabase for zoneplayer = Meredith with error = SQLite.Interop.dll
4/27/2015 9:17:03 PM : UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll
09:17:03:4315:[Sonos Error]->UpdateRadioStationsInfo unable to open DB for zoneplayer = Meredith with error- SQLite.Interop.dll


Thanks

Kent
I have the same error, haven't had time to figure what is wrong with the install.

Stay tuned and thanks for posting

Dirk
Reply With Quote
  #9  
Old April 28th, 2015, 11:18 AM
gerlin gerlin is offline
Seer Plus
 
Join Date: Feb 2006
Location: Reno, NV
Posts: 107
Dirk,

As I mentioned previously I am working on moving from HS2 to HS3.

On the HS3 system I have had inconsistent behavior with this new plugin. I noticed that when the track changes on a playlist, the artwork doe not update (either on the hs device web page or hstouch). Even after closing the web browser and going back in. I was seeing this even when I am not getting the errors below in the log.

Also some of the events for shuffle, repeat did not seem to work, In the past I would see changes made via HS reflected in the Sonos PC client. i was not seeing that.

Though it has gotten worse.

I also loose the ability to control Sonos completely fairly frequently. I am seeing this in my logs for all my zones:

Error in myDeviceFinderCallback_DeviceFound for zoneplayer = . Some crucial services are not on-line. The plug-in cannot work for this zone

Does this error represent a service on my HS server, or something on my Sonos system?

I have also noticed (since installing this), that even the Sonos PC and Android clients are giving me errors on occasion. (Like cannot save alarm, try later). Usually after a couple of errors it works.

At this point I am currently running both the HS2 and HS3 with the Sonos plug-in running. Is this okay, or could this be causing an issue?

Also on HS3, I did first have you Windows only versions running and updated from the HS updater. Could there be something I should cleanup after switching?

I am planning on shutting down the HS2 plugin (at least for a test), and powering cycling all of my Sonos devices to see if that clears it up, though I though I would ask about this error while I had a moment.

This is running on Windows. Do I need to make any changes to the Windows UPNP configuration?

FYI... I have not attempted any Sonos scripting on the HS3 system yet, so I am not introducing any instability there. I may have some active scripts on the HS2 system, though they have not been touched in over a year.

Any help is appreciated.

Thanks,

Lou


Reply With Quote
  #10  
Old April 28th, 2015, 01:28 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by gerlin View Post
Dirk,

As I mentioned previously I am working on moving from HS2 to HS3.

On the HS3 system I have had inconsistent behavior with this new plugin. I noticed that when the track changes on a playlist, the artwork doe not update (either on the hs device web page or hstouch). Even after closing the web browser and going back in. I was seeing this even when I am not getting the errors below in the log.

Also some of the events for shuffle, repeat did not seem to work, In the past I would see changes made via HS reflected in the Sonos PC client. i was not seeing that.

Though it has gotten worse.

I also loose the ability to control Sonos completely fairly frequently. I am seeing this in my logs for all my zones:

Error in myDeviceFinderCallback_DeviceFound for zoneplayer = . Some crucial services are not on-line. The plug-in cannot work for this zone

Does this error represent a service on my HS server, or something on my Sonos system?

I have also noticed (since installing this), that even the Sonos PC and Android clients are giving me errors on occasion. (Like cannot save alarm, try later). Usually after a couple of errors it works.

At this point I am currently running both the HS2 and HS3 with the Sonos plug-in running. Is this okay, or could this be causing an issue?

Also on HS3, I did first have you Windows only versions running and updated from the HS updater. Could there be something I should cleanup after switching?

I am planning on shutting down the HS2 plugin (at least for a test), and powering cycling all of my Sonos devices to see if that clears it up, though I though I would ask about this error while I had a moment.

This is running on Windows. Do I need to make any changes to the Windows UPNP configuration?

FYI... I have not attempted any Sonos scripting on the HS3 system yet, so I am not introducing any instability there. I may have some active scripts on the HS2 system, though they have not been touched in over a year.

Any help is appreciated.

Thanks,

Lou


The error in your posting is caused by a "ghost" player, wrongly created by the v3.1.x.x PI version. Don't know how I get to those but I suspect there is some timing/load issue at init that I'm overlooking somehow. So go to the Sonos Config page, look at the Player table below, I suspect you'll find players that don't belong, just delete those.

As to your question on switching between version 3.0.0.21 and 3.1.0.1, apart from the music/radio DB being different, you should be OK, all else works the same. No need to mess with Window's UPNP setting, as long as it is running you should be OK.

Running HS2 and HS3 should not be a problem either, unless you have network BW issue or PC CPU-cycle/memory constrains.

The fact that the Sonos PC/Android APP is giving you problems might point to a network issue, which could be a network loop created by the Sonos devices themselves. I struggled for years on one player that I had to leave wireless because each time I physically connected it to my LAN, all players went crazy on me. They sat on different port of my router and I think my router was preventing certain packet/protocols from communicating what should have been an L2 network.

If you just got into HS3, perhaps stick with the "older" Window's only version (v3.0.0.21) until I can get my head around what might be going on and probably add debug capabilities so we can "navigate" through what my own UPNP subsystem has discovered and more importantly, what might it have missed. There are many people running this version with few complains, so if it doesn't run for you, something else is happening in your setup so we'll have to take it an issue at the time.

Dirk
Reply With Quote
  #11  
Old April 28th, 2015, 02:31 PM
gerlin gerlin is offline
Seer Plus
 
Join Date: Feb 2006
Location: Reno, NV
Posts: 107
Quote:
Originally Posted by dcorsus View Post
The error in your posting is caused by a "ghost" player, wrongly created by the v3.1.x.x PI version. Don't know how I get to those but I suspect there is some timing/load issue at init that I'm overlooking somehow. So go to the Sonos Config page, look at the Player table below, I suspect you'll find players that don't belong, just delete those.

As to your question on switching between version 3.0.0.21 and 3.1.0.1, apart from the music/radio DB being different, you should be OK, all else works the same. No need to mess with Window's UPNP setting, as long as it is running you should be OK.

Running HS2 and HS3 should not be a problem either, unless you have network BW issue or PC CPU-cycle/memory constrains.

The fact that the Sonos PC/Android APP is giving you problems might point to a network issue, which could be a network loop created by the Sonos devices themselves. I struggled for years on one player that I had to leave wireless because each time I physically connected it to my LAN, all players went crazy on me. They sat on different port of my router and I think my router was preventing certain packet/protocols from communicating what should have been an L2 network.

If you just got into HS3, perhaps stick with the "older" Window's only version (v3.0.0.21) until I can get my head around what might be going on and probably add debug capabilities so we can "navigate" through what my own UPNP subsystem has discovered and more importantly, what might it have missed. There are many people running this version with few complains, so if it doesn't run for you, something else is happening in your setup so we'll have to take it an issue at the time.

Dirk
As always, thanks for the quick reply.

Sure enough, I have two additional players with no name and both have the same IP as one of my real players. I will delete these.

My network has been pretty solid in the past (though that could have chaged), I only have three players and they are all physically connected to the LAN. If I continue to have issues I will try to see if going wireless on one or two helps.

Also, I may try switching back and forth between the two versions of the plugin to help isolate if any of my issues are directly related to my use of the new plugin or something more general in my configuration.

Again, thanks for the help, you have given me a few things to try to help get this a little more stable.

Lou
Reply With Quote
  #12  
Old April 29th, 2015, 07:06 AM
JazzmanJohn JazzmanJohn is offline
Seer
 
Join Date: Jan 2014
Location: New England
Posts: 73
Question Some errors in 3.1.0.1...

I just upgraded the PI to ver 3.1.0.1 and seem to be having some functional difficulty.

In particular it seems some of the PI status reporting functions are not working. At first I thought it was in my HSTouch setup. But upon further exam it appears to be in the Module's Player Pages as well.

Specifically, the artwork is not updating, nor the volume, track, album and artist values.

Control seems fine. So, I can jump to previous or next track as well as select a specific track in the list.

I did notice the following error in the startup log.

4/29/2015 5:58:33 AM ~!~Sonos Error~!~MyTcpListener.Start had an error while start listening on HostAddress = 192.168.1.xxx and HostIPPort = xxxxx with Error = Only one usage of each socket address (protocol/network address/port) is normally permitted

Until this update, the PI has been solid.

Any ideas? Can I run any tests for you?

Thanks
Reply With Quote
  #13  
Old April 29th, 2015, 10:11 AM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by JazzmanJohn View Post
I just upgraded the PI to ver 3.1.0.1 and seem to be having some functional difficulty.

In particular it seems some of the PI status reporting functions are not working. At first I thought it was in my HSTouch setup. But upon further exam it appears to be in the Module's Player Pages as well.

Specifically, the artwork is not updating, nor the volume, track, album and artist values.

Control seems fine. So, I can jump to previous or next track as well as select a specific track in the list.

I did notice the following error in the startup log.

4/29/2015 5:58:33 AM ~!~Sonos Error~!~MyTcpListener.Start had an error while start listening on HostAddress = 192.168.1.xxx and HostIPPort = xxxxx with Error = Only one usage of each socket address (protocol/network address/port) is normally permitted

Until this update, the PI has been solid.

Any ideas? Can I run any tests for you?

Thanks
This error might actually be the smoking gun on why some people (yourself included) don't get updates.

Is this IPPort used by another program or blocked perhaps? Which IpPort was it? If you do a search in your log (use the filter), do you see this port referenced anywhere else?

By the way, I realize people are concerned posting too much info here, but when a hacker manages to get into your local network, him not knowing your local IP address/IPPort assignment is the least of your worries at that point It is public IP addresses one should keep closer to your vest. You can always send me a private email

Dirk
Reply With Quote
  #14  
Old April 29th, 2015, 11:22 AM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by gerlin View Post
Dirk,

As I mentioned previously I am working on moving from HS2 to HS3.

On the HS3 system I have had inconsistent behavior with this new plugin. I noticed that when the track changes on a playlist, the artwork doe not update (either on the hs device web page or hstouch). Even after closing the web browser and going back in. I was seeing this even when I am not getting the errors below in the log.

Also some of the events for shuffle, repeat did not seem to work, In the past I would see changes made via HS reflected in the Sonos PC client. i was not seeing that.

Lou, can you check your log file (you may have deleted it though) for an error, something similar to this one

4/29/2015 5:58:33 AM ~!~Sonos Error~!~MyTcpListener.Start had an error while start listening on HostAddress = 192.168.1.xxx and HostIPPort = xxxxx with Error = Only one usage of each socket address (protocol/network address/port) is normally permitted
Reply With Quote
  #15  
Old April 29th, 2015, 01:12 PM
JazzmanJohn JazzmanJohn is offline
Seer
 
Join Date: Jan 2014
Location: New England
Posts: 73
Question re: Some errors in 3.1.0.1...

Dirk,

I've tried reverting back to 3.0.0.21 but am having difficulty getting the plug-in to work correctly. The SONOS Config page launches alright and seems to have all the players listed, but I cannot actually launch any of the players (HS3 comes back with a blank page).

In trying to roll back the PI, I copied the Help Files, Image Files and HSPI_Sonos.exe from the 3.0.0.21 directory into the appropriate live directories.

Ids there a changed DLL or something else I may have missed?

Thanks in advance,

John
Reply With Quote
  #16  
Old April 29th, 2015, 01:19 PM
JazzmanJohn JazzmanJohn is offline
Seer
 
Join Date: Jan 2014
Location: New England
Posts: 73
Smile Re: Some errors in ver 3.1.0.1...

BTW, interestingly, although the HS3 web pages for the SONOS players do not work, the status and controls on my HSTouch screens are all functioning now (that I have rolled back to 3.0.0.21). Artwork, volume status and track position are all updating and I still have control of all transport functions.
Reply With Quote
  #17  
Old April 29th, 2015, 01:22 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by JazzmanJohn View Post
Dirk,

I've tried reverting back to 3.0.0.21 but am having difficulty getting the plug-in to work correctly. The SONOS Config page launches alright and seems to have all the players listed, but I cannot actually launch any of the players (HS3 comes back with a blank page).

In trying to roll back the PI, I copied the Help Files, Image Files and HSPI_Sonos.exe from the 3.0.0.21 directory into the appropriate live directories.

Ids there a changed DLL or something else I may have missed?

Thanks in advance,

John
A simple install of the selected v3.0.0.21 from the updater should do. You may have to restart HS3, there have been some issue with weblinks not being cleaned up properly when the PI is stopped. I recently had some email stating it might be fixed in one of the last version of HS (171?).

Dirk

Last edited by dcorsus; April 29th, 2015 at 04:57 PM.
Reply With Quote
  #18  
Old April 29th, 2015, 01:23 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
Quote:
Originally Posted by JazzmanJohn View Post
BTW, interestingly, although the HS3 web pages for the SONOS players do not work, the status and controls on my HSTouch screens are all functioning now (that I have rolled back to 3.0.0.21). Artwork, volume status and track position are all updating and I still have control of all transport functions.
Restart HS3, issue with weblinks .... I suspect
Reply With Quote
  #19  
Old April 29th, 2015, 01:57 PM
JazzmanJohn JazzmanJohn is offline
Seer
 
Join Date: Jan 2014
Location: New England
Posts: 73
Smile Resolved...

Thanks Dirk. Back to where I was this morning before updating to that which was not intended for me! LOL
Reply With Quote
  #20  
Old April 29th, 2015, 09:36 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,491
New Sonos Windows/Linux HS3 version v3.1.0.2 posted

Should be in the updater under the BETA SECTION in next few days.

Changes to v3.1.0.2
  • Made allocation of TCP listener port dynamic. This should fix issues where your device states are not dynamically updated
  • Added a debug option (Display Sonos Devices) under the Sonos Config Page to display UPNP info, to help debug issues such as soundbar problems
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HS3 Insteon Plug-In Version 3.0.5.20 Release (Windows & Linux) mnsandler Insteon Plug-in (Mark Sandler) 30 June 22nd, 2015 12:31 PM
HS3 Insteon Plug-In Version 3.0.5.16 Release (Windows & Linux) mnsandler Insteon Plug-in (Mark Sandler) 45 March 24th, 2015 10:11 AM
Switching from Windows to Linux travisdh UltraGCIR HSPI 2 February 21st, 2015 11:34 AM
Sonos for Linux .. and not for the faint of heart dcorsus PI-SonosController (3P) 6 December 23rd, 2014 06:40 PM
HS3 Insteon Plug-In Version 3.0.5.9 Beta (Windows & Linux Compatible) mnsandler Insteon Plug-in (Mark Sandler) 40 December 8th, 2014 07:59 AM


All times are GMT -4. The time now is 10:03 PM.


Copyright HomeSeer Technologies, LLC