[APP][Pro] Apple TV & HomePod

So I’ve just released v1.1.3 of the Apple TV & HomePod app. This update adds reconnect logic for the companion link protocol (main reason for the red triangle) and fixes some of the automatic crash reports that I’ve received. I didn’t see a red triangle since yesterday afternoon, let’s hope it stays that way :flexed_biceps: .

I’ve also decided to take some time and refactor the underlying protocol library that I’ve made for this app, so that there’s better logging and a more robust way to call everything. Everything was programmed as I reverse engineered everything and that is now holding me a bit back. If anyone is interested in looking through the actual protocol code and maybe try some stuff themselves, let me know your Github username and I’ll add you to the repository. After the refactor I want to make the protocol library public for anyone to see :slight_smile:

1 Like

Yeah i have “Anyone on the same network” on

Unfortunately, I am still experiencing red triangles here. These appeared after the 1.1.3 -1.1.6 updates. Before that, everything was working without any issues. I have already performed several restarts, but without success.

@Dutchbird Can you send a diagnostics report?

Sure: 2ba9fb1c-8ea5-4da0-a7ca-097cf6024e33

@Dutchbird Hmm, from what I can see, both devices are not on the same network as your Homey or are no longer being discoverable through mDNS. There are no other errors in the report. Did you already try to re-add them?

Hmm, strange, because there is only one network active in my home that both the Homey and the HomePods are connected to. I’ve just tried adding them again, but neither of the HomePods is being found.

@Dutchbird That’s very weird.

Do you have a Mac? I’m curious if the HomePods are available from there, if you do, please run the following command in Terminal and let me know if the HomePods are visible there: dns-sd -B _airplay._tcp

I don’t own a Windows machine these days, but I think on Windows the command is something like this in PowerShell: Resolve-DnsName -Name “_airplay._tcp.local” -Type PTR

I don’t have a Mac available, unfortunately. But after installing the update to v1.2.0 last night, I made another attempt to add the HomePod mini’s again. They were suddenly discovered and paired again without any issues. I can’t say exactly what the problem was.

@Dutchbird Hmm, great that it’s working again. Let me know how it goes! :slight_smile:

1 Like

I have installed v1.2.1 this morning. The music is playing on my Homepods but the cover image is missing.

@HuVaTo Can you try to go into the settings of the device and click “Restart connection” a few times? Sometimes an airplay connection doesn’t receive state updates right away…

I tried it a few times but it still does not display an image.

@Hugo_van_Toor Ah, and I see that other information is present. Sometimes an app does not share its artwork. Can you share which app is playing there?

There are other examples:

  • Videoland shares it sometimes, depending on the program.
  • Twitch shares nothing, not even which streamer you’re watching.
  • HBO Max shares it sometimes.

I play a song with Apple Music. It did work last weekend. I also tried Spotify but still no image.

@HuVaTo Sometimes I have the same with Apple Music. It’s working most of the time, let’s say of 25 songs, 1 does not have an artwork. I don’t know why…

I’ve tested this a bunch and discovered that if an artwork from Apple Music isn’t shown, most of the time native Apple apps also doesn’t show the artwork when controlling an AirPlay device. I say most of the time, there are also times that my app does have an artwork and the native Apple app doesn’t. I think it’s just some strange behavior in the protocol.

Here’s an example of my app working and Apple TV not working, made just now.

I understand, in the meantime I tried another music and most of the time the cover is shown. I will keep you posted!

1 Like

Help !!

Since about a week (more or less) my 3 Homepod Mini’s start playing suddenly from their last source /playlist or from my purchased Apple Music library.

Today I was searching /googling what the cause and the solution is and nothing has helped. but I suddenly remembered all the minor updates if this Homey Pro app so I did a test : disabled the app for more than 4 hours and within this time none of my 3 HomePod Mini’s (latest updates/firmware) were quite again.

All 3 devices are in their own separate rooms physically and also (homey) zone.

Also a strange behavior I noticed: It seems that (sometimes) the homey (app) looses connection to one of my homepod mini’s and a red triangle :red_triangle_pointed_up: appears fir some seconds and tgen it reconnects and many times it starts playing then even it wasn’t playing anything before.

Meanwhile I’m afraid I will have to cut the power to them or disable the Homey pro app to ensure I will not have to endure another sleepless night like last night (chasing and turning off mad/gone nuts/haywire homepod mini’s playing loud ).

@DoctorBazinga What, that’s very odd. The app starts an AirPlay connection to all connected HomePods and keeps that connection open, but no actual commands are being send, unless clicked ofcourse.

Do you have any flows with the devices maybe? Find this very strange… I don’t know if I can find a cause, but can you please enable the app again and as soon as this happens again, send a diagnostics report.

So I’ve just released v1.2.2 of the app in test. This update reworks how devices are discovered. If anyone is using the test release, please share your findings! :slight_smile: