Hey Everyone,
So I just upgraded to 0.38.1, added the apple_tv config to my media_player.yaml, after running the ‘atvremote scan’ to get my login ID, then restarted. I’m getting a login error in my log file. Here’s he details, and configs:
atvremote scan output:
Found Apple TVs:
Living Room TV at 192.168.X.X (login id: 00000000-0763-7101-c2b7-b6f779354b7b)
How did you even get atvremote scan to run? I upgraded to 0.38.1 and tried running that command from terminial but get command not found. I tried from multiple different directories and same error message.
I ran into the same issue, it seems that atvremote is not installed when the component gets added. I just manually installed it after following the instructions on the github repo here: https://github.com/postlund/pyatv
According to the documentation isn’t it meant to be a little more interesting. Even when I’m playing a title, that is all I see, except for the name of the title and a progress bar. Nothing else.
I find it strange that atvremote works but home assistant doesn’t. Can you enable some additional logging so that we can see what is going on? This in your config should be fine:
It all depends on what the app shares for metadata. Unfortunately a lot of times, not much information is given (some apps are better than others). It would be helpful if you could play some media in different apps, check output in home assistant as well as the Remote app in case you own an iOS device. If you see something in Remote, it should also be visible in home assists and. Otherwise it’s a dead end I’m afraid.
Is that to say multiple Apple TV’s can’t be used simultaneously? I seem to trigger the failed to login: 400 (bad login id?) error whenever I fire up our second ATV.
That should be fine, but I only own one device myself so I can’t verify. But I think @robbiet480 runs at least two devices independently. Maybe he can answer?
Maybe you could try enabling logging as I suggest above to see what happens? Also, I think this would be solved by pairing home assistant with your device. But that doesn’t work yet and I would not recommend it for now. Hopefully I will manage to add support in next release.
I’m getting an error around my appletv configuration which is understandable since I haven’t set it up and don’t really see a need to for my uses. Do I have to configure it to get it to stop complaining about it? Same with cast?
Is it the same error? If home sharing is not enabled it should not be found and not bother you. Otherwise you do and in that case you currently cannot disable it. But it would be good to figure out why it doesn’t work.