A shell utility script to easily manage your Home Assistant installation in Python venv.
This script is using whiptail.
Add exec permissions to the script in order to use it:
chmod u+x ha-manager.sh
Edit the config file:
nano ha-manager.json
Change the variables to match your installation:
{
"VENV_DIR": "/srv/homeassistant",
"CONFIG_DIR": "/home/homeassistant/.homeassistant",
"BACKUP_ROOT_DIR": "/mnt/backup/Home Assistant",
"LOG_DIR": "/var/log/homeassistant",
"HA_USER": "homeassistant"
}
Then run the script:
./ha-manager.sh