Jump to content

Recommended Posts

Posted

Hey.

I'm trying to install Home Assistant through "softy" in the armbian-config tool on my nanopi neo plus 2.

The process seems like it goes through, but I can't connect to the interface (ip-address:8123).

Would someone be able to point me to the script that softy uses for this installation, so I can try to do the steps manually?

(I wish to install with Home Assistant with "supervision", and haven't been able to do it with their guides, so now I'm trying throuhg armbian-config).

 

Regards

Anders

Posted

The method to install home assistant supervised in the armbian script does not work any more, even if you have a version of their script there are assets it tries to pull from web locations which have been removed so you have to use their new method.

This part of the Armbian script:

debconf-apt-progress -- apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates \
	dbus jq network-manager socat software-properties-common

curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | \
	bash -s -- -m  ${machine}

should be replaced with:

apt-get install \
jq \
wget \
curl \
udisks2 \
libglib2.0-bin \
network-manager \
dbus -y
#next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
dpkg -i os-agent_1.0.0_linux_x86_64.deb
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

I would not advise using armbian-config to do this since it it very easy to miss error messages since when the installer finishes the screen instantly refreshes and errors are lost, then you have to hunt for a log file if one exists.

Posted
On 11/4/2021 at 5:47 PM, ScottP said:

The method to install home assistant supervised in the armbian script does not work any more, even if you have a version of their script there are assets it tries to pull from web locations which have been removed so you have to use their new method.

This part of the Armbian script:

debconf-apt-progress -- apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates \
	dbus jq network-manager socat software-properties-common

curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | \
	bash -s -- -m  ${machine}

should be replaced with:

apt-get install \
jq \
wget \
curl \
udisks2 \
libglib2.0-bin \
network-manager \
dbus -y
#next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
dpkg -i os-agent_1.0.0_linux_x86_64.deb
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

I would not advise using armbian-config to do this since it it very easy to miss error messages since when the installer finishes the screen instantly refreshes and errors are lost, then you have to hunt for a log file if one exists.

 

You made some fault in your script for the os agent. You download the aarch64 but dpkg the x86_64 what is not dowloaded. Correct script should be complete:

 

apt-get install \
jq \
wget \
curl \
udisks2 \
libglib2.0-bin \
network-manager \
dbus -y
#next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
dpkg -i os-agent_1.2.2_linux_aarch64.deb
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

 

Or for people who want a littlebit simple in three commands:

 

sudo apt-get install jq wget curl udisks2 libglib2.0-bin network-manager dbus -y

#next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits. You need to run this command in SU mode!
sudo su
wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
dpkg -i os-agent_1.2.2_linux_aarch64.deb

wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

 

The supervised version has a lot more functions than the standard home assistant but is not officially supported to run on Armbian. But my experience is that it wil run awesome and stable!

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines