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
There are 2 ways for you to install:
1. Direct
installation : After installing Python, open the CMD window and type:
Code:
pip3 install homeassistant
Then, to run HASS , you type in the following command:
Code:
py -m homeassistant --open-ui
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
In addition, to upgrade HA to the latest versions, you can use the following statement:
Code:
pip3 install --upgrade homeassistant
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
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