Ok, not sure where to find this function then. I tried making a diagnostic report in the web app and could only find a button for that in the main settings. Maybe I’m on the wrong spot?
But yesterday I tried pushing “restart connection” button in advanved settings on the Apple TV unit in Homey. That seem to have fixed the problems since it still works to turn on/off today.
I will come back to you if I experience more troubles later, but for now everything seems fine.
Migration to Python, get off the test release channel if you do not want an unstable experience!
Hi everyone,
For the last couple of weeks I’ve been silently working on migrating the Apple TV & HomePod app to Python, the reason for this migration is so that I’m able to use the popular pyatv project instead of my own implementation of the various different apple protocols. Everything should be more stable this way, because pyatv is somewhat battle tested and my own implementation is not.
Test releases will begin at the end of the week, which means that if you’re not ready for this release, this is a good time to get off the test release channel. The entire 1.6.x release cycle will be for this migration, when everything is done and stable a new 2.0 release is made.
Some features are broken, but the core experience is working. Here’s a list of known broken features:
Play url (at volume).
Receiving artwork url updates works, but is not as reliable yet.
The mute remote control, which pyatv surprisingly does not support.
Migrating already paired devices to the new Python based app.
This will hopefully work in the future and only Apple TV’s are not able to migrate at this point.
Because we’re migrating to Python, the TypeScript library served its purpose. I do however not want to throw it away. So from now on, that set of libraries is open source. If you’re curious how everything works, take a look!
Hello, first of all, thank you very much for your great work and the time you have already put into the project. I was hoping that an app like this would come along at some point. Thank you very much. Would it be possible to add an “if” trigger for Apple TV Pause and Apple TV Play? I would like to set something up like, if Apple TV Pause, then turn on the living room lights, and if Apple TV Play, then turn off the living room lights again. Thx
At least I have for my Apple TV, but it says something like “Started playback” and “Stopped playback”. Not sure whats in english since I´m using it in norwegian.
It also depends heavily on which app is controlling the media. For example Twitch does not implement standard tvOS api’s for media playback. Which app are you using when trying this?
I´m experiencing the same problems again now. It seems like the Apple TV gets disconnected and the problem is to restart the connection in the settings page of the unit.
@Oyvind_Lilleberg It’s probably the Companion Link protocol, there’s not really anything I can do about it, the device decides to change its port and there’s currently no way for me to receive that update from Homey.
There is however a flow that you can make that automatically restarts the app if this happens.
First of all, many thanks for all your efforts and finally releasing an Apple TV app for Homey @BasMilius ! I was really hoping/waiting that such app would arrive one day.
In general it works quite stable for me (version 1.5.3) as long as I restart the app when companion link fails. On top I also restart the app when the Apple TV has turned on.
I look forward to test the Python version. Have been using home assistant in the past which is also using pyatv and there it has always been rock solid for me.
I saw new firmware was released today for the Homey Pro which should now include support for python.
I’m also looking forward to the python version myself, it’s running on my development Homey quite ok for a few days now, but it isn’t stable enough for a production release yet. I previously said that I wanted to release a test version last week, but that was too soon, aiming for sunday or tuesday. Python support was actually working before todays firmware release, just not officially