This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
[PUBLISHED] Airplay client
Hi guys,
The app is submitted to the appstore.
App is removed from app store by developer
For now there are 2 flow cards, one for playing (url, stream or video) and one for stopping the stream.
Only the video api is integrated, this means when playing audio, the apple tv will show a black screen.
Flowcard input can be a youtube url, streaming url or any other suported audio or video format by airplay.
Working devices:
- Apple TV
- Kodi (coming in 0.0.2)
Let me know any feature requests or issues you may find.
https://github.com/swttt/com.swttt.airplay
Special thanks to the Chromecast devs for (ab)using their code and @Fire69 for debugging airplay for Kodi.
The app is submitted to the appstore.
App is removed from app store by developer
For now there are 2 flow cards, one for playing (url, stream or video) and one for stopping the stream.
Only the video api is integrated, this means when playing audio, the apple tv will show a black screen.
Flowcard input can be a youtube url, streaming url or any other suported audio or video format by airplay.
Working devices:
- Apple TV
- Kodi (coming in 0.0.2)
Let me know any feature requests or issues you may find.
https://github.com/swttt/com.swttt.airplay
Special thanks to the Chromecast devs for (ab)using their code and @Fire69 for debugging airplay for Kodi.
Comments
Both issues with resolving the local hostname.
Will invest some more time tonight to find out whats causing this. Could be related to homey, or the library (and it's depancies).
I just need to make sure i save the hostname AND ip adress. For now i need to use the ip adress, but later using hostname would be more user friendly (if your ip changes, it still works).
Updated github 5 min ago with a version that should work. You can try
will work it out in a full working (usefull) app
Please stress test the hell out of this and post your logs on crashes
Playing url: Check!
Crashes: Nope, sorry!
Will look into fixing this issue
Can someone please test if my hypothesis is right, and the connection drops after exactly 60 sec? (not home now, so can't test )
Current (working) code is on github
Kodi still seems to have some quirks, but for the apple tv it seems to work.
Waiting for aproval in the appstore.
Kodi will be fixed in the near future.
It's published now
Thanks for making this !
Url field behaves the same as the chromecast app.
You can input a youtube url, m3u radio stream or any other airplay supported video format.
So I can just put
https://www.youtube.com/watch?v=RDfjXj5EGqI
in the URL field?
(not at home, have to try it tonight)
You also can use this for example: http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3
That one points to the radio 538 m3u stream.
Someone asked if a webcam url wil work as wel, not sure about that since only a few video codecs are supported on airplay. But if your webcam feed is supported by the airplay protocol, you can view the stream of your frontdoor when the doorbell is pressed, and stop the stream after X seconds.
"Hi! I get an error when trying to play something: "Device requirements. This Airplay connection requires iOS 7.1 or later". Latest Apple TV with latest tvOS. Just letting you know. Will update when I find a solution."
or you need to build that into the app of course which is a little bit harder i think
Settings > AirPlay > Security > Require Device Verification
works a lot better than my chromcast audio alternative "audiocast m5 by iEast".
i have a apple tv3 no errors like this in the lines above...
thank you @swttt ;;
Do note that when you use an audio stream it allways shows a black screen (at least it does on the latest apple tv).
WIll look into adding the audio api later on, first a fix for Kodi