Concepts dealt with:
Software components used:
Physical devices used:
GUIDE more indicated for:
Notes and disclaimer
As known, exist various techniques for the installation of Home Assistant.
In case you made it (brave but in the long run blessed) choice to install Home Assistant on a Raspberry equipped with Raspbian operating system or directly the distribution Hassbian, the commands used cyclically via SSH terminal they are the most disparate. We try to collect them in this guide (which will come, it goes without saying, renewed / updated over time).
If you have advice / suggestions / additions: email@example.com.
The community say thank you LoneWolf for directing us in preparing this guide.
- Checking the status of the service Home Assistant
- Start the service Home Assistant
- Stop the service Home Assistant
- Restart the service Home Assistant
- Disable the service hologram Home Assistant
- View real-time systemlog lines for Home Assistant
- Consult the service log Home Assistant
- Consult only service log errors Home Assistant
- Check the configuration by manual launch
- To update Home Assistant
- Update the permissions of all folders and path files Home Assistant
sudo systemctl status home-assistant@homeassistant
sudo systemctl start home-assistant@homeassistant
sudo systemctl stop home-assistant@homeassistant
sudo systemctl restart home-assistant@homeassistant
sudo systemctl disable home-assistant@homeassistant
sudo tail -f /var/log/syslog | grep hass
sudo journalctl -f -u home-assistant@homeassistant
sudo journalctl -f -u home-assistant@homeassistant | grep -i ‘error’
hass --script check_config –h
sudo systemctl stop home-assistant@homeassistant sudo -u homeassistant -H -s source /srv/homeassistant/bin/activate pip3 install --upgrade homeassistant exit sudo systemctl start home-assistant@homeassistant
It often happens that the permissions may not be aligned, which creates proproblems - often and willingly - to the execution of Home Assistant. It happens for example by creating additional folders and files.
To resolve, run the following command:
sudo chmod -R 0777 /home/homeassistant
ATTENZIONE: remember that there is on our FORUM community an ad hoc section dedicated to Home Assistant, for any doubt, question, information on the specific merit of these components.