As this is my very first post, please pardon if I’ve posted it into an incorrect forum. I wanted to share my experience on installing Home-Assistant on Linksys EA6500v2 running Tomato Firmware 1.28.0000 -3.5-140 K26ARM USB AIO-64K.
First step was to install entware on the router using this guide.
Next step was to install python 3 on the router, by using command “opkg install python3”.
Below guide helped setup rest of the packages.
Next step was to install home assistant by using setup tools, wheels and then homeassistant it self by using below commands.
HOME=/opt/ha/ pip3 install homeassistant
–/opt/ha is the path that I want to use as temp path for compilation.
Also installed MQTT Broker by below command.
HOME=/opt/ha/ pip3 install hbmqtt
Next was to daemonize the two application on router, below are commands.
daemonize -c /opt/ha/ -p /opt/ha/pid.file -l /opt/ha/lock.file -o /opt/ha/out.log -e /opt/ha/err.log /opt/bin/hass --c /opt/ha daemonize -c /opt/hbmqtt/ -p /opt/hbmqtt/pid.file -l /opt/hbmqtt/lock.file -o /opt/hbmqtt/out.log -e /opt/hbmqtt/err.log /opt/bin/hbmqtt -c /opt/hbmqtt/config.yaml
Configuration is standard configuration.
I ended up using mosquitto mqtt client as I was hbmqtt was not relaying/dispatching messages reliably.
opkg install mosquitto-nossl
And we can follow mosquitto configuraiton guide as usual. I could not get ssl version working for mosquitto.