[Help Request] Home Assistant - Apple TV 4k not found
See original GitHub issueWhat do you need help with?
HA information:
Version | core-2022.3.3
-- | --
Installation Type | Home Assistant OS
Development | false
Supervisor | true
Docker | true
User | root
Virtual Environment | false
Python Version | 3.9.9
Operating System Family | Linux
Operating System Version | 5.10.98
CPU Architecture | x86_64
Timezone | America/Chicago
Supervisor Info:
Host Operating System | Home Assistant OS 7.4
-- | --
Update Channel | stable
Supervisor Version | supervisor-2022.03.3
Docker Version | 20.10.9
Disk Total | 46.5 GB
Disk Used | 26.2 GB
Healthy | true
Supported | true
Board | ova
Supervisor API | ok
Version API | ok
Installed Add-ons | ADB - Android Debug Bridge (0.8.0), Samba share (9.5.1), File editor (5.3.3), InfluxDB (4.3.0), Mosquitto broker (5.1.1), Node-RED (11.1.0), Terminal & SSH (9.3.0), ESPHome (2022.2.6), Grafana (7.4.1), Z-Wave JS to MQTT (0.36.0), Z-Wave JS (0.1.54), HassOS SSH port 22222 Configurator (0.8), TasmoAdmin (0.16.0), rest980_2 Docker Image (20220113), php-nginx_2 Docker Image (latest), Zigbee2mqtt (1.24.0-1)
I tried using just the normal HA Integration through the UI, but it finds the TV neither by IP nor by Device name
I then installed ATV Beta 3.0.1 through HACs and have restarted HA multiple times (as well as rebooting the host)
I have the following set in configuration.yaml
logger:
default: warning
logs:
custom_components.localtuya: debug
pyatv: debug
custom_components.apple_tv: debug
However, I don’t know where to find these logs.
When I install atvremote
via pip on my desktop, the scan works. If I log into HA shell and use the docker container, the scan also succeeds.
Results output:
atvremote --debug scan
2022-03-10 10:17:11 DEBUG [pyatv.scripts]: Running with pyatv 0.10.0
2022-03-10 10:17:11 DEBUG [pyatv.support.net]: Binding on *:5353
2022-03-10 10:17:11 DEBUG [pyatv.support.net]: Binding on 127.0.0.1:0
2022-03-10 10:17:11 DEBUG [pyatv.support.net]: Binding on 192.168.99.198:0
2022-03-10 10:17:14 DEBUG [pyatv.core.scan]: Auto-discovered Projector at 192.168.99.221:49152 via Protocol.Companion ({'rpmac': '1', 'rphn': '51ca404b3497', 'rpfl': '0xB6782', 'rpmd': 'AppleTV11,1', 'rpvr': '330.5', 'rpmrtid': '4EE8353D-249E-43B6-A50B-7C3C999B6092', 'rpad': '0cfd69eca173', 'rpba': '42:88:A8:8B:83:8B'})
2022-03-10 10:17:14 DEBUG [pyatv.core.scan]: Auto-discovered Projector at 192.168.99.221:7000 via Protocol.AirPlay ({'acl': '0', 'btaddr': 'F0:B3:EC:07:B6:B6', 'deviceid': 'F0:B3:EC:18:3E:2C', 'fex': '1d9/St5/FbwI', 'features': '0x4A7FDFD5,0xBC157FDE', 'flags': '0x244', 'gid': 'B8BB4008-6300-4654-B5F0-94C0019C62CA', 'igl': '1', 'gcgl': '1', 'model': 'AppleTV11,1', 'protovers': '1.1', 'pi': 'fe5af559-2990-481e-92e3-80fb493f211b', 'psi': '4EE8353D-249E-43B6-A50B-7C3C999B6092', 'pk': '22bd8faee28808af4cc928578b4bdfd45094d01960a616cba981f9bfb6c23aea', 'srcvers': '605.1', 'osvers': '15.3', 'vv': '2'})
2022-03-10 10:17:14 DEBUG [pyatv.core.scan]: Auto-discovered F0B3EC183E2C@Projector at 192.168.99.221:7000 via Protocol.RAOP ({'cn': '0,1,2,3', 'da': 'true', 'et': '0,3,5', 'ft': '0x4A7FDFD5,0xBC157FDE', 'sf': '0x244', 'md': '0,1,2', 'am': 'AppleTV11,1', 'pk': '22bd8faee28808af4cc928578b4bdfd45094d01960a616cba981f9bfb6c23aea', 'tp': 'UDP', 'vn': '65537', 'vs': '605.1', 'ov': '15.3', 'vv': '2'})
Scan Results
========================================
Name: Projector
Model/SW: Apple TV 4K (gen2), tvOS 15.3
Address: 192.168.99.221
MAC: F0:B3:EC:18:3E:2C
Deep Sleep: True
Identifiers:
- F0:B3:EC:18:3E:2C
- F0B3EC183E2C
Services:
- Protocol: Companion, Port: 49152, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
- Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
- Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
The UI simply returns this:
How can I go about debugging this further? The Apple TV is set to allow from devices on the same network as itself.
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Problems with Apple TV 4K status in HA
But if the Apple TV is turned off for a while and I turn it back on, it always stays on STANDBY in...
Read more >Apple TV - Home Assistant
Browse to your Home Assistant instance. In the sidebar click on Settings. From the configuration menu select: Devices & Services. In the bottom...
Read more >Apple TV 4k not found - Home Assistant Community
Hi, I'm a excited new home assistant user and currently trying to install my Apple TV (4k) in home assistant. I followed the...
Read more >Apple TV "no devices found" despite using an IP address ...
I'm trying to add an Apple TV to Home Assistant directly via the static IP address assigned by my router. However, HA always...
Read more >Apple TV Integration - tvOS 15 Beta - Third party integrations
Hi! I have trouble to reconnect my Apple TV 4 TvOS 15. I have upgraded to latest Beta and removed all entities related...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It will only work if you set up an MDNS responder and forward all the MDNS packets across the VLANs.
Thank you @postlund ! I can’t find how to do so on hostapd. Any idea how if this is in your scope ? Cheers