How to install and configure Home Assistant su Windows

2 minutes of reading
Guide purposes:
Concepts dealt with:
  • software installation and configuration
Software components used:
Prerequisites:
  • Wifi network connected to the Internet
  • Operating System Windows working
Physical devices used:
  • Computer with operating system Windows
Notes and disclaimer
  • qualsiasi eventuale modifica agli impianti domestici dev'essere progettata ed realizzata SOLO da personale qualificato;
  • any changes implemented in probefore is a propersonal responsibility as well as a profirst risk and danger (the contents of the present page are purely educational);
  • any changes implemented in proprior to a device it voids the guarantee, quality approvals and certifications.
GUIDE more indicated for:

Windows

Driving review: 1.2

Abstract

As explained in other articles, Home Assistant is the one of the HUB ideal personal to make one profirst personal, organic and functional home automation. This software component has the ability to be installed on many systems and in different modes: although installation on Raspberry Pi is the most favored mode (for a thousand reasons, not least the need for an always-on system that consumes little or nothing), installation on Windows it is simple and ideal for those who want to perform a trial. However, nobody forbids the use of an installation Home Assistant "Exercise" on Windows.

The complete list of installation guides for various operating systems is available on the index page dedicated to Home Assistant of our site.


Home Assistant Official LogoATTENZIONE: 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.

Home Assistant Official Logo

It starts

preconditions

To install Home Assistant su Windows it is, first of all, necessary install Python. Once this installation has been carried out, simply execute a command to carry out the complete installation of Home Assistant, which will be later pronto for the first start, which in turn prosee one-time installation of dependencies to end with real boot proprio.

Install Python

First you need to download the Python installation package, of which we recommend the latest version possible. Home Assistant it is bound to specific versions of Python; too old a version (for him) causes it to fail to start.

The complete list of installation packages is available here.

N.b. It is mandatory that the Python installation includes the entry "Add Python to enviroment variables"
If you did not select it during installation, you can correct it by re-launching the installer, selecting “Modify"And, advancing one step, select the item"Add Python to enviroment variables ". NO profollow without having provveduto.

Subsequently, restart the computer.

Install Home Assistant

Once Python is installed, da procommand mpt execute the following command:
pip3 install homeassistant
This provvederà to the automatic installation of Home Assistant.

Start of Home Assistant

To start the environment it's enough (always from procommand mpt) the command:
py -m homeassistant --open-ui

When on screen appthe voice will "Starting Home Assistant",HUB will actually be running.

Please note:: even reaching “Starting Home Assistant”It is not said that Home Assistant is actually running: check that there are no specific errors in the log, which could be the cause of the failure, real start which, however, occurs in the following paragraph.

Test the functionnamento

Now it is necessary connect to proenvironment and check that everything is ok.
To do this, open the browser and connect to:
It should appto set up a site similar to this:
Home Assistant - Onboarding
Which allows you to set the first, elementary and personal "onboarding" information related to the profirst home automation.
Compliments! Home Assistant It is running.

Integrate components

Now it is possible to start integration the first accessories of the profirst home automation. To do this it is necessary to make changes to the file "configuration.yaml"; on this issue, we dedicate a guide apposita.

To update Home Assistant

In view of the availability of a new version of the software (the graphic interface itself indicates its presence) it is possible to update the system via this command to execute always from procommand mpt:
pip3 install --upgrade homeassistant


Home Assistant Official LogoATTENZIONE: 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.

inDomus telegram channel