This is my first post so sorry if anything is wrong.
Current config:
tvOS 17.4
HA installed on Synology NAS
HASS just downloaded so current
Apple TV Model: A1842 (64 GB)
Unifi Router but ATV is on same network no VPN or segregation, Apple Homekit works fine
Ethernet connection, all 3 ATV’s and Synology NAS. Same switch.
Airplay: On
Room: Office
Name: Office TV
I an not sure why I cannot add this ATV or any other in my home. I try to add the integration Apple > Apple TV and get the prompted by HA for the device. I have tried the Room, the Name, the IP address and still HA cannot find the ATV. Please help this is a big reason I wanted HA is to know when ATV is playing/paused so I can automate lights and other things depending on the status of the ATV. I have been searching and testing for over a week, so its not like I did not try but searches seem to say the same thing which I already tried.
Have you had it integrated before (I ask because if that is do you need to edit a hidden file and remove the ‘old’ entry). Will show you how if this is the case.
HA in a container on a Synology NAS, searched and found “homeassistant/home-assistant” in the registry. Out of curiosity do you have a HA Green or Yellow? I was looking at them tonight.
I am running HA container on a R-Pi 4 2Gb and it works just fine (not processing video though).
Both the green or yellow should also be fine.
OK, so when running HA container, the HA docker container needs to run network_mode: host in order to resolve mDNS queries used by HomeKit and I suspect this is your issue. The solution is to either use an mdns-repeater (which I gave up trying to do) or run the container on a R-Pi (which I do) or a Yellow, Green etc.
I tried running in in a container and selecting host and it did not work. Its probably me. HAHA. I ordered a Yellow and will wait for that and see if I can connect things. Thanks for your assistance.
One item I found poking around is that one of my Sonos speakers thinks it’s and Apple_tv device. When I try to set up the Living Room apple_tv this shows up as the living room device?
Found this entry in core.device_registry:
OK, look here: homeassistant/.storage/core.config_entries for something like the below (and remove it - there may be more than one if you have tried to add it multiple times before):
Finally found the time to do this, thank you for the information, 1 issue though, I am running HA on a Dell 3050 and when I shut down HA I have no access to the file to edit it and save it back because the machine powers down.So the shut down HA first is not possible.
Can’t I edit the file and save it then reboot?
Did a “core stop” from the command line and was able to stay connected to edit the file.
All is well now, setting up the Apple TV right now.