In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how raspberry pie to achieve integrated installation of smart home platform Home Assistant, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's learn about it!
Raspberry Pi All-In-One Installer newly installed raspberry pie system (official RASPBIAN STRETCH WITH DESKTOP,Release date:2017-08-16)
Link the raspberry pie to the network (wired network connection, WIFI is also available) log in to the raspberry pie through SSH and execute the following command (the command is one line and does not have to run as sudo)
Pi@raspberrypi: ~ $curl-O https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh & & sudo chown pi:pi hass_rpi_installer.sh & & bash hass_rpi_installer.sh
Then wait for the system to be installed (the download speed of my network speed 100kb/s lasted about an hour), restart automatically, type http://your_raspberry_pi_ip:8123 in the raspberry pie browser, and you can enter the Home Assistant interface.
Note: before installing the system, the language and time zone are set, the Chinese font and input method are installed, and the keyboard layout is set. The source has also been changed to the Ali source.
Official tutorial link: https://home-assistant.io/docs/installation/raspberry-pi-all-in-one/
Restart the service
Sudo systemctl restart home-assistant.service
The update command is:
To upgrade the All-In-One setup manually:Login to Raspberry Pi zssh pi@your_raspberry_pi_ipChange to homeassistant usersudo su-s / bin/bash homeassistantChange to virtual enviromentsource/srv/homeassistant/homeassistant_venv/bin/activateUpdate Home Assistant pip3 install-- upgrade homeassistant Typeexit to logout the hass user and return to the pi user.
Update to HA0.54 on September 26th, 2017 to HA0.55 on October 9th, 2017
Upgrade to HA0.60 on December 26th, 2017 for the following additional fixes to support Xiaomi devices:
Sudo su-s / bin/bash homeassistantsource / srv/homeassistant/homeassistant_venv/bin/activatepip3 install-- upgrade python-miio
Edit the following file and change REQUIREMENTS = ['python-miio0.3.2'] = "REQUIREMENTS = [' python-miio0.3.3']
After modification, use ctrl+o to save and exit.
Sudo nano / srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/vacuum/xiaomi_miio.pysudo nano / srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/fan/xiaomi_miio.pysudo nano / srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/light/xiaomi_miio.pysudo nano / srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/switch/ Xiaomi_miio.py above are all the contents of the article "how to integrate Raspberry pie to install Smart Home platform Home Assistant" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.