[APP][Pro] Apple TV & HomePod

Ha! 1.6.5 solved it. My flow is working flawlessly now. That was fixed fast @BasMilius

Let me know please, how can I buy you a coffee? :slight_smile:

@Anton_Wierenga The donation option on Apple TV & HomePod | Homey is fine :slight_smile:

Didn’t have success adding my Apple TV (2017) with the regular version and the 1.6.4 version. See the Apple TV, and then it shows the pin entry screen but the Apple TV never shows a PIN code. Tried restarting the Apple TV and Homey but no dice. Will definitely need to try 1.6.5 later today.

@Ricky_H Let me know if it works with the new version!

Another work in progress feature in the works for the Python release…

Looking good! This will be available for Homepods only? Or also for Apple TV? :slight_smile:

Hi @BasMilius, with the new Python version I was able to add the HomePod in just a few seconds.
But some seconds later, the HomePod disconnect itself with the message:

Cannot connect to HomePod: Failed to set up remote control channel.

If I restart the app, the HomePod seems to be available for a second and then disconnect again.

Diagnostic report no.: 7e11aa32-e516-4515-a1d7-df6e7e151d3e

@Anton_Wierenga Both, although I have tested it for HomePods for now :slight_smile:

@DirkG Thanks for the report, I have the error… I’ll try to make another build soon :slight_smile:

Apple TV & HomePod 1.6.6 - 1.6.7 – Python Test

Project ApplePy

  • Introduced a new Mini Player widget for use on dashboards.
    • The new widget is configurable and has options to show/hide controls, seeker and volume slider.
    • Known issue: Apple TV’s that use for example Sonos speakers don’t have the ability to control volume, so the volume slider won’t be working. I need to figure out if I can hide the volume slider in that case.
  • Introduced a new Remote widget for Apple TV’s.
  • Connections are more stable now.

Mini Player widget working, very nice addition. I just don’t see an option to add the Remote widget for Apple TV

Nevermind, had to update to 1.6.7, working now

Apple TV & HomePod 1.6.8 – Python Test

Project ApplePy

  • Lot’s of cleaning was done. Mostly leftovers of me debugging.
  • Connections are more robust and are able to restore more quickly.
  • Volume updates are now pushed to the new Mini Player widget from 1.6.6.
  • The power state is shown in the Remote widget from 1.6.7.
  • When no artwork is available, both new widgets now show a music note.
  • New app images.
  • Made the Apple logo a little bigger in the app icon.

Using your app is there a way to speak text?

@JMDPC Not directly, but you’re able to generate an audio url from Google TTS I think and send that to a HomePod. Maybe @DoctorBazinga can help you out!

I‘d lije to help.

But still got my same Problems.
With Version 1.63 all 3 HomePod minis were unavailable and one Apple TV. The onle AppleTV and HomePod minis in my sleeping being unavailable was right/not an error because the were without power.

But the other 2 HomePod minis and the AppleTV with now upgraded to version 1.68 is an error because I can use/reach tem with the Homekit app on my phone.

Black Iphonitis rigorosa : level 15+

@DoctorBazinga There is still some weird behavior with upgrading from the TypeScript version to the new Python based version, I hope that it’s fixable eventually. Maybe that’s what you’re experiencing now… I would ask to re-add one of the devices and see if it works on the new experimental version. And please send another diagnostics report on that new experimental version, lot’s of different behavior across all kinds of setups!

@BasMilius You’re the best. I just downloaded the latest beta version, and the play and pause feature works. It’s exactly what I needed. Integrating the Apple TV also went smoothly. The PIN entry screen appears right away. Perfect. I can’t wait to see what else you’ll add. I’ve tested YouTube, Amazon Prime, and Emby. They all work perfectly.

Nice to see that the Python sdk is being put to use now!

The now-playing functionality is quite flaky on my device from what it seems and i’m not sure what a good troubleshooting step would be. I’ve tried restarting the connection, restarting the app, and all manner of combinations. I’ve tried removing and re-adding the device a couple of times. Unfortunately, after the most recent removal/re-addition, my device is not really being recognized or updated.

Report id d2cdad21-5d7d-4651-a005-4d72dbdc2786

Hei

I’m trying to use 1.6.8, I can connect ATV and HomePod mini but after the setup it just shows an error with “not connected” or “can’t find on network”. Worked before upgrading to python.

Is there some settings I need to change? Have tried to restart app, homey pro 23 and reinstalling the app.

Log: 23bd0589-4d6d-4860-8e61-737b7f1ff7e8