Skip to content

Instantly share code, notes, and snippets.

@hannesbe
Last active February 13, 2018 07:53
Show Gist options
  • Select an option

  • Save hannesbe/50c5e5828f43f9f03cf1e61193884e05 to your computer and use it in GitHub Desktop.

Select an option

Save hannesbe/50c5e5828f43f9f03cf1e61193884e05 to your computer and use it in GitHub Desktop.
Very basic update script for the Home Assistant Configuration UI (https://github.com/danielperna84/hass-configurator)
cd /home/homeassistant/.homeassistant
sudo mv configurator.py configurator.py-bak-$(date +%F-%T)
sudo wget https://raw.githubusercontent.com/danielperna84/hass-configurator/master/configurator.py
sudo wget -o settings.conf-dist https://raw.githubusercontent.com/danielperna84/hass-configurator/master/settings.conf
sudo chmod +x configurator.py
sudo chown homeassistant:homeassistant -R /home/homeassistant/.homeassistant
sudo systemctl restart hass-poc-configurator@homeassistant.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment