Hidden folder .homeassistant gets created while running __main__.py

Following are the steps done:

  1. Downloaded backend source code of home assistant from github.
  2. Installed docker.
  3. Installed hassio using curl command. It got installed on the location /usr/share/hassio/homeassistant
  4. Executed main.py present in the source code using the command: python3 main.py --open-ui
  5. The web UI opened with the configuration files present in this location: /usr/share/hassio/homeassistant
  6. A hidden folder .homeassistant created automatically in the location where this source code was present with the default configuration files.

Can you let me know how this directory gets created?

Moreover, I don’t want my home assistant Web appllication to fetch the configuration file from /usr/share/hassio/homeassistant . Instead I want to make updations in source code or this directory .homeassistant that is automatically created and want web application to fetch the configuration files from here.

This will work, but we have hass.

It’s created when the directory is missing during the bootstrapping.

See hass.

Can you explain what are you trying to achieve? It seems you are doing random stuff, as you are mixing up Hassio with Home Assistant.

  1. If you need Home Assistant in docker on a linux machine you don’t need Hassio, just execute the one-line command from https://home-assistant.io/docs/installation/docker/

  2. If you want Home Assistant on a linux machine without docker, just install python and follow this https://home-assistant.io/docs/installation/virtualenv/

@namadori

Thanks for the information.

  1. I have used the second option to install the home assistant in virtual environment on linux machine without docker.

  2. I opened UI using this $ hass --open-ui

  3. I didn’t received hassio tab in the side menu. So, I installed hassio with docker by following this https://home-assistant.io/hassio/installation/#alternative-install-on-generic-linux-server

  4. But this hassio tab diasppears frequently and we don’t know how to remove and reinstall it.

  5. The task which I am actually trying to achieve is merging the source code provided for backend and frontend and create some more backend APIs to control various devices. I received the source code from this https://home-assistant.io/developers/development/

Can you please help me with this?