This is a video on how to install Home Assistant in a python virtual environment on Ubuntu 18.04
Here is a link to get you started…..
As always, i like to start out by making sure my system is up to date….
sudo apt update
sudo apt upgrade
Once that is done, there are a couple of prerequisites we need to install….
sudo apt install python3-pip python3-venv
After that we can setup our virtual environment….
python3 -m venv homeassistant
python3 -m pip install wheel
now we are ready to install home assistant….
python3 -m pip install homeassistant
Once its installed, you can make sure everything installed properly by running it manually….
now we are going to setup a service file so we can run HASS as a service….
make sure you know the path to your HASS install
This should display the path to your HASS install. Now lets create the service file….
sudo vi /etc/systemd/system/[email protected]
ExecStart=/home/adrian/homeassistant/bin/hass -c “/home/adrian/.homeassistant”
Once that is done save it and lets set it up….
At this point you should be done, you can now move over to the web frontend and see what it looks like….
http://10.10.10.235:8123 (the IP is the IP of your machine that you installed it on and 8123 is the default port)
If you like the video, please subscribe to my channel. If you have any questions or comments, hit me up in the comments below. As always, if there are any videos out there you would like to see, let me know in the comments below and ill see if i can’t get something put together for you!!!!