HomeAssistant is an open source home automation platform. It is able to track and control thousands of smart devices and offer a platform for automating control. Details on https://github.com/home-assistant/home-assistant.
HA supports only Windows, Linux, Mac and Raspberry offically. While this project is to install the HomeAssistant on an OpenWRT OS. So that you can run a HomeAssistant on a router without having to run a 24-hours PC or Raspberry.
Completely installation for HomeAssistant will take nearly 350 MB Flash and 130 MB RAM. More components require more storage. I recommentd to use devices with more than 250 MB RAM and enable swap.
Entware subsystem should be installed.
Install entware subsystem to your router. Connect through SSH. Get into the project folder and start the installation. Make sure your device has connected to the Internet.
wget --no-check-certificate --content-disposition https://github.com/white777777/HomeAssistant-keenetic-entware/archive/master.zip
unzip HomeAssistant-keenetic-entware-master.zip
cd ./HomeAssistant-keenetic-entware-master/
./install.sh
It will take 20~30 minutes. After finished, it will print "HomeAssistant installation finished. Use command hass to start the HA."
After installation finished, use command hass
to start.
Note that firstly start will download and install some python modules. Make sure the network is connected while first starting. It will take about 20 minutes. If it stuck or print some error messages, don't worry, interupt it and retry hass
usually works.
It has fully started when print messages
Starting Home Assistant
Timer:starting
Connet to the S1300 through lan ports or wifi using your PC or Phone. Visit the address 192.168.8.1:8123
, that's the web page for HomeAssistant.
Now you can link your smart devices together with HA.
Questions and discussion about HA on https://community.home-assistant.io/