Apple TV integrations

Has there been an update that renders the postlund files outdated? And am I able to go back to TVOS12?

I have followed every youtube video and configuration guide I can find and get errors about half way through.

I’ve installed pyatv and the atvremote scan comes up with command not found.

I can download the hass atv beta from github postlund just fine but the integration on lovelace does not show apple tv. It does show apple icloud but I don’t have an iphone and everytime I try to sign into icloud i get an error message that says none of my devices have find my phone discovered. When i select find my phone on my windows 10 laptop the screen times out.

The appletv scan service does not appear in lovelace but when i manually type it in i get a call service failed device not found. The apple tv authenticate service dose work however and I get a pin and a really long authentication code.

I’m running haas on rpi 4b 2gb and rasbian on virtualbox/windows. Can somebody help me out?

As long as you have installed the beta component correctly (which I recommend that you do by add the repo to HACS and installing it the way), you should be able to add it via the Integrations page (iCloud has nothing to do with this). No need to use atvremote and all services are deprecated as the config flow deals with all that. All current documentation is deprecated for the beta component, so just ignore that for now.

Am I doing something wrong?

I have hass running on my rpi4. I have rasbian running on virtualbox on windows 10. The home assistant image that was flashed onto the pi is on windows. It is not on my virtual environment.

pi@raspberrypi:~ $ sudo git clone https://github/postlund/hass-atv-beta.git
Cloning into ‘hass-atv-beta’…
fatal: unable to access ‘https://github/postlund/hass-atv-beta.git/’: Failed to connect to github port 443: Connection timed out

pi@raspberrypi:~ $ curl -sfSL https://hacs.xyz/install | bash -
Trying to find the correct directory
Could not find the directory for Home Assistant.
Manually change the directory to the root of your Home Assistant configuration
With the user that is running Home Assistant
and run the script again
pi@raspberrypi:~ $

The correct address when cloning is this (if you don’t use HACS):

git clone https://github.com/postlund/pyatv

Regarding installing HACS… I guess you need to be the directory where your config is. Might be something like:

sudo -u homeassistant -s
cd ~/.homeassistant
curl -sfSL https://hacs.xyz/install | bash -

Refrain from using sudo when unnecessary. It’s unsafe and it’s easy to break things.

I do not know what I am doing wrong.

curl -sfSL https://hacs.xyz/install | bash -
Trying to find the correct directory
Could not find the directory for Home Assistant.
Manually change the directory to the root of your Home Assistant configuration
With the user that is running Home Assistant
and run the script again
pi@raspberrypi:~ $

You need to change directory (with cd) so that you are standing in the directory where your Home Assistant config is (where you find configuration.yaml). How to do that (assuming you are running hassbian) is what I tried to explain in the second part of my response above.

The directory is on windows.

Error Checking for updates.

E; http://archiveraspberrypi.org/debian_busterINrelease is not (yet) available (Could not resolve ‘archive.raspberrypi.org’)

the raspberry pi has a flashed copy of hass os without a display. It is on wifi.

I spent all day and finally figured out how to get HACS installed. Now I see Alexa media player and trakt and many other HACS integrations. I still do not see apple tv. Are you able to help me out or are have you decided to quit on me? lol

I will try to help, just have other things to do as well :wink: It’s not part of the standard library, you need to add the repository manually. Go to HACS -> Integrations -> Three dots in top-right corner -> Custom Repositories and add https://github.com/postlund/hass-atv-beta

1 Like

I got it integrated! I’m sure I will have more questions in the future. I appreciate your help. Thank you!

1 Like