robotics-university.com | Hello my friends, hope you always in good condition. Today I will continue talking about Internet of Things (IoT) or in proper is Home Automation. Two topic that is the most popular talked by peoples on the last several years.
Today, I will talk about Home Assistant, Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server [1].
In order you can use it, you have to install it on your Raspberry Pi single board computer (SBC) or on your computer local server. But on this article, I will give you guide to install Home Assistant on the local server of Windows 10 computer.
Step 1: Visit the Home Assistant Official Website
First, visit the Home Assistant official website (https://www.home-assistant.io/), then select “Get Started” menu to get the installation guidance (See figure 1 and figure 2).
Figure 1. The Home Assistant official website front-page
Figure 2. Installation guide of Home Assistant
Read the guidance and follow the Home Assistant installation steps there. But unfortunately, there is available installation guide on Raspberry Pi SBC only. If you have Raspberry Pi, follow the guidance. But if you don’t have and want to install Home Assistant on Windows 10 computer, please continue reading this article.
Step 2: Download and Install the Latest Version of Python
For your information: To install Home Assistant on Raspberry Pi SBC or Windows 10 computer, installed Python on your devices are needed. Python on Raspberry Pi is ready to use in default, but on Windows 10 computer isn't, so for your Windows 10 computer, you have to install Python first before installing Home Assistant.
Get the latest Python installer file from the Python official website by click this link, here (See figure 3). Save it into a folder/directory in your computer.
Figure 3. Python download page
To start install Python on your computer, just double-click the execute (exe) file, see figure 4.
Figure 4. Python installer file (exe) on a file storage directory
If an installation section window as displayed on figure 5 opened, before you click “Install Now” option, don’t forget to check on “Add Python x.x to PATH”
Figure 5. Python installation section window
After you have clicked “Install Now” option, the Python installation will run (See figure 5). Wait until the process complete (See figure 6 and figure 7).
Figure 6. Python installation is in progress
Figure 7. Python installation was complete
If the installation process has been completed (See figure 7), press “Close” button as the end of the Python installation step.
Step 3: Install Home Assistant Using Command Prompt Window
To install Home Assistant on a Widows 10 computer, it can do with aided by command prompt window (See figure 8).
Figure 8. Step to open Command prompt windows
Type “cmd” into the search box of your Windows 10 computer then press enter key or you can use shortcut-key, Windows key + R, then press enter key. The opened command prompt window shown on figure 9.
Figure 9. Command Prompt windows
A. Command to install Home Assistant
To get started install Home Assistant on your windows computer, type the command below:
pip3 install homeassistant
Before you press enter key of your keyboard, make sure that your computer connects with internet network.
Figure 10. The Home Assistant installation is on process
Once you press enter key on keyboard, the Home Assistant installation process will run (See figure 10).
Figure 11. The Home Assistant installation process has done
After a while, the installation process will be end (See figure 11)
B. Command to check Home Assistant package information
To make sure that Home Assistant has installed on your Windos 10 computer, you can check it. Type this command below to do so:
pip3 show homeassistant
Figure 12. The Home Assistant package information
Once you type the command above and then press enter key, on command prompt window will show package information of installed Home Assistant on your computer (See figure 12).
C. Command to open Home Assistant User Interface (UI)
Next, in order you can create an account on Home Assistant, you have to open the web-based user interface (UI). To do so, type the command below, then press enter key on your keyboard.
hass --open-ui
Figure 13. Command to install Home Assistant user interface (UI)
Once you press enter key, on your internet browse will open Home Assistant web-based user interface (Sign-up page) automatically (See figure 14).
Figure 14. Home Assistant web-based user interface (Sign-up page)
Looks at on the Home Assistant web-based user interface! “127.0.0.1“ is my computer IP address. Your computer IP address may be different (see figure 14).
Note:When you run hass --open-ui command to open Home Assistant web-based user interface (UI), but there is error occur, type this command below:C:\Users\admin\appdata\local\programs\python\python38-32\python.exe -m homeassistant (Change “admin” with your computer username) or type enough python -m homeassistantAfter that if Home Assistant web-based user interface (See figure 14) not open automatically, open it with type on your internet browser one of the web-page URL below manually:URL 1 = http://homeassistant.local:8123URL 2 = http://homeassistant:8123 (for older version windows)URL 3 = http://X.X.X.X:8123 (replace X.X.X.X with your computer IP address)If there is no error occur again, the Home Assistant web-based user interface will open for you.
Yeah … great!
If you have reached on this point, its means that Home Assistant has installed on your Windows 10 computer now. Congratulation!
Next, you have to create account on Home Assistant web-based user interface (Onboarding) before you awaken your own home automation projects.
Sources
0 comments:
Post a Comment