第一步:下載Python3(建議使用3.5系列版本)
訪問https://www.python.org,進(jìn)入下載頁面,選擇正確版本。

image.png
第二步:python安裝以及配置
參考如下文章http://www.itdecent.cn/p/54c7ad61c5ba
第三步:啟動“終端”,安裝HomeAssistant
輸入命令:pip3 install homeassistant

安裝HomeAssistant
第四步:啟動HomeAssistant
輸入命令:hass --open-ui參數(shù)--open-ui的意思是系統(tǒng)啟動完成后自動打開本機(jī)瀏覽器訪問Home Assistant。
首次啟動需要初始化配置文件,也會自動下載一些所需的文件,會需要一些時間。有時因網(wǎng)絡(luò)質(zhì)量問題還會出現(xiàn)文件下載失敗情況,導(dǎo)致啟動過程受阻。此時可以關(guān)閉命令行窗口,再重新執(zhí)行啟動命令。

啟動HomeAssistant
第六步:驗(yàn)證安裝
在瀏覽器中輸入:http://localhost:8123

驗(yàn)證安裝