Announcement

Collapse
No announcement yet.

Speak to File Error

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

    Speak to File Error

    Running HomeSeer on MS Server 2012 Essentials.

    Plugin: 1.0.0.116

    HomeSeer: Standard Edition 2.5.0.52


    When using Speak to File via hs.speakex I can watch players link and unlink, but no sound and log indicates that it timed out.

    I happen to be watching my android sonos controller, saw the players link, and then an error message was displayed for a short while on the controller:

    Could not load the announcement.wav file because it could not access 169.254.158.194:81

    I know that is a locally, non-routable address, but I use the 192.168.1 address range. I do use port 81 for my homeseer web server.

    Where did that address come from? Here is a snippet from the log that appears pertinent:

    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (MediaInfo/Title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (creator) = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (album) = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (albumArtURI) = http://169.254.158.194:81/SonosContr...nouncement.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (CurrentURI) = http://169.254.158.194:81/SonosContr...HomeSeer_0.wav
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo(Source) = Tracks
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetcurrentTrackInfo called GetPositionInfo for zoneplayer - ComputerRoom and MetaData <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/wav:*">http://169.254.158.194:81/SonosController/Announcements/Ann_HomeSeer_0.wav</res><r:streamContent></r:streamContent><upnp:albumArtURI>http://169.254.158.194:81/SonosController/Announcements/Announcement.jpg</upnp:albumArtURI><dc:title>Tenholder Home</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Ed and Marilyn</dc:creator><upnp:album>Home Automation</upnp:album><r:albumArtist>Ed and Marilyn</r:albumArtist></item></DIDL-Lite>
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Streamcontent/Title) =
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (creator) = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (album) = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetAlbumArtPath called for zone ComputerRoom with AlbumURI = http://169.254.158.194:81/SonosContr...nouncement.jpg and NextTrack = False
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetAlbumArtPath returned for Zone - ComputerRoom with AlbumURI = http://169.254.158.194:81/SonosContr...nouncement.jpg and cached returned path= /SonosController/Images/Cover4.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Track Position) = 0:00:00
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Track Position Seconds) = 0
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Track Duration) = 0:00:00
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Queue Position) = 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (% played) = 100
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentTrack) = 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentTrackDuration) = 0:00:00
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(NumberOfTracks) = 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentPlayMode) = NORMAL
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentSection) = 0
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(TransportStatus) = ERROR_CANT_REACH_SER
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState (Streamcontent/Title) =
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(Artist) = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(Album) = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentURI) = http://169.254.158.194:81/SonosContr...HomeSeer_0.wav
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(AlbumArtURL) = /SonosController/Images/Cover4.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportStateChange processed XML succesfully for zoneplayer = ComputerRoom
    1/9/2014 4:51:37 PM ~!~SonosController~!~Track Set for ZoneName = ComputerRoom. Track = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~Artist Set for ZoneName = ComputerRoom. Artist = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~Album Set for ZoneName = ComputerRoom. Album = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~ArtworkURL Set for ZoneName = ComputerRoom. Album = /SonosController/Images/Cover4.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~PlayChangeNotifyCallback called for Zone - ComputerRoom with ChangeType = SongChanged and Changevalue = stopped and SendDeviceTrigger = True
    1/9/2014 4:51:37 PM ~!~SonosController~!~CheckTrigger called in DeviceTrigger for Zone - ComputerRoom with Trigger = SONOSCONTROLLERSonos Player TriggerTrack Change
    1/9/2014 4:51:37 PM ~!~SonosController~!~Checking linked zones for SourceZone=ComputerRoom. MyZoneIsSourceForLinkedZone=True and TargetZones = RINCON_000E585B378A01400;RINCON_000E585B446E01400;RINCON_000 E5834DA4401400
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetMusicAPI (Integer) was called with Value: 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~Track Set for ZoneName = Kitchen. Track = Tenholder Home


    tenholde
    tenholde

    #2
    Originally posted by tenholde View Post
    Running HomeSeer on MS Server 2012 Essentials.

    Plugin: 1.0.0.116

    HomeSeer: Standard Edition 2.5.0.52


    When using Speak to File via hs.speakex I can watch players link and unlink, but no sound and log indicates that it timed out.

    I happen to be watching my android sonos controller, saw the players link, and then an error message was displayed for a short while on the controller:

    Could not load the announcement.wav file because it could not access 169.254.158.194:81

    I know that is a locally, non-routable address, but I use the 192.168.1 address range. I do use port 81 for my homeseer web server.

    Where did that address come from? Here is a snippet from the log that appears pertinent:

    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (MediaInfo/Title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (creator) = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (album) = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (albumArtURI) = http://169.254.158.194:81/SonosContr...nouncement.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (CurrentURI) = http://169.254.158.194:81/SonosContr...HomeSeer_0.wav
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo(Source) = Tracks
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetcurrentTrackInfo called GetPositionInfo for zoneplayer - ComputerRoom and MetaData <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/wav:*">http://169.254.158.194:81/SonosController/Announcements/Ann_HomeSeer_0.wav</res><r:streamContent></r:streamContent><upnp:albumArtURI>http://169.254.158.194:81/SonosController/Announcements/Announcement.jpg</upnp:albumArtURI><dc:title>Tenholder Home</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Ed and Marilyn</dc:creator><upnp:album>Home Automation</upnp:album><r:albumArtist>Ed and Marilyn</r:albumArtist></item></DIDL-Lite>
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Streamcontent/Title) =
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (creator) = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (album) = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetAlbumArtPath called for zone ComputerRoom with AlbumURI = http://169.254.158.194:81/SonosContr...nouncement.jpg and NextTrack = False
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetAlbumArtPath returned for Zone - ComputerRoom with AlbumURI = http://169.254.158.194:81/SonosContr...nouncement.jpg and cached returned path= /SonosController/Images/Cover4.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Track Position) = 0:00:00
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Track Position Seconds) = 0
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Track Duration) = 0:00:00
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (Queue Position) = 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~ComputerRoom TrackInfo (% played) = 100
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentTrack) = 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentTrackDuration) = 0:00:00
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(NumberOfTracks) = 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentPlayMode) = NORMAL
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentSection) = 0
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(TransportStatus) = ERROR_CANT_REACH_SER
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState (Streamcontent/Title) =
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(Artist) = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(title) = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(Album) = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(CurrentURI) = http://169.254.158.194:81/SonosContr...HomeSeer_0.wav
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportChangeCallback for ZP - ComputerRoom TransportState(AlbumArtURL) = /SonosController/Images/Cover4.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~TransportStateChange processed XML succesfully for zoneplayer = ComputerRoom
    1/9/2014 4:51:37 PM ~!~SonosController~!~Track Set for ZoneName = ComputerRoom. Track = Tenholder Home
    1/9/2014 4:51:37 PM ~!~SonosController~!~Artist Set for ZoneName = ComputerRoom. Artist = Ed and Marilyn
    1/9/2014 4:51:37 PM ~!~SonosController~!~Album Set for ZoneName = ComputerRoom. Album = Home Automation
    1/9/2014 4:51:37 PM ~!~SonosController~!~ArtworkURL Set for ZoneName = ComputerRoom. Album = /SonosController/Images/Cover4.jpg
    1/9/2014 4:51:37 PM ~!~SonosController~!~PlayChangeNotifyCallback called for Zone - ComputerRoom with ChangeType = SongChanged and Changevalue = stopped and SendDeviceTrigger = True
    1/9/2014 4:51:37 PM ~!~SonosController~!~CheckTrigger called in DeviceTrigger for Zone - ComputerRoom with Trigger = SONOSCONTROLLERSonos Player TriggerTrack Change
    1/9/2014 4:51:37 PM ~!~SonosController~!~Checking linked zones for SourceZone=ComputerRoom. MyZoneIsSourceForLinkedZone=True and TargetZones = RINCON_000E585B378A01400;RINCON_000E585B446E01400;RINCON_000 E5834DA4401400
    1/9/2014 4:51:37 PM ~!~SonosController~!~GetMusicAPI (Integer) was called with Value: 1
    1/9/2014 4:51:37 PM ~!~SonosController~!~Track Set for ZoneName = Kitchen. Track = Tenholder Home


    tenholde
    The IP address comes from HS, I use a call to get the IPAddress and port in use. No time now, but do a search on this forum. At least 2 people reported an issue using some form of VM where the IP address reported was wrong.

    Dirk

    Comment


      #3
      TTS wav timeout

      I am having the same issue and I too did have VMware installed with two virtual NICs. I did try disabling the NICs but the problem remains. I even tried changing the Metric of the main NIC to 1.
      Is there a test script to send (stream) a wav file directly to a Sonos speaker?

      Comment


        #4
        Originally posted by wseaton View Post
        Is there a test script to send (stream) a wav file directly to a Sonos speaker?
        ??? Not sure what you want to do. I don't know how HS gets the IP address of what it thinks the machine it is running on, but there lies the problem.

        See this post (perhaps contact the author see if he/she figured it out)

        http://board.homeseer.com/showthread.php?t=160834
        http://board.homeseer.com/showthread...al#post1068903 (post #37)

        Dirk

        Comment


          #5
          I had the same problem with strange IP address. I was running on WIN Server 2012, with two NICs -- one unused. I disabled the unused NIC and restarted everything (router on out) and all is well.

          tenholde
          tenholde

          Comment


            #6
            Originally posted by wseaton View Post
            I am having the same issue and I too did have VMware installed with two virtual NICs. I did try disabling the NICs but the problem remains.
            I'm pretty sure HS and any PI using the HS function to get the machine's IP address, does this at init. So whatever you try and change, you would have to restart HS upon each change to see the effect (or lack thereof). Changing weight of routing (in my mind) would not make any difference. Perhaps the question should be posted in the general HS forum to seek understanding how HS picks out the IP address from machines that have multiple NICs or use VMs, not clear to me.It might have to become a configurable option .....

            Dirk

            Comment


              #7
              PC Analog Out vs PC Optical Out

              I have Homeseer installed on my HTPC; the TTS announcements plays through my Yamaha RXA830 receiver using the optical out (no speakers connected to the PC).
              The second zone (Audio out) of the receiver is connected to the input of my Sonos Connect and the input of the Sonos Connect is configured to play through pared Play 1s in a different room.
              I am trying to confirm that the Optical out will accomplish the same as connecting the Analog out from the PC straight into the Sonos Connect input for TTS.

              Comment


                #8
                Originally posted by wseaton View Post
                I have Homeseer installed on my HTPC; the TTS announcements plays through my Yamaha RXA830 receiver using the optical out (no speakers connected to the PC).
                The second zone (Audio out) of the receiver is connected to the input of my Sonos Connect and the input of the Sonos Connect is configured to play through pared Play 1s in a different room.
                I am trying to confirm that the Optical out will accomplish the same as connecting the Analog out from the PC straight into the Sonos Connect input for TTS.
                Have you tried it? I think it all depends on how you configured your Linkgroups. if the S1 are not part of it, I suspect that the PI will only play on the Connect, hence you won't hear anything. Is there a reason why you don't play the announcement directly on the S1s?

                Dirk

                Comment


                  #9
                  I have tried it but I am not sure I configured the Linkgroups correctly. I was not sure I could play directly to the P1 bypassing the Connect (unless I use the play to a wave file which is timing out).

                  Maybe it is the Linkgroup and I am not sure which of these two (attached) is the ideal configuration:
                  Attached Files

                  Comment


                    #10
                    Originally posted by wseaton View Post
                    I have tried it but I am not sure I configured the Linkgroups correctly. I was not sure I could play directly to the P1 bypassing the Connect (unless I use the play to a wave file which is timing out).

                    Maybe it is the Linkgroup and I am not sure which of these two (attached) is the ideal configuration:
                    Unclick the TTS checkbox (tells the PI the audio comes in a file versus through an audio input) and pick bedroom as Source player in both cases or said differently, always pick a source player which is part of the destination players. Turn the debug flag on so you can see which IP address is used to stream the file. If it isn't the one you expect, open a DOS CMD box and type in IPCONFIG/ALL and check which interface is associated with the IP address you see and take it from there. I think if you mess around with IP address assignments and VMs, at least restart HS to make sure it picks up the right IP address, which I assume ONLY happens at init time. Have you posted anything in the general forum asking about this IP address problem? I noted this morning another posting complaining about wrong IP address as well it would be great if the HS team could give some insight on how they get the IP address.

                    If you figure it out, post here so other could benefit from the solution and/or work around.

                    By the way, the first configuration, which has the Living room player (which I assume is the Connect) and the 2 bedroom players as a linkgroup, with the TTS flag set, should work. Does it not? If not, set the players manually with the controller and play music, if that works, the announcements should work, if it doesn't it means something else in the setup is off.

                    Dirk

                    Comment


                      #11
                      So far I discovered that the IP with the strange segment is caused by a bridge network not only from the VM NICs (which I disabled), but also from a Ceton InfiniTV 4 Quad-tuner Card.

                      The Ceton Network Tuner software creates a bridge between the InfiniTV and my active network card as a necessary step in the network setup for sharing tuners on the 192.168.200.0 segment.

                      When the network card is bridged, all network traffic must now pass through it, including any traffic internal to the PC which is on 192.168.1.0 segment.

                      Now I am trying to figure out why some packets are being route to the wrong segment.

                      Comment


                        #12
                        Originally posted by wseaton View Post
                        Now I am trying to figure out why some packets are being route to the wrong segment.
                        I'm not sure the packets at the end of the day are routed wrong, I suspect that HS gets confused about all the interfaces and picks the wrong one. I'm going on a limb here but I suspect HS has some OS call at init which returns a list of interfaces with its characteristics (MAC address, IP Address, Subnet mask, IPv4 or IP6), picks the wrong one and when my PI asks HS which IP address to use, I end up with the wrong address.

                        Just for my curiosity, when you open the HS browser/web page, which IP address is used in the URL on top (click on the open browser option in the HS2 console)?

                        Dirk

                        Comment


                          #13
                          Here's the other thread that I saw this morning

                          http://board.homeseer.com/showthread...07#post1104607

                          Comment


                            #14
                            What do you know, you can set the IP address binding

                            Check this out
                            Attached Files

                            Comment


                              #15
                              Yes, I am aware of that, I already had the correct IP configured.

                              Comment

                              Working...
                              X