Home Smart Home Home Assistant Lesson 16 – Instructions for installing Home Assistant on Windows

Home Assistant Lesson 16 – Instructions for installing Home Assistant on Windows

0 comment 143 views
clean the hard drive daily on Windows 10

Home Assistant is the heart of a smart home, and to set HA perfectly, there’s nothing but a RPi, but for some newcomers, invest right in 1 RPi during the time This point may not be necessary or sufficient financial. Fortunately, HA has supported many different platforms, from Linux, VMware, Virtual Box … today, I will guide you how to install HA on Windows 10, run directly.

Note: Windows is not the main support platform of the Home Assistant, and components will also have something that is not supported on this platform. You should only use it to test, experience or research things

1. Brothers have to install Python on the machine, you download here: Python for Windows

After downloading, you run the installation file with Administrator rights and install it as a normal software 
Note: you should tick “Add path …” box

Loading Install_python.JPG ...

There are 2 ways for you to install: 

1. Direct 

installation : After installing Python, open the CMD window and type:

Code:

pip3 install homeassistant
Loading installHA_1.JPG ...

Then, to run HASS , you type in the following command:

Code:

py -m homeassistant --open-ui
Loading run_HA.JPG ...

In this step, you wait a few minutes for components to be launched, then open Chrome and type in the address: http: // localhost: 8123 to open HASS

Loading OK.jpg ...

In addition, to upgrade HA to the latest versions, you can use the following statement:

Code:

 pip3 install --upgrade homeassistant
Loading upgrade_HA.JPG ...

2. If your computer uses Python for other purposes, you can create a separate environment on Python to install: 

You just need to open the CMD and run the following commands in turn:

Code:

py -m venv homeassistant
cd homeassistant
Scripts\activate.bat
py -m pip install wheel setuptools pip
py -m pip install homeassistant
Loading installin EVN.JPG ...

And to run HASS up or upgrade, you just need to run up the following command:
Code:

hass

====
Upgrade:

cd homeassistant
Scripts\activate.bat
py -m pip install --upgrade homeassistant

Finally, if you want to run HASS on startup, you can create a BAT file to run your startup, this is easy to guide. 
— If you want to edit the config, you edit the configuration.yml file here 
C: Users% username% AppData Roaming homeassistant

Related Tips And Tricks

Leave a Comment

Tips and Tricks

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More