Announcement

Collapse
No announcement yet.

Annoucements not playing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Annoucements not playing

    I've an issue in that announcements do not play over Sonos (but they do play over other speakers).

    The zones correctly pause, group etc but no sound comes out and Sonos controller on phone gives error that it cannot connect to 172.17.186.81:8007.

    Other control of Sonos is fine (volume, play, pause etc).

    I'm guessing that it is looking for the wav file at this address but can't find it hence the error....however I don't know why it is looking there - my network is all 192.168.1.x . Am I on the right track?

    Any help would be very much appreciated.

    One final thing to note was I had an issue where all my Sonos players disappeared. In order to get them back I deleted all Sonos files in Homeseer directory and then reinstalled plugin. It may or may not be related. (Turns out was the issue is with .22 plugin - if I install that then I can't see any players, .21 is fine).

    Below is some of Sonos log...

    Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(AlbumArtURL) = /images/Sonos/NoArt.png Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentURI) = http://172.17.186.81:8007/Sonos/Anno..._Kitchen_0.wav Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(Album) = SonosController Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(title) = HomeSeer Announcement Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(Artist) = Dirk Corsus Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState (Streamcontent/Title) = Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen has trackposition = 0 Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and New CurrentplayerState = Stopped Feb-13 16:09:03 Sonos CurrentPlayerState Set for ZoneName = Kitchen. Value = Stopped Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and CurrentplayerState = Stopped Feb-13 16:09:03 Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 82 AnnouncementReEntry = False Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen has trackposition = 0 Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and New CurrentplayerState = Stopped Feb-13 16:09:03 Sonos CurrentPlayerState Set for ZoneName = Kitchen. Value = Stopped Feb-13 16:09:03 Sonos GetAlbumArtPath called for zone Kitchen with AlbumURI = http://172.17.186.81:8007/images/Sonos/Announcement.jpg and NextTrack = False Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(TransportStatus) = ERROR_CANT_REACH_SERVER Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentSection) = 0 Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentPlayMode) = NORMAL Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and CurrentplayerState = Stopped Feb-13 16:09:03 Sonos SetNbrOfTracks called for Zone - Kitchen with NbrOfTracks = 1 Feb-13 16:09:03 Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 83 AnnouncementReEntry = False Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(NumberOfTracks) = 1 Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrackDuration) = 0:00:00 Feb-13 16:09:03 Sonos SetTrackNbr called for Zone - Kitchen with TrackNbr = 1 Feb-13 16:09:02 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrack) = 1 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (% played) = 100 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Queue Position) = 1 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Track Duration) = 0:00:00 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Track Position Seconds) = 0 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Track Position) = 0:00:00 Feb-13 16:09:02 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen has trackposition = 0 Feb-13 16:09:02 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and New CurrentplayerState = Stopped Feb-13 16:09:02 Sonos CurrentPlayerState Set for ZoneName = Kitchen. Value = Stopped Feb-13 16:09:02 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and CurrentplayerState = Stopped Feb-13 16:09:02 Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 84 AnnouncementReEntry = False Feb-13 16:09:02 Sonos MPStatus found IPAddress = 192.168.1.59 in the list with Status = Success and FailedPingCount = 0 Feb-13 16:09:01 Sonos GetAlbumArtPath called for zone Kitchen with AlbumURI = http://172.17.186.81:8007/images/Sonos/Announcement.jpg and NextTrack = False Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (title) = HomeSeer Announcement Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (creator) = Dirk Corsus Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (album) = SonosController Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (Streamcontent/Title) = Feb-13 16:09:01 Sonos GetcurrentTrackInfo called GetPositionInfo for zoneplayer - Kitchen and MetaData http://172.17.186.81:8007/Sonos/Anno...nt.jpgHomeSeer Announcementobject.item.audioItem.musicTrackDirk CorsusSonosControllerDirk Corsus Feb-13 16:09:01 Sonos Kitchen TrackInfo(Source) = Tracks Feb-13 16:09:01 Sonos Kitchen TrackInfo (CurrentURI) = http://172.17.186.81:8007/Sonos/Anno..._Kitchen_0.wav Feb-13 16:09:01 Sonos Kitchen TrackInfo (albumArtURI) = http://172.17.186.81:8007/images/Sonos/Announcement.jpg Feb-13 16:09:01 Sonos Kitchen TrackInfo (album) = SonosController

  • #2
    Originally posted by budejake View Post
    I've an issue in that announcements do not play over Sonos (but they do play over other speakers).

    The zones correctly pause, group etc but no sound comes out and Sonos controller on phone gives error that it cannot connect to 172.17.186.81:8007.

    Other control of Sonos is fine (volume, play, pause etc).

    I'm guessing that it is looking for the wav file at this address but can't find it hence the error....however I don't know why it is looking there - my network is all 192.168.1.x . Am I on the right track?

    Any help would be very much appreciated.

    One final thing to note was I had an issue where all my Sonos players disappeared. In order to get them back I deleted all Sonos files in Homeseer directory and then reinstalled plugin. It may or may not be related. (Turns out was the issue is with .22 plugin - if I install that then I can't see any players, .21 is fine).

    Below is some of Sonos log...

    Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(AlbumArtURL) = /images/Sonos/NoArt.png Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentURI) = http://172.17.186.81:8007/Sonos/Anno..._Kitchen_0.wav Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(Album) = SonosController Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(title) = HomeSeer Announcement Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState(Artist) = Dirk Corsus Feb-13 16:09:04 Sonos TransportChangeCallback for player - Kitchen TransportState (Streamcontent/Title) = Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen has trackposition = 0 Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and New CurrentplayerState = Stopped Feb-13 16:09:03 Sonos CurrentPlayerState Set for ZoneName = Kitchen. Value = Stopped Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and CurrentplayerState = Stopped Feb-13 16:09:03 Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 82 AnnouncementReEntry = False Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen has trackposition = 0 Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and New CurrentplayerState = Stopped Feb-13 16:09:03 Sonos CurrentPlayerState Set for ZoneName = Kitchen. Value = Stopped Feb-13 16:09:03 Sonos GetAlbumArtPath called for zone Kitchen with AlbumURI = http://172.17.186.81:8007/images/Sonos/Announcement.jpg and NextTrack = False Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(TransportStatus) = ERROR_CANT_REACH_SERVER Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentSection) = 0 Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentPlayMode) = NORMAL Feb-13 16:09:03 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and CurrentplayerState = Stopped Feb-13 16:09:03 Sonos SetNbrOfTracks called for Zone - Kitchen with NbrOfTracks = 1 Feb-13 16:09:03 Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 83 AnnouncementReEntry = False Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(NumberOfTracks) = 1 Feb-13 16:09:03 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrackDuration) = 0:00:00 Feb-13 16:09:03 Sonos SetTrackNbr called for Zone - Kitchen with TrackNbr = 1 Feb-13 16:09:02 Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrack) = 1 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (% played) = 100 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Queue Position) = 1 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Track Duration) = 0:00:00 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Track Position Seconds) = 0 Feb-13 16:09:02 Sonos Kitchen TrackInfo PositionInfo (Track Position) = 0:00:00 Feb-13 16:09:02 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen has trackposition = 0 Feb-13 16:09:02 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and New CurrentplayerState = Stopped Feb-13 16:09:02 Sonos CurrentPlayerState Set for ZoneName = Kitchen. Value = Stopped Feb-13 16:09:02 Sonos CheckAnnouncementHasStarted called for Zoneplayer = Kitchen and CurrentplayerState = Stopped Feb-13 16:09:02 Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 84 AnnouncementReEntry = False Feb-13 16:09:02 Sonos MPStatus found IPAddress = 192.168.1.59 in the list with Status = Success and FailedPingCount = 0 Feb-13 16:09:01 Sonos GetAlbumArtPath called for zone Kitchen with AlbumURI = http://172.17.186.81:8007/images/Sonos/Announcement.jpg and NextTrack = False Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (title) = HomeSeer Announcement Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (creator) = Dirk Corsus Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (album) = SonosController Feb-13 16:09:01 Sonos Kitchen TrackInfo PositionInfo (Streamcontent/Title) = Feb-13 16:09:01 Sonos GetcurrentTrackInfo called GetPositionInfo for zoneplayer - Kitchen and MetaData http://172.17.186.81:8007/Sonos/Anno...nt.jpgHomeSeer Announcementobject.item.audioItem.musicTrackDirk CorsusSonosControllerDirk Corsus Feb-13 16:09:01 Sonos Kitchen TrackInfo(Source) = Tracks Feb-13 16:09:01 Sonos Kitchen TrackInfo (CurrentURI) = http://172.17.186.81:8007/Sonos/Anno..._Kitchen_0.wav Feb-13 16:09:01 Sonos Kitchen TrackInfo (albumArtURI) = http://172.17.186.81:8007/images/Sonos/Announcement.jpg Feb-13 16:09:01 Sonos Kitchen TrackInfo (album) = SonosController
    I would start with:
    - Stop HS3 (ABSOLUTELY REQUIRED)
    - delete the Sonos.ini file
    - Restart HS3

    Now back to your weird IP address... do you have VMs or VPNs? What is your network setting for HS3 itself (default, bind to specific IP ....)

    Dirk

    Comment


    • #3
      Firstly thankyou Dirk.

      Deleted Sonos.ink, same behaviour

      My network is pretty simple, everything into a switch with no VPNs or anything.

      I have IP (tools, network) bound to 192.168.1.42 but interestingly 172.17.186.81 address that Sonos is trying to connect to is showing in the drop down. Do you know where it picks up the list of IPs from?

      The box homeseer runs on is an HP ProLiant G6 and it does have other Lan sockets for management (iLO).

      Comment


      • #4
        Ah...I have a virtual machine running on the server running Ubuntu for Homekit....it looks like that is the IP address of hyper-v virtual switch.

        Any idea how I stop Sonos PI from using that IP address?

        Comment


        • #5
          Originally posted by budejake View Post
          Ah...I have a virtual machine running on the server running Ubuntu for Homekit....it looks like that is the IP address of hyper-v virtual switch.

          Any idea how I stop Sonos PI from using that IP address?
          The PI was designed to get the IP @ from HS, so whatever HS is using, it will be using. Moreover, HS3 serves as the FTP server to transfer announcements from the PC to the Sonos player so things need to be consistent. If you use the 172.xx.xx.xx address for management than the Sonos player shouldn't object unless it has no route to that subnet which I suspect is the problem.
          You could run the PI remotely (is capable to run on another PC/VM) but that has its challenges in that it won't automatically reconnect nor be auto restarted. You can deactivate the PI, copy the homeseer folder to another part on your computer and than start the PI (only) by typing in sonos.exe IP=xx.xx.xx.xx (if I recall syntax correctly) which is the IP address of where HS lives. What I don't know is which IP@/Subnet the PI will pick if there are multiples on that computer. Never had to deal with that and don't want to spend the effort to go code all of that. I suspect it will pick the first IP-V4 address that is returned in the list from the OS.

          Comment


          • #6
            Originally posted by dcorsus View Post
            The PI was designed to get the IP @ from HS, so whatever HS is using, it will be using. Moreover, HS3 serves as the FTP server to transfer announcements from the PC to the Sonos player so things need to be consistent. If you use the 172.xx.xx.xx address for management than the Sonos player shouldn't object unless it has no route to that subnet which I suspect is the problem.
            You could run the PI remotely (is capable to run on another PC/VM) but that has its challenges in that it won't automatically reconnect nor be auto restarted. You can deactivate the PI, copy the homeseer folder to another part on your computer and than start the PI (only) by typing in sonos.exe IP=xx.xx.xx.xx (if I recall syntax correctly) which is the IP address of where HS lives. What I don't know is which IP@/Subnet the PI will pick if there are multiples on that computer. Never had to deal with that and don't want to spend the effort to go code all of that. I suspect it will pick the first IP-V4 address that is returned in the list from the OS.
            I'm not using the 172 address for Homeseer, that's the weird thing. I'm using the 192. address but the PI is trying the 172 address. I'll try disabling the 172 VM and see if it works and then go from there.

            Comment


            • #7
              Originally posted by budejake View Post
              I'm not using the 172 address for Homeseer, that's the weird thing. I'm using the 192. address but the PI is trying the 172 address. I'll try disabling the 172 VM and see if it works and then go from there.
              Try set the HS network setting to no-binding (or default or whatever the right syntax is)

              Comment


              • #8
                Changing binding made no difference....however I've fixed it now...

                The hyper-v network adapter was the default one on the machine so I set it to a lower priority to the proper (192.168.1.x) adapter. Deleted sonos.ini and let it rebuild. All works now.

                Comment

                Working...
                X