Core: Apple TV not working anymore in 0.82.0b4

Created on 8 Nov 2018  路  15Comments  路  Source: home-assistant/core

Hass.io 0.82.0b4
Hass.io supervisor 139
HassOS 1.12 64
RPI 3 B+
AppleTV 4K

Last working Home Assistant release (if known):
Not exactly sure, 0.81.n

2018-11-08 18:46:12 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A error occurred:

apple_tv

Most helpful comment

Seeing same issue on Non-4k AppleTV (TVOS 12.1.1).
HASSIO 0.81.6 & 0.82.0.

All 15 comments

I'm having the same issue. Running 0.81.6 Hass.io.

I am having the same problem as well.. Only on my apple tv 4k. My Apple tv 4 seems to work fine.
A reboot of the Apple TV 4k seems to solve it temporarily

The problem persists in version 0.82.0

Seeing same issue on Non-4k AppleTV (TVOS 12.1.1).
HASSIO 0.81.6 & 0.82.0.

Me too on 0.82.0.

Tried some troubleshooting...
Ran atvremote scan. Says home sharing is disabled which it isn't. Turned off home sharing and back on. Same error.

Maybe this is an issue introduced in a recent tvOS update?

Same issue here. Running 0.82 and TvOS 12.1.1. I have tried paring the Apple tv, but it鈥檚 still giving the issue

Mine is broken as well. I've got an older Apple TV 2 that worked just fine with 0.81.x. As soon as I upgraded to 0.82 I started getting this error:

Nov 16 02:47:52 homodomo hass[30653]: 2018-11-16 02:47:52 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Nov 16 02:47:52 homodomo hass[30653]: Traceback (most recent call last):
Nov 16 02:47:52 homodomo hass[30653]:   File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/apple_tv.py", line 170, in atv_discovered
Nov 16 02:47:52 homodomo hass[30653]:     CONF_START_OFF: False
Nov 16 02:47:52 homodomo hass[30653]:   File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/apple_tv.py", line 192, in _setup_atv
Nov 16 02:47:52 homodomo hass[30653]:     import pyatv
Nov 16 02:47:52 homodomo hass[30653]:   File "/srv/hass/lib/python3.7/site-packages/pyatv/__init__.py", line 13, in <module>
Nov 16 02:47:52 homodomo hass[30653]:     from pyatv.internal.apple_tv import AppleTVInternal
Nov 16 02:47:52 homodomo hass[30653]:   File "/srv/hass/lib/python3.7/site-packages/pyatv/internal/apple_tv.py", line 363
Nov 16 02:47:52 homodomo hass[30653]:     run_async = asyncio.async  # pylint: disable=no-member
Nov 16 02:47:52 homodomo hass[30653]:                             ^
Nov 16 02:47:52 homodomo hass[30653]: SyntaxError: invalid syntax

That error and the fact atvremote gives the same thing leads me to believe there may be multiple things going on here, one of which is an issue with the pyatv package.

Edit: Ahh, looks like I might be running into a different problem. Seems this was fixed awhile back in the dev branch of pyatv which HA obviously isn't using.

See: https://github.com/postlund/pyatv/issues/151

I am having the same problem currently.

I am on HASS 0.82 and I was having problems with TVOS 12.1.1 beta and my two Apple TV4 units. I downgraded TVOS back to 12.1 and everything started working again.

I鈥檝e just upgraded to TVOS 12.1.1 on my Atv 4K and it stopped working completely.

Log gives me the following error:

A error occurred: Cannot connect to host :3689 ssl:None [Host is unreachable]

My logs are being flooded with Warnings from the AppleTv.

2018-12-06 09:21:01 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A error occurred:
2018-12-06 09:21:22 WARNING (MainThread) [homeassistant.components.media_player.apple_tv] A error occurred:

It appears tvOS 12.1.1 broke the integration

same with me, 12.1.1 broke the integration both an an Apple TV 4 and a 4K

I have relased 0.3.12 which fixes this issue. A PR to bump it is at #19085.

Was this page helpful?
0 / 5 - 0 ratings