PREPARE
- You are here to download the Home Assistant. Choose 32 bit Pi please.
- Raspberry Pi 3 B + and card and source
- Memory card reader.
We plugged the memory card into the computer, opened Etcher and flashed it to the card.
Then we plug the card into Pi -> plug LAN -> power plug. (No need to plug in HDMI, guys)
Access the modem or router that Pi is connected to (my 192.168.9.1). Find your Pi, IP is 192.168.9.92
How to find the IP, go to the browser and type in IP: 8123 (my is 192.168.9.923:8123). After typing, you will see the logo appear as shown below. If you don’t see the logo, wait 5 minutes and type it again.
Wait 20 minutes later, you will be able to access the initial configuration page of the Home Assistant. You enter the username and password. This is a successful installation.
Continue with the first important add-ons configuration is SSH. Go to Hass.io, select the add-ons Store, select SSH server. Then select install
Configure the password and click Save. Then click Start. You follow the 1-2-3 order you draw in the picture.
Scroll down to the Log section, click refresh to see the log. When you see Server listening on :: port 22 is successful
This time we don’t play Putty anymore, try Winscp for wind change . We enter IP, the default port is 22. Username SSH is root, the SSH password is earlier that you put it. Then we click Login.
The directory containing the HASSIO configuration file is located in / config / (after logging in you are in the root directory , exit 1 level, then find the config directory ). The familiar configuration files are here.
So no need to use SAMBA anymore. If you want to access it remotely, you can open port 22 – 22, IP of Pi, and then go out and type domain. Then must have the domain already. Next to get the domain easily.
You go to duckdns.org to register for an account and login to that account.
After registration is complete, we proceed to open the port. You open 443 to 8123, IP of Pi. If you can’t open it (say Conflict), check the Remote Management of the router to see if it is using port 443, if it is already in use, change the port 443 that the router is using to another port, then re-open it.
Then you open the add-ons Store, install the DUCKDNS add-ons. After filling in the information, we click Start and check Log. If you see Log, it will be successful.
We check if the port is reached by going to portchecker.co , typing 443, if Open is ok .
Finally we enter the configuration file and type in the following:
http:
base_url: abcd.duckdns.org
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Then you Save again, Check config and Restart
After Restart, you will not be able to access by IP: 8123 anymore.
We re-enter with httpS: // ip: 8123 (don’t forget the S)
Entered by httpS: // ip: 8123 then HASS works well, proceeds to continue with httpS: // domain. Successful entry is complete.
This is the version 0.92.1 you guys