Announcement

Collapse
No announcement yet.

Specifying AirPlay devices in events

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

    Specifying AirPlay devices in events

    How do I go about adding specific Airplay devices to events?

    #2
    from user guide:

    By default, the speech will be sent to all enabled AirPlay devices as well as all HS Speaker Clients. You can target specifics AirPlay devices (or specific speaker clients) by clicking on the "Advanced Options" button (plane with red background), then click on the "Edit Speaker Client List" button, and then enter the name of the devices exactly as they appear in the config page.

    Comment


      #3
      It throws an error stating:

      One or more of your Speaker client entries was modified to be in Host:Instance format.

      Should I be specifying <SERVER>:<DeviceName> or <DeviceName>:*?

      Comment


        #4
        <DeviceName>:*

        you can disregard this warning

        Comment


          #5
          So that worked wonderfully when I use TTS, but when I try to have it play beep.wav, or any other .wav or .mp3 I don't see anything in the log:

          2014-06-25 20:19:44|6657277|Event|Event Speech Doorbell triggered by the event page 'Run' button.||0|0||32282
          2014-06-25 20:19:44|6657277|Event|Event Trigger "Speech Doorbell"|(System)_23-Jun-2014 10:54:45.4680_Event Trigger Evaluator|0|0||32283
          2014-06-25 20:19:44|9958295|AirplaySpeak|INFO (Squeaker): There is someone at the door, please answer it.||0|0||32284
          2014-06-25 20:19:45|5297|AirplaySpeak|DEBUG 101 Speaker.Reset()||0|0||32285
          2014-06-25 20:19:45|6297|AirplaySpeak|DEBUG 101 Speaker.Reset() gets the lock||0|0||32286
          2014-06-25 20:19:45|16298|AirplaySpeak|DEBUG ANNOUNCE rtsp://192.168.42.60/1028908680 RTSP/1.0CSeq: 1Content-Type: application/sdpContent-Length: 571User-Agent: iTunes/4.6 (Macintosh{0x3B} U{0x3B} PPC Mac OS X 10.3)Client-Instance: 92237B3B08841CDCApple-Challenge: nNpSKgq6vgtVxZjESONkzQv=0o=iTunes 1028908680 0 IN IP4 192.168.42.60s=iTunesc=IN IP4 192.168.42.4t=0 0m=audio 0 RTP/AVP 96a=rtpmap:96 AppleLosslessa=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100a=rsaaeskey:QkoslzkkRub1cz16xGV6Ht6zDvS+keI9WZ0ehO++hvv 7TBjebXBtoGJsAttn+wjxDPdA/WsN46vGj0G1MxBVMPe3ZQZw+fzbW8S/dhYcBph3DQOOcCoIqdlt7gfOUAmM/SCTE6LGnQQjLciZYiFgbPvKTc9VpjowFqTp1Vsgd4E/TnDV2Kzij8lCwtj02ri48oUpWHNiSVecUGRc3/AbgyEWVKdpO41HFZRKFP2KHrnOwduu8XBLoN7E4/NHtMdHhXNeyjCA3yeXS71bUsUT97iYEl9YEttnQU1pHWM5eGOqohnjHbOvQP W5dtD7nhutoHz8ctYsvUFuwjjRd00cyQa=aesiv:EMYWhEu3H//7WDNlRv/XhA||0|0||32287
          2014-06-25 20:19:45|1185308|AirplaySpeak|DEBUG Apple-Response, sDbvPsd/44RQtDZcYRIborve/h0LBudAoJLiftHVT8N9AHzGgcoeHUsfv1tmdZottEqt07inBX0WeR5oprTmz 2eSd0WWSngurL0hzeYiqKX9WXGNEPBQ047BwbNjCFX+LkQvxz8zJqDWNZDng cDnb3nRgLrVe+OU7PetSX+Fi9VamJXOgMJkb5V1KUB/x/q20h44V76YCYYyqncve/e6BQhEJv5l6GcmKQSzgOJ7ZQolXeeEAseSyIDtd9IpCIZJM5zxppt77UsNhn LUJQinCDddbyBHCGBhbAbzPXIDE15oMMM6pbZSmij2Goma79xbMn5bk1SBQN 3x0+IC3oJPVw||0|0||32288
          2014-06-25 20:19:45|1186308|AirplaySpeak|DEBUG CSeq, 1||0|0||32289
          2014-06-25 20:19:45|1186308|AirplaySpeak|DEBUG Audio-Jack-Status, connected{0x3B} type=analog||0|0||32290
          2014-06-25 20:19:45|1187308|AirplaySpeak|DEBUG SETUP rtsp://192.168.42.60/1028908680 RTSP/1.0CSeq: 2Transport: RTP/AVP/UDP{0x3B}unicast{0x3B}interleaved=0-1{0x3B}mode=record{0x3B}control_port=61257{0x3B}timing_port= 61256User-Agent: iTunes/4.6 (Macintosh{0x3B} U{0x3B} PPC Mac OS X 10.3)Client-Instance: 92237B3B08841CDC||0|0||32291
          2014-06-25 20:19:45|2249311|AirplaySpeak|DEBUG CSeq, 2||0|0||32292
          2014-06-25 20:19:45|2250311|AirplaySpeak|DEBUG Session, DEADBEEF||0|0||32293
          2014-06-25 20:19:45|2250311|AirplaySpeak|DEBUG Transport, RTP/AVP/UDP{0x3B}unicast{0x3B}interleaved=0-1{0x3B}mode=record{0x3B}control_port=61257{0x3B}timing_port= 61256{0x3B}server_port=6000||0|0||32294
          2014-06-25 20:19:45|2251311|AirplaySpeak|DEBUG Audio-Jack-Status, connected{0x3B} type=analog||0|0||32295
          2014-06-25 20:19:45|2251311|AirplaySpeak|DEBUG RECORD rtsp://192.168.42.60/1028908680 RTSP/1.0CSeq: 3Session: DEADBEEFRange: npt=0-RTP-Info: seq=2235{0x3B}rtptime=8575User-Agent: iTunes/4.6 (Macintosh{0x3B} U{0x3B} PPC Mac OS X 10.3)Client-Instance: 92237B3B08841CDC||0|0||32296
          2014-06-25 20:19:45|4408320|AirplaySpeak|DEBUG CSeq, 3||0|0||32297
          2014-06-25 20:19:45|4409320|AirplaySpeak|DEBUG Audio-Jack-Status, connected{0x3B} type=analog||0|0||32298
          2014-06-25 20:19:45|4410320|AirplaySpeak|DEBUG SET_PARAMETER rtsp://192.168.42.60/1028908680 RTSP/1.0CSeq: 4Session: DEADBEEFContent-Type: text/parametersContent-Length: 18User-Agent: iTunes/4.6 (Macintosh{0x3B} U{0x3B} PPC Mac OS X 10.3)Client-Instance: 92237B3B08841CDCvolume: 0.000000||0|0||32299
          2014-06-25 20:19:45|4420321|AirplaySpeak|DEBUG CSeq, 4||0|0||32300
          2014-06-25 20:19:45|4420321|AirplaySpeak|DEBUG Audio-Jack-Status, connected{0x3B} type=analog||0|0||32301
          2014-06-25 20:19:45|4421321|AirplaySpeak|DEBUG 101 Speaker.BeforeSend()||0|0||32302
          2014-06-25 20:19:45|4422321|AirplaySpeak|DEBUG 101 Speaker.SendSample()||0|0||32303
          2014-06-25 20:19:45|4422321|AirplaySpeak|DEBUG 101 Speaker.SendSample() gets lock||0|0||32304
          2014-06-25 20:19:45|4459323|AirplaySpeak|DEBUG 101 Speaker.AfterSend()||0|0||32305
          2014-06-25 20:19:46|4421378|AirplaySpeak|DEBUG 84 Speaker.OnCheckStatusTimerEvent()||0|0||32306
          2014-06-25 20:19:46|4422378|AirplaySpeak|DEBUG 84 Speaker.OnCheckStatusTimerEvent() gets the lock||0|0||32307
          2014-06-25 20:19:47|4435436|AirplaySpeak|DEBUG 100 Speaker.OnCheckStatusTimerEvent()||0|0||32308
          2014-06-25 20:19:47|4436436|AirplaySpeak|DEBUG 100 Speaker.OnCheckStatusTimerEvent() gets the lock||0|0||32309
          2014-06-25 20:19:48|4449494|AirplaySpeak|DEBUG 84 Speaker.OnCheckStatusTimerEvent()||0|0||32310
          2014-06-25 20:19:48|4450494|AirplaySpeak|DEBUG 84 Speaker.OnCheckStatusTimerEvent() gets the lock||0|0||32311
          2014-06-25 20:19:48|4471496|AirplaySpeak|DEBUG 98 Speaker.OnQueueEnd()||0|0||32312
          2014-06-25 20:19:48|4472496|AirplaySpeak|DEBUG 98 Speaker.OnQueueEnd() gets the lock||0|0||32313
          2014-06-25 20:19:49|4463552|AirplaySpeak|DEBUG 100 Speaker.OnCheckStatusTimerEvent()||0|0||32314
          2014-06-25 20:19:49|4464552|AirplaySpeak|DEBUG 100 Speaker.OnCheckStatusTimerEvent() gets the lock||0|0||32315
          2014-06-25 20:19:49|4472553|AirplaySpeak|DEBUG FLUSH rtsp://192.168.42.60/1028908680 RTSP/1.0CSeq: 5Session: DEADBEEFRTP-Info: seq=2617{0x3B}rtptime=143039User-Agent: iTunes/4.6 (Macintosh{0x3B} U{0x3B} PPC Mac OS X 10.3)Client-Instance: 92237B3B08841CDC||0|0||32316
          2014-06-25 20:19:49|4482553|AirplaySpeak|DEBUG CSeq, 5||0|0||32317
          2014-06-25 20:19:49|4483553|AirplaySpeak|DEBUG Audio-Jack-Status, connected{0x3B} type=analog||0|0||32318
          2014-06-25 20:19:49|4483553|AirplaySpeak|DEBUG TEARDOWN rtsp://192.168.42.60/1028908680 RTSP/1.0CSeq: 6Session: DEADBEEFUser-Agent: iTunes/4.6 (Macintosh{0x3B} U{0x3B} PPC Mac OS X 10.3)Client-Instance: 92237B3B08841CDC||0|0||32319




          2014-06-25 20:20:40|8859492|Event|Event Speech Doorbell triggered by the event page 'Run' button.||0|0||32366
          2014-06-25 20:20:40|8859492|Event|Event Trigger "Speech Doorbell"|(System)_23-Jun-2014 10:54:45.4680_Event Trigger Evaluator|0|0||32367
          2014-06-25 20:20:43|1115621|Event|Event Speech Doorbell triggered by the event page 'Run' button.||0|0||32368
          2014-06-25 20:20:43|1115621|Event|Event Trigger "Speech Doorbell"|(System)_23-Jun-2014 10:54:45.4680_Event Trigger Evaluator|0|0||32369



          I have tested with beep.wav (suggested in other thread) several .wav files encoded @ 22k & 44.1k 16bit PCM, and .mp3 files @ 128, 192, 256 and 320Kbps

          All wav/mp3 files play fine thru device via iTunes from HS3 server.

          Any Ideas?

          Comment


            #6
            how have you configured your event?
            You need to use "Speak Something" action even to play an audio file, and set the absolute path of the file as the text to be spoken.

            Comment


              #7
              Yes, event plays correctly out of remote speaker client & multiple droids.

              Comment


                #8
                please post a screenshot of your event configuration

                Comment


                  #9
                  Here you go.
                  Attached Files

                  Comment


                    #10
                    Like I said, the problem is that you are using a "Play an Audio File" action, which doesn't work with AirplaySpeak, you have to use the "Speak Something" action and set the file absolute path as the text to be spoken.

                    There is an example in the user guide: http://board.homeseer.com/showthread.php?t=165644

                    Comment


                      #11
                      Sweet, not sure how I missed that.

                      Thanks

                      Comment

                      Working...
                      X