[APP][Pro] Apple TV & HomePod

After months of reverse engineering and looking through the codebase of pyatv, I’m confident enough that my version of the Apple TV and HomePod app is ready for testing.

It’s not considered stable, but it works.

Pairing an Apple TV

This can be done with one PIN and those credentials are saved for future use. It survives Homey and Apple TV reboots.

Pairing a HomePod (Mini)

This can be done without a PIN, which is called transient pairing. The device is added and is paired everytime the Homey app needs to connect.

Please let me know if something goes wrong or is broken.

8 Likes

Secretly I’ve already been testing the app for a week, found it while perusing GitHub :eyes:

Will let you know when I run into any problem :ok_hand:

1 Like

@Waldo Haha! I wondered where those extra installs came from… :slight_smile:

OT: Lots of small updates are expected, small protocol adjustments and stuff. I want everything to be stable before adding new features. Source code of the underlying protocols will be published on GitHub eventually.

1 Like

Is it possible to broadcast to the HomePod or play any sounds ?

Not at the moment, no.

I want to support it eventually, but audio streaming is not that straightforward as you might think. I have a half working PoC, but that is in no way ready for in the Homey app.

I’ve been waiting for this app since I got my Homey! Many thanks for the development! I’m very happy to support and will report any errors I notice.

Apple TV pairing worked perfectly.

2 Likes

Great idea. Really have been waiting for this.

However, when trying to pay an HomePod mini, after selecting HomePod mini and an the HomePod I would like to connect, it keeps showing “Loading”.

AppleTV I can add

My Apple TV disconnected, not sure when it happened. But my wife started watching something on the Apple TV via AirPlay from her iPhone and I wanted to see if the app had picked it up. Then I noticed it wasn’t connected anymore.

Diagnostics: 119dbb47-57a4-441c-9a34-ce3933602488

Edit: a reboot of the app did manage to reconnect to the Apple TV again. And the now playing app is correctly identified as “AirPlay”

Ah, thanks! Useful information, I’ll work on it after Christmas :slight_smile:

1 Like

Same for me. I am able to add my Apple TV but the pairing process is just stuck on loading when I try to add my (regular) HomePod.

2 HomePods and 2 ATVs acting perfectly for a couple of days. No issues.

Thanks @BasMilius for creating this app!

I’ve added my HomePod minis, will there be support for HomePod (2nd generation) as well?

Thnx @BasMilius for creating the app installed it on my homey pro 2026 and will start testing

Apple TV and Home pod mini connected without any problem

Thanks @BasMilius for the app.
Here installed with 2x Apple TV and works without a problem!

This app is very welcomed!

Using Samsung the Frame and Apple TV 4k. The flow did “Turn On” and “Launch app Youtube”.

  1. Youtube played the app in the upper left corner. About 25% size of screen. Wrong resolution?
  2. The Frame stopped and displayed: “mode not supported”.
  3. I turn off/on and it works fine again. It’s not happening every time.

Good luck with the App

Ulf

Thanks everyone for the kind words :slight_smile:

I’ve just updated the app to 0.0.27 and did a lot of internal refactoring. Please keep testing!

  • The app should be better at recovering from a connection loss.
  • Updating now playing state has been rewritten, but does not have all features yet.
  • Added regular HomePod as a device. If your HomePod can still not be added, please give the device identifier (AudioAccessoryX,X).
  • Updated the device icons.

I’ve also identified what causes pairing to get stuck, but that is not fixed yet. If it takes longer than a few seconds, please try again, because it won’t finish :slight_smile:

3 Likes

I’ve noticed that the Now Playing App capability keeps the last value until another app is used to play media. Not sure if this is a design choice or that the Apple TV doesn’t communicate a state where no app is used.

Anyways as a user I expect this capability to ‘reset’ to a default/empty state when no media is playing, instead of keeping the value of the last used app to play media.

Yeah, the device only reports a new media source when it is actually playing something. I have it on my todo list that I reset that value once media is paused or something. Thanks for reporting though! :slight_smile:

1 Like

There is a new update live that fixes some crashes and also resets the now playing app capability.

Too bad Sandwich Spread! Adding HomePods still does not work (eternal loading after selecting the HomePod I like to add). Same issue for Mini and Regular. Happy to provide device identifier. Where do I get this? Is that the code you get when sending a bug report (76898332-e47f-4da8-9c0c-fb506d430e12)?