We have moved at community.getvera.com

Author Topic: Airplay via Airport Express or Apple TV  (Read 5529 times)

Offline ansandro

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Airplay via Airport Express or Apple TV
« on: May 20, 2013, 06:42:32 am »
I have one sonos speaker in my house, but more Airplay enabled speakers (via Airport Express and Apple TV). Is there any programming going on to make this solution work like the Sonos one. I would like to have the same TTS capabilities in scenes for Airplay speakers in the house. Would be nice and the Airplay code should be available as other pieces of non-Apple open ource software that use the Airplay protocol. f.e. http://code.google.com/p/open-airplay/

Offline akbooer

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Airplay via Airport Express or Apple TV
« Reply #1 on: May 20, 2013, 07:39:21 am »
This should be very possible.  I've thrown together a couple of device files to use the AirControl protocol of a jailbroken ATV2, described here:
http://forum.micasaverde.com/index.php/topic,11157.msg102789.html#msg102789
where there's a reference to http://xyrion.org/appletv/ showing how (in Perl) to play files on an out-of-the-box ATV using HTTP POST/GET requests.

I'll move it further up my "to do" list!
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline ansandro

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Airplay via Airport Express or Apple TV
« Reply #2 on: May 20, 2013, 05:38:50 pm »

I'll move it further up my "to do" list!

Great!  8)

Offline Piwtorak

  • Hero Member
  • *****
  • Posts: 988
  • Karma: +4/-0
Re: Airplay via Airport Express or Apple TV
« Reply #3 on: June 17, 2013, 08:07:15 am »
Hello...

complementing the idea, I think air port express has a port to plug a speaker...Would be interesting to can a file in that air port express speaker.

apple tv has a hdmi output and will require a receiver to connect this cable and the receiver must be turned on and in the correct port to play.

maybe only a line in luup to send one command to airport express port to play something would be a good way to start,

sorry if I am going in another direction of the post.

thanks !
Vera3 (1), Airport Extreme (2), Apple TV (3), Sqblaster (1), GE Switch (3), GE Dimmer (1), Leviton VRCSZ2 (2), GE 45601 (1), Intermatic HA03 (2), GE Zwave Outlet (1), Remote Control Curtain (1) and growing.

Offline joreri

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Airplay via Airport Express or Apple TV
« Reply #4 on: August 19, 2013, 05:42:10 pm »
I have one sonos speaker in my house, but more Airplay enabled speakers (via Airport Express and Apple TV). Is there any programming going on to make this solution work like the Sonos one. I would like to have the same TTS capabilities in scenes for Airplay speakers in the house. Would be nice and the Airplay code should be available as other pieces of non-Apple open ource software that use the Airplay protocol. f.e. http://code.google.com/p/open-airplay/

Agree. One of the major issues I have with Vera is how to get "output" from it. I rather not invest in a Sonos since I already have Airplay and don't want to complicate things for the family, or me.

So my hope goes to Akbooer!

/J
« Last Edit: August 19, 2013, 05:44:07 pm by joreri »

Offline akbooer

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Airplay via Airport Express or Apple TV
« Reply #5 on: August 20, 2013, 03:39:39 am »
I'll move it even further up the list...

...but it recently got bumped by Netatmo.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline joreri

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Airplay via Airport Express or Apple TV
« Reply #6 on: September 21, 2013, 06:07:21 pm »
I'm thinking out loud now... "I already have a Airplay infrastructure and don't want to invest in a Sonos. How can I contribute to speed up the process of interact with airplay? What will a Sonos set me back?"

@akbooer: Are you open to suggestion?

/joreri

Offline akbooer

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Airplay via Airport Express or Apple TV
« Reply #7 on: September 21, 2013, 06:17:26 pm »
I'm open to any suggestions, but a bit saturated by having too much fun with Netatmo at the moment  ;)

I am not an HTTP expert at all.  If you are, or know one, then some useful discussion could be had about the reference as to how to do it that I made in a post long ago here.  Seems to require an MP4 file, but these can be made audio-only (MPA) and would, I hope, work.

I'm a bit unsure as to how to construct the right HTTP headers that the ATV needs, as per that post.

Like you, I don't want to buy a Sonos.

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline rsoares28

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +0/-0
Re: Airplay via Airport Express or Apple TV
« Reply #8 on: February 18, 2014, 08:36:27 pm »
Hey hoping to bring this topic back to life as i'm airplay invested too,

I saw that smarthings video at CES where the homeowner enter the kitchen in the morning and the sonos speaker welcomes him, advises on the weather etc and turns on NPR.

Just wondering if that would be possible with z-wave and an airplay speaker (or airport express connected to an amp that's connected to a speaker)

Thanks

Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1576
  • Karma: +191/-85
Re: Airplay via Airport Express or Apple TV
« Reply #9 on: March 04, 2014, 07:47:16 pm »
So, I found a product called AirFoil that you can install in your mac and broadcast all of your system sounds (Including Text to Speech, TTS).  It works brilliantly and you can select from the standard voice options within mac.  It supports other speakers, like mobile phones, etc...

https://rogueamoeba.com/airfoil/mac/

I am able to with an SSH command, instruct my mac (using the 'say' command) to speak over any/all of my airplay devices (airport express, iPad, iPhone, and AppleTV).

Where I need help to make this work using alerts.  I need help to set up an SSH connection between vera and my mac such that I can just parse out the commands (ssh admin@192.168.1.10 "say Garage Door Opened") without having to deal with the passkey stuff each time I want to perform the say command.  I am hopeful that mac keychain can be used for this, but I have to say, this is not my area of expertise.

Can anyone out there provide some assistance on making this SSH connection so that I (and possibly other forum mac users) may enter the age of TTS along with the Sonos folks and not have to actually buy Sonos.




Offline jimpapa

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +28/-1
Re: Airplay via Airport Express or Apple TV
« Reply #10 on: March 05, 2014, 02:13:53 am »

Can anyone out there provide some assistance on making this SSH connection so that I (and possibly other forum mac users) may enter the age of TTS along with the Sonos folks and not have to actually buy Sonos.

I did this.. SSH Vera to linux, no login needed and you can run a shell command etc.. , Will work on a mac also.

http://forum.micasaverde.com/index.php/topic,11663.0.html


Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1576
  • Karma: +191/-85
Re: Airplay via Airport Express or Apple TV
« Reply #11 on: March 05, 2014, 07:26:27 am »
thanks Jim, I'll try it.

it looks easier than I thought it would be.