I’ve installed hassio on my helios4 NAS from armbian-config tool. It installs using docker. When I click the hass.io tab and then go to add-on store, all the options are grayed and unavailable to install.
On the logs I have this:
19-04-08 22:01:06 INFO (SyncWorker_2) [hassio.docker.interface] Attach to homeassistant/armhf-homeassistant with version 0.91.2
19-04-08 22:01:06 WARNING (MainThread) [hassio.arch] Can’t detect underlay machine type!
19-04-08 22:01:06 INFO (MainThread) [hassio.addons.git] Clone add-on https://github.com/hassio-addons/repository repository
If the CPU architecture is not “armhf” you would need to modify the program so it also works on that CPU architecture.
Otherwise, use a different computer with an “armhf” architecture CPU.
A third choice is to use a different, compatible program to provide that functionality.
I have the same issue on my ArchLinuxARM server. I managed to install the hassio-supervisor and homeassistant images and everything’s running fine. I used the armv7 architecture, but my guess is addons are not available because they are generic images.
armv7 or armhf images are not design for a specific hardware, and that could explain why we have “None” in the machine type. Addons seem not only to check the architecture, but also the machine type (raspberry, etc…)
I’m deploying HASSIO on an Odroid-U3 board (armv7) which runs ArchLinuxARM. I thought it would make sense to run armv7 images. Here is my /etc/hassio.json
That leads to the question of how Hassio (supervisor?) determines the machine type. I remember reading about somebody who customized /etc/hassio.json changing the data path. Apparently on at least one upgrade it ignored the change & used the default path, breaking their installation.
So I guess the machine type may be hardcoded in the different docker images and maybe set the $MACHINE variable.
Here are the install instructions:
Supported Machine types
intel-nuc
odroid-c2
odroid-xu
orangepi-prime
qemuarm
qemuarm-64
qemux86
qemux86-64
raspberrypi
raspberrypi2
raspberrypi3
raspberrypi3-64
tinker
When using a armv7-homeassistant image, it’s considered as “generic” and not directly supported. I think we should use the closest raspberry image, regarding our boards arch.
Make sense?