Hello all!
I recently purchased an AS1002v2 partly because according to the Asustor page it indicated that Home Assistant was available as an app. I thought great! That would save me from having one extra raspberry running somewhere. However, I did not notice that the model I purchased is actually NOT supported… It looks like this entry-level NAS is using a 32bit ARM processor which seems quite different from the more high end Asustor NASses.
So I thought maybe it could be manually installed.
I found this thread Make Home Assistant autostart on ASUSTOR on these forums and tried to follow the instructions provided by “js_online”. Installing python and went well but it failed on the ./python3 -m pip install homeassistant==0.64.3 with the following output:
Building wheels for collected packages: aiohttp, yarl, idna-ssl, MarkupSafe, multidict, pyyaml, typing
Building wheel for aiohttp (PEP 517) ... done
Created wheel for aiohttp: filename=aiohttp-2.3.10-py3-none-any.whl size=275943 sha256=70b7d45d3997caa1651a1249c0795beff0959d06357dfaf3f 2059942a3e6f3c6
Stored in directory: /volume1/.@root/.cache/pip/wheels/10/b7/bf/90260eacd894b16d234ab789830ef5f24eccc46d6ce25bdd21
Building wheel for yarl (setup.py) ... done
Created wheel for yarl: filename=yarl-1.1.0-py3-none-any.whl size=82046 sha256=14ddefdad6188c4605694d706bfa303c2eeb66c8d2737937c3105393e b7fe025
Stored in directory: /volume1/.@root/.cache/pip/wheels/d5/e1/3d/448a768a8baff7feee1e5babfeadfa073fb01c6121fa4adc92
Building wheel for idna-ssl (setup.py) ... done
Created wheel for idna-ssl: filename=idna_ssl-1.1.0-py3-none-any.whl size=3160 sha256=76525452001f4ffe648df94c8e96495f600f750e1ec191af8a 199794b92cb6cb
Stored in directory: /volume1/.@root/.cache/pip/wheels/f8/6e/1a/2b06858462be949392cca86c5d84db2822fad22e360fe68156
Building wheel for MarkupSafe (setup.py) ... done
Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-py3-none-any.whl size=12629 sha256=1d5c953e2224e503b42db76d55a0160d6ac64a5f91ff4 6efb93c3ac67e949b4d
Stored in directory: /volume1/.@root/.cache/pip/wheels/b9/d9/ae/63bf9056b0a22b13ade9f6b9e08187c1bb71c47ef21a8c9924
Building wheel for multidict (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /volume1/.@plugins/AppCentral/python3/bin/python3 /volume1/.@plugins/AppCentral/python3/lib/python3.7/site-packages/pip/_vendo r/pep517/_in_process.py build_wheel /opt/tmp/tmpsoeqigai
cwd: /volume1/.@plugins/AppCentral/entware-ng/opt/tmp/pip-install-9wjb1m_1/multidict_eca6f8ce83e64e6292bd5d632a9a1ede
Complete output (43 lines):
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/multidict
copying multidict/_multidict_base.py -> build/lib.linux-armv7l-3.7/multidict
copying multidict/_multidict_py.py -> build/lib.linux-armv7l-3.7/multidict
copying multidict/__init__.py -> build/lib.linux-armv7l-3.7/multidict
copying multidict/_abc.py -> build/lib.linux-armv7l-3.7/multidict
copying multidict/_compat.py -> build/lib.linux-armv7l-3.7/multidict
running egg_info
writing multidict.egg-info/PKG-INFO
writing dependency_links to multidict.egg-info/dependency_links.txt
writing top-level names to multidict.egg-info/top_level.txt
reading manifest file 'multidict.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict/_multidict.html'
warning: no previously-included files found matching 'multidict/*.so'
warning: no previously-included files found matching 'multidict/*.pyd'
warning: no previously-included files found matching 'multidict/*.pyd'
no previously-included directories found matching 'docs/_build'
writing manifest file 'multidict.egg-info/SOURCES.txt'
copying multidict/__init__.pyi -> build/lib.linux-armv7l-3.7/multidict
copying multidict/_multidict.c -> build/lib.linux-armv7l-3.7/multidict
copying multidict/py.typed -> build/lib.linux-armv7l-3.7/multidict
creating build/lib.linux-armv7l-3.7/multidict/_multilib
copying multidict/_multilib/defs.h -> build/lib.linux-armv7l-3.7/multidict/_multilib
copying multidict/_multilib/dict.h -> build/lib.linux-armv7l-3.7/multidict/_multilib
copying multidict/_multilib/istr.h -> build/lib.linux-armv7l-3.7/multidict/_multilib
copying multidict/_multilib/iter.h -> build/lib.linux-armv7l-3.7/multidict/_multilib
copying multidict/_multilib/pair_list.h -> build/lib.linux-armv7l-3.7/multidict/_multilib
copying multidict/_multilib/views.h -> build/lib.linux-armv7l-3.7/multidict/_multilib
running build_ext
building 'multidict._multidict' extension
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/multidict
arm-marvell-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/AS10XX/arm/staging/usr/include -I/AS10X X/arm/staging/usr/builtin/include -I/AS10XX/arm/staging/linux-3.10.70-headers/include -fPIC -I/volume1/.@plugins/AppCentral/python3/includ e/python3.7m -c multidict/_multidict.c -o build/temp.linux-armv7l-3.7/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversio n -fno-strict-aliasing -pedantic
error: command 'arm-marvell-linux-gnueabi-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for multidict
Building wheel for pyyaml (setup.py) ... done
Created wheel for pyyaml: filename=PyYAML-3.13-cp37-cp37m-linux_armv7l.whl size=43085 sha256=eca00c06d55261249983b5ae55ca9cc5902b7135611 db455b942126654cd75b4
Stored in directory: /volume1/.@root/.cache/pip/wheels/95/cd/14/899edaa9cdb9a65aa7224539f6e0ad488e9a7b202bb48f6ae6
Building wheel for typing (setup.py) ... done
Created wheel for typing: filename=typing-3.7.4.3-py3-none-any.whl size=26308 sha256=268797d435b8defd431898b21b3d4be0e656f54d81b62c6347c b7e8e4dd8ab1e
Stored in directory: /volume1/.@root/.cache/pip/wheels/35/f3/15/01aa6571f0a72ee6ae7b827c1491c37a1f72d686fd22b43b0e
Successfully built aiohttp yarl idna-ssl MarkupSafe pyyaml typing
Failed to build multidict
ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly
root@irmanas:/volume1/.@plugins/AppCentral/python3/bin #
I also tried without the “==0.64.3” version but the result was similar, but it downloaded a lot more packages. I tried rebooting and giving the pip install homeassistant command a couple more times. At some point it then started complaining that it had run out of hard disk space; which is interesting as df -h did not show any mounted filesystem to be even near 100%.
I have updated pip and installed pyhon3-dev.
Has somebody else been successful in installing Home Assistant on the AS1002v2 NAS?
Thanks for taking the time to read the post.