See updated post here with all necessary commands.
You may need to upgrade CFE. Follow below guide before starting installation of home assistant.
Hello Everyone,
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.
There were no problems installing cffi? Can’t pass this error in entware:
Using cached https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz
Complete output from command python setup.py egg_info:
No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module. See
the error messages above. Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code. (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.freenode.net.)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /opt/tmp/pip-install-7fyyfg9d/cffi/
Followed the instructions, but encountered an error. My actions:
downloaded and unzipped the “cffi-1.11.5.tar.gz” archive to one of the directories
Edited the contents of setup.py
Run the command “python setup.py build” from the directory with “cffi-1.11.5”
An error is returned:
/opt/lib/cffi-1.11.5 # python3 setup.py build
unable to execute ‘mipsel-openwrt-linux-gnu-gcc’: No such file or directory
unable to execute ‘mipsel-openwrt-linux-gnu-gcc’: No such file or directory
No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module. See
the error messages above. Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code. (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.freenode.net.)
Not auto run but in daemon mode. It does not start automatically but runs fine once started. I had a streak of 45 days continuous run before mosquito degraded.
…
creating /opt/lib/python3.7/site-packages/cffi-1.12.2-py3.7-linux-mips.egg
Extracting cffi-1.12.2-py3.7-linux-mips.egg to /opt/lib/python3.7/site-packages
cffi 1.12.2 is already the active version in easy-install.pth
…
but I encountered an error when executing the command
HOME=/opt/ha/ pip3 install homeassistant
Could not find a version that satisfies the requirement cffi>=1.1 (from versions: )
No matching distribution found for cffi>=1.1
Okay, So I ran into some troubles with the disk and I had lost all setup. So had to start from begining, starting from creating the opt partition. Below is the command log that is specific to HA.
Thank you for your reply but I´m doing this on Asus router.
Just for the record: turned out to be a problem with lack of RAM, so I resolved it easily by setting up a swap on external disk.