Announcement

Collapse
No announcement yet.

Airplay plug-in sees speakers, but clients list doesn't

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

  • Airplay plug-in sees speakers, but clients list doesn't

    I'm running HS3 on a Windows7 machine. I just bought an Airplay compatible device, put it on my wifi network, and it shows up in the Airplay plugin list. However, when I try to make an event that uses it, and I use the "Speak something" action, the device does not show up on Edit Speaker Client List. What am I doing wrong?

  • #2
    you are not doing anything wrong, there is no way to populate this list from a plugin, so you have to manually enter the name of your speaker and then click Add

    Comment


    • #3
      Originally posted by spud View Post
      you are not doing anything wrong, there is no way to populate this list from a plugin, so you have to manually enter the name of your speaker and then click Add
      ok did that, it shows up under Selected Speaker Clients, and I hit the left arrow button to have it placed under the Connected/Added Speaker Clients list. But when I try to activate it, no sound happens, and when I go back to the Edit Speaker Client List, it's gone from the Connected/Added Speaker clients window - it won't stay there.

      Comment


      • #4
        don't click the left arrow

        enter the speaker name, then click Add, it should appear in the "Select Speaker Clients" list, then click submit

        Comment


        • #5
          Originally posted by spud View Post
          don't click the left arrow; enter the speaker name, then click Add, it should appear in the "Select Speaker Clients" list, then click submit
          aha! That did it, it's now listed on the main Event page. But, there's still no sound coming out. Here's what's in the log, after I turn on debugging:

          Date/Time Pri Type/Error Message/Source
          Dec-11 5:50:31 PM AirplaySpeak DEBUG TIMING EXCEPTIONA blocking operation was interrupted by a call to WSACancelBlockingCall
          Dec-11 5:50:31 PM AirplaySpeak DEBUG TEARDOWN rtsp://10.0.1.31/4081049250 RTSP/1.0 CSeq: 6 Session: DEADBEEF User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: 4E0575EECF624F7D
          Dec-11 5:50:31 PM AirplaySpeak DEBUG RTP-Info, rtptime=106792
          Dec-11 5:50:31 PM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
          Dec-11 5:50:31 PM AirplaySpeak DEBUG CSeq, 5
          Dec-11 5:50:31 PM AirplaySpeak DEBUG FLUSH rtsp://10.0.1.31/4081049250 RTSP/1.0 CSeq: 5 Session: DEADBEEF RTP-Info: seq=6955;rtptime=107144 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: 4E0575EECF624F7D
          Dec-11 5:50:31 PM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent() gets the lock
          Dec-11 5:50:31 PM AirplaySpeak DEBUG 32 Speaker.OnCheckStatusTimerEvent()
          Dec-11 5:50:31 PM AirplaySpeak DEBUG 14 Speaker.OnQueueEnd() gets the lock
          Dec-11 5:50:31 PM AirplaySpeak DEBUG 14 Speaker.OnQueueEnd()
          Dec-11 5:50:30 PM AirplaySpeak DEBUG 11 Speaker.OnCheckStatusTimerEvent() gets the lock
          Dec-11 5:50:30 PM AirplaySpeak DEBUG 11 Speaker.OnCheckStatusTimerEvent()
          Dec-11 5:50:29 PM AirplaySpeak DEBUG 17 Speaker.AfterSend()
          Dec-11 5:50:29 PM AirplaySpeak DEBUG 17 Speaker.SendSample() gets lock
          Dec-11 5:50:29 PM AirplaySpeak DEBUG 17 Speaker.SendSample()
          Dec-11 5:50:29 PM AirplaySpeak DEBUG 17 Speaker.BeforeSend()
          Dec-11 5:50:29 PM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
          Dec-11 5:50:29 PM AirplaySpeak DEBUG CSeq, 4
          Dec-11 5:50:28 PM AirplaySpeak DEBUG SET_PARAMETER rtsp://10.0.1.31/4081049250 RTSP/1.0 CSeq: 4 Session: DEADBEEF Content-Type: text/parameters Content-Length: 18 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: 4E0575EECF624F7D volume: 0.000000
          Dec-11 5:50:28 PM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
          Dec-11 5:50:28 PM AirplaySpeak DEBUG CSeq, 3
          Dec-11 5:50:28 PM AirplaySpeak DEBUG RECORD rtsp://10.0.1.31/4081049250 RTSP/1.0 CSeq: 3 Session: DEADBEEF Range: npt=0- RTP-Info: seq=6770;rtptime=42024 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: 4E0575EECF624F7D
          Dec-11 5:50:28 PM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
          Dec-11 5:50:28 PM AirplaySpeak DEBUG Transport, RTP/AVP/UDP;unicast;mode=record;server_port=6000;control_port=6001;t iming_port=6002
          Dec-11 5:50:28 PM AirplaySpeak DEBUG Session, DEADBEEF
          Dec-11 5:50:28 PM AirplaySpeak DEBUG CSeq, 2
          Dec-11 5:50:28 PM AirplaySpeak DEBUG SETUP rtsp://10.0.1.31/4081049250 RTSP/1.0 CSeq: 2 Transport: RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;control_port=58588;timing_port=58587 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: 4E0575EECF624F7D
          Dec-11 5:50:28 PM AirplaySpeak DEBUG Audio-Jack-Status, connected; type=analog
          Dec-11 5:50:28 PM AirplaySpeak DEBUG CSeq, 1
          Dec-11 5:50:28 PM AirplaySpeak DEBUG Apple-Response, FE8IQ+Aey183XYpbhoAeF+aIYbphE503lSVL9nUVHFHVk/fSmNcf2Z/mA8t7ShxkzTZg2qOEOzH+fvxBE3SQvNPIgwb59+j0afLhwdG454dOqmHqXrb VMsTGKCd+GRvFE0NLsHejUevq2VBknrQ9XXLzU+ZtwM0Jh2HKQIJUkqi4wEY jPl3vNU9oDJbYprO+JP1I9Yz3QhBbocxmnvDSaicEFoZ1Tr3OIdmFvsleUbm yWrpqgdxQ1BqghCy5k3sEOmtl8vQilvFN4VuNnh2BWsayQYE2iNvIAeGOIRY HILPD/hANS5kXbC0z0L2rkoSRS5KQtGGDNdIczqjMcpPDPA
          Dec-11 5:50:27 PM AirplaySpeak DEBUG ANNOUNCE rtsp://10.0.1.31/4081049250 RTSP/1.0 CSeq: 1 Content-Type: application/sdp Content-Length: 563 User-Agent: iTunes/7.6.2 ( Windows;N Client-Instance: 4E0575EECF624F7D Apple-Challenge: RtQAl0qce4m5ojGAVhcjkw v=0 o=iTunes 4081049250 0 IN IP4 10.0.1.31 s=iTunes c=IN IP4 10.0.1.4 t=0 0 m=audio 0 RTP/AVP 96 a=rtpmap:96 AppleLossless a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100 a=rsaaeskey:w26IRqWWU+GrIBf0hT0V+fEyFGQluoWjhXJ2stsG8CjwqK6V/+MQD0/oXYjqMfJYNnRKlr6ZnHbOQrZCW2wPFByIc9MjCzEBVQMGarNKGSLFGpmWeQa 9EXWHAuKj3jZvkRO5lsxcfICfuEiKeYQMVa5yvs7vk5efJ+CTl2JwCIB+QXR kvGrNZInqZr54cYokVOkq1j7OIv/6T4WQF1x0YRRlLY+zo+QafXPiz+Goo+fErtGLA3aUQEAouNniDN+9zEGmD2T 5nrloyYvdlJDr/j65nQmTlUA8OgxO6kluPf+s+bhgSK3r2XyUml7NkLg80acBfG+ezUxu/ojWm5zG0Q a=aesiv:O3EkMfkGHssCawVixyQI5Q
          Dec-11 5:50:27 PM AirplaySpeak DEBUG 17 Speaker.Reset() gets the lock
          Dec-11 5:50:27 PM AirplaySpeak DEBUG 17 Speaker.Reset()
          Dec-11 5:50:27 PM AirplaySpeak INFO (Learning room): Testing
          Dec-11 5:50:27 PM Event Event Trigger "General Testing speech"
          Dec-11 5:50:27 PM Event Event General Testing speech triggered by the event page 'Run' button.

          any idea what this means?

          Comment


          • #6
            The logs look ok but try to us a Speak action with a longer message. Very short messages do not play well with Airplay speakers.

            Alternatively add a "delay before" from the config page.

            Comment


            • #7
              > try to us a Speak action with a longer message. Very short messages do not play well with Airplay speakers.


              aha! I made it longer and now it sometimes does speak, but not reliably and it misses words! That's very annoying - this was suggested to me as a way to have HS3 speak in various rooms, and so I just spent over $100 on an Airplay system to test it out. If it's not reliable, it's not going to be useful :-(

              > Alternatively add a "delay before" from the config page.[/QUOTE]

              ok adding delays of 20 both before and after allow it to say the whole sentence. I guess that's better than nothing! Any idea why this is necessary? What does the delay do?

              Comment


              • #8
                Your router and it's configuration plays a crucial role in how well/fast/consistent AirPlay speakers deliver your speak payload.

                1. Make sure you have Multicast ON
                2. Get a fast router such as ASUS RT-AC88U
                3. IGMP Snoop ON

                I struggled with AirPlay issues until I made the upgrade.

                Michael
                Michael

                HS3 Pro 3.0.0.470 | 849 devices | 349 events | OpenSprinkler | BLShutdown | EasyTrigger | NetCAM | Harmony Hub | Sonos | SDJ-Health | BLUPS | PHLocation | BLBackup | BLLock | Z-Wave 3.0.1.243 | weatherXML | Pushover 3P | Blue-Iris | AirPlaySpeak

                Comment


                • #9
                  Originally posted by Rvtravlr View Post
                  Your router and it's configuration plays a crucial role in how well/fast/consistent AirPlay speakers deliver your speak payload.
                  1. Make sure you have Multicast ON
                  2. Get a fast router such as ASUS RT-AC88U
                  3. IGMP Snoop ON
                  I struggled with AirPlay issues until I made the upgrade.
                  Michael
                  How about WRT1900ACS or the Nighthawk X6 R8000 - are those good enough?

                  And does anyone know where (on a Netgear Nighthawk R8000) the IGMP Snoop and Multicast settings are to be found? I see "Disable IGMP Proxying" checked on my WAN setup page - is this it? Why would I need to change how it appears on the WAN to get airplay to work inside of my network?

                  Comment


                  • #10
                    Both routers should work fine.

                    For ASUS, you can find the multicast and IGMP Snooping here:

                    wireless -> professional
                    Under lan -> IPTV

                    Michael
                    Michael

                    HS3 Pro 3.0.0.470 | 849 devices | 349 events | OpenSprinkler | BLShutdown | EasyTrigger | NetCAM | Harmony Hub | Sonos | SDJ-Health | BLUPS | PHLocation | BLBackup | BLLock | Z-Wave 3.0.1.243 | weatherXML | Pushover 3P | Blue-Iris | AirPlaySpeak

                    Comment


                    • #11
                      Originally posted by mlevin77 View Post
                      I see "Disable IGMP Proxying" checked on my WAN setup page - is this it? Why would I need to change how it appears on the WAN to get airplay to work inside of my network?
                      I would uncheck Disable IGMP Proxying.

                      Apple uses Multicast (ZeroConf) to notify AirPlay speakers that they need to sync up and that audio is coming their way.

                      I have 6 AirPlay speakers and was very frustrated that it would take upwards of 40 seconds to deliver the speak payload. For example, when motion is detected at the front door, I want to know as soon as possible.

                      With a fast router and the settings I've suggested, the response time between the event trigger and the speak action is now about 5-10 seconds.

                      Michael
                      Michael

                      HS3 Pro 3.0.0.470 | 849 devices | 349 events | OpenSprinkler | BLShutdown | EasyTrigger | NetCAM | Harmony Hub | Sonos | SDJ-Health | BLUPS | PHLocation | BLBackup | BLLock | Z-Wave 3.0.1.243 | weatherXML | Pushover 3P | Blue-Iris | AirPlaySpeak

                      Comment


                      • #12
                        > I would uncheck Disable IGMP Proxying

                        I see "Disable IGMP Proxying" checked on my WAN setup page - is this it? Why would I need to change how it appears on the WAN to get airplay to work inside of my network? I'm leery of anything that is a potential security hole, and I am trying to understand what this change would entail (that it appears on the WAN page makes me nervous). People on-line are talking about streaming large movies etc. but I'm only talking about traffic inside my LAN (for the Airplay messages from HS3), so why would I have to change WAN settings?

                        > Make sure you have Multicast ON
                        > IGMP Snoop ON

                        anyone know where this will be found on a Netgear R8000 router?

                        Comment


                        • #13
                          As I understand it, your Homeseer box is on the lan and then AirSpeak issues a speak command to your wireless 54g AirPlay speakers.

                          I don't believe that IGMP snooping provides an outside vulnerability.

                          Michael
                          Michael

                          HS3 Pro 3.0.0.470 | 849 devices | 349 events | OpenSprinkler | BLShutdown | EasyTrigger | NetCAM | Harmony Hub | Sonos | SDJ-Health | BLUPS | PHLocation | BLBackup | BLLock | Z-Wave 3.0.1.243 | weatherXML | Pushover 3P | Blue-Iris | AirPlaySpeak

                          Comment


                          • #14
                            WB-800 actively refuses connection

                            I have an M-freebox WB-800 which can play music via AirPlay from iTunes just fine. When I try accessing it from this plug-in, the log says


                            DEBUG Stack: at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at RTSPClient.Connect() at RAOPClient.Connect() at HSPI_AIRPLAY_SPEAK.Speaker.Reset() Dec-19 8:21:49 AM AirplaySpeak INFO Connection to Learning room (10.0.1.3:5000) failed: No connection could be made because the target machine actively refused it 10.0.1.3:5000
                            how do I debug this?

                            Comment


                            • #15
                              Originally posted by mlevin77 View Post
                              I have an M-freebox WB-800 which can play music via AirPlay from iTunes just fine. When I try accessing it from this plug-in, the log says


                              DEBUG Stack: at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at RTSPClient.Connect() at RAOPClient.Connect() at HSPI_AIRPLAY_SPEAK.Speaker.Reset() Dec-19 8:21:49 AM AirplaySpeak INFO Connection to Learning room (10.0.1.3:5000) failed: No connection could be made because the target machine actively refused it 10.0.1.3:5000
                              how do I debug this?
                              In my experience, if another device or app uses the AirPlay speakers, then AirPlay Speak will not connect until the AirPlay Speak PlugIn is disabled and reenabled.

                              I have Whaale on my ios devices and can only use AirPlay Speak again if I do the above.

                              Spud, could you do something in your PI to fix this behavior?

                              Michael
                              Michael

                              HS3 Pro 3.0.0.470 | 849 devices | 349 events | OpenSprinkler | BLShutdown | EasyTrigger | NetCAM | Harmony Hub | Sonos | SDJ-Health | BLUPS | PHLocation | BLBackup | BLLock | Z-Wave 3.0.1.243 | weatherXML | Pushover 3P | Blue-Iris | AirPlaySpeak

                              Comment

                              Working...
                              X