How to get access at damn host system?

Hi Vincen,

Yes, this is confusing, isn’t it?

Not sure how much you know here, but the following might be useful (as I understand the situation, being fairly new to HA, and just working this out by exploration):

  • Homeassistant under Hassio is running in a Docker container. If, say, you use the SSH add-on and then ssh into the Pi, you’re normally connecting to the SSH daemon running inside the homeassistant container. [Update: I made a mistake: you’re actually inside the ‘SSH server’ container, so you won’t see HA running there, but you have access to the /config folder and the hassio command.]

  • If you get access to the hassio-cli (either by enabling the host SSH access on port 22222) or, I guess, by plugging in a keyboard as you’ve done, then typing ‘login’ from there takes you to the host system.

  • You can then run docker ps to see the containers that are running. These would normally include the one called homeassistant.

  • You can run docker container inspect homeassistant to get a big json dump of info about that container.

  • One of the things buried in there is the fact that /mnt/data/supervisor/homeassistant on the host is mounted as /config inside the container.

I think that’s where you’ll find your config files. Does that help?

All the best,
Quentin

26 Likes