Manual Method of Installing Home Assistant in Raspberry Pi

There are number of ways available to run your own Home Assistant installation including downloading ready images comes Home Assistant pre-installed in it. Here we are discussing a manual method of installing Home Assistant in Raspberry Pi already running latest Raspbian OS in it.

Contents:


Manual Method of Installing Home Assistant in Raspberry Pi:

Step I: Installing the software dependencies:

  • Update the operating system.
  • Installing the dependencies such as python etc.
  • Creating an user account for home assistant.
  • Creating directories for installation of home assistant.
  • create and change to a virtual environment for Home Assistant.
  • Install a required python package.

Step II: Installing & Running the Home Assistant:

  • Installing Home Assistant package.
  • Running the Home Assistant.
  • For the first time, hass command will download, install and cache the necessary libraries/dependencies which may take 5 to 10 minutes.
  • Once procedure is completed, you can reach the Home Assistant Web Interface at http://ipaddress:8123.

Step III: Auto Start Home Assistant on reboot:

  • Creating systemd service file for Home Assistant.
  • Paste the following contents in the Nano editor using Right mouse key.
  • Save the file by pressing “CTRL” and “X” key. Editor will ask for the confirmation to save the file. Press “Y” key and hit “Enter”.
  • Reload systemd configuration.
  • Enable hass  service to start at boot.
  • Starting hass  service
 

Have Fun!

Leave a Reply

avatar
  Subscribe  
Notify of