Jump to content

Recommended Posts

Posted

2048px-Home_Assistant_Logo.svg.png

Download Armbian with HA (v25.2)
Then boot the image, wait few minutes and login via http://ip_address_of_armbian_running_ha:8123 (official onboarding manual)

 

Home Assistant Supervised is, more or less, a full blown Home assistant.

 

image.png

 

Install Home Assistant on any Armbian Bookworm (experimental)


Main difference between HA OS and Armbian with HA is that underlying OS here is clean Armbian Debian Bookworm and there is custom dedicated buildroot OS that is provided for a few single board computers, primarily for Raspberry Pi. We provide HA on a small selection of single board computers, but in theory, its possible to run this on (almost) all that are possible to build.
 

  Quote

Changes to Armbian OS are minimal as HA is running under Docker.

Expand  


I am running HA on Odroid N2+ and it works without any problems. I have z-wave network with sensors and switches, air humidifier, Android TV, Android phones, dishwasher, ... Things works flawlessly, much better then few years back when I started with home automation for a first time, with OpenHab. This time it was setup from scratch and in a matter of days, most of devices are in function, playing with automation.

 

Tested on:

 

Provided for but untested (images you find on board downloads locations, seek them here https://www.armbian.com/download/😞

  Reveal hidden contents


 

 

DIY

  Reveal hidden contents


Contribute

  Reveal hidden contents

 

Support:

  • Igor pinned this topic
Posted (edited)

Hello Igor,

i`m beginner and need help with install on the orange pi zero 2+ h5

i`m write Armbian with HA on the SD, put them in the orange pi and zeroo with 6.1.63,

with 6.6.11 balenaEtcher after checking it gives an error

Edited by Nalexat
new ver.test
Posted
  On 1/24/2024 at 7:45 PM, Nalexat said:

orange pi zero 2+ h5

Expand  

 

Sorry, this hardware is not supported. Putting HA on not supported hardware or just make that hardware usable and stable can be extremely costly. Armbian project helps you greatly to minimise efforts needed for this in first place, but we can't resolve all problems in hardware support (which should be in the domain of people who sold you hardware) or HomeAssistant. This installation was made for expert users of Home Assistant and we made it easier by providing ready to run images. If you can't DIY, IMO its best to get a Raspberry Pi or Odroid N2 (which is tested).

  • Igor featured this topic
Posted
  On 1/28/2024 at 10:10 PM, dusikasss said:

I am ready to test the build on Orange Pajero 3 4GB. Unfortunately, I couldn't find the finished assembly.

Expand  

 

We have no plans or budget to support this hardware. Finished assembly will be provided only for small selection of boards, most likely we will provide this for platinum support section only. Purpose of the topic is promoting Armbian build framework. If something can be done on board X, we can't help to make it on board Y. Without investing tens or hundreds thousands of dollars. This is your problem. Board provider problem. Not ours. Build framework can do this, but if board is not maintained ... it might not just work.

Posted

Hi @Igor. Now i am using the  Armbian 23.8.1 Bullseye with Linux 6.1.27-ophub in my Tanix Tx3 Tv box and HA supervised with Unsupported system messages. Can i use one og these img's or are only for other hardware?

Posted
  On 2/11/2024 at 11:16 AM, Alexx said:

Can i use one og these img's or are only for other hardware?

Expand  

 

I don't know. It was tested on Odroid N2 and Nanopi M4. If you seek for plug and play solution and you don't want to support open source development, buy a Raspberry Pi, Odroid N2, ... 

 

  On 2/11/2024 at 11:16 AM, Alexx said:

Now i am using the  Armbian 23.8.1

Expand  


I am afraid, that is not the case. https://docs.armbian.com/User-Guide_Getting-Started/#how-to-check-download-authenticity.

Posted
  On 2/11/2024 at 11:16 AM, Alexx said:

Linux 6.1.27-ophub

Expand  

That is not an Armbian build.  Ophub is a fork of Armbian that continues to use the Armbian name without permission.  They do not participate in Armbian development, nor do they participate in these forums.  You need to contact them for support of their builds.

Posted (edited)

Hi @Nalexat. You may try this H5 image:
https://github.com/armbian/community/releases/download/24.5.0-trunk.19/Armbian_community_24.5.0-trunk.19_Orangepizeroplus2-h5_bookworm_current_6.6.16_minimal.img.xz
You need to decompress this image before you write to SD card.
If its boots up. Then you can use this guide creatively:


Replace first line, must be
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" 
What I know Armbian was working well on my Orange Pi PC2 which is H5 (with HA Supervised)

Edited by Argo Sõõru
Posted

Today I went and update OS packages on my Odroid N2 running Armbian HA instance. Logs:
 

  Reveal hidden contents

 

I did reboot after this, then update Home Assistant Core via HA web interface to latest version 2024.2.3

All went fine!

Posted (edited)

VIM4

 

Home assistant starts and works except that it is impossible to install add-ons even in advanced mode because : System is running in an unhealthy state !

 

details on first startup :

  Reveal hidden contents

 

Edited by Igor
spoiler
Posted
  On 3/8/2024 at 6:12 AM, pgd said:

it is impossible to install add-ons even in advanced mode because

Expand  

 

I am having one almost identical device (Khadas VIM1S, same kernel) for testing. Installed add-on:
 

  Reveal hidden contents

 

Logs https://pastebin.com/raw/JVpwyx1C shows no problems.

Are you using our images with preinstalled HA supervisor? If you DIY-ed, you need to fix this problem on your own. Here are some clues. Also did you try to reboot at least once?

Posted

yes, i use your last vim4 image... I try reboots, SD EMMC with no success but integrations works fine...

 

backups don't work either

Posted
  On 3/8/2024 at 9:34 AM, pgd said:

yes, i use your last vim4 image... I try reboots, SD EMMC with no success but integrations works fine...

 

backups don't work either

Expand  


I managed to recreate this problem on VIM4 ... This HW has some old factory kernel, which could be the reason. Trying on some other device first.

Posted
  On 3/8/2024 at 9:34 AM, pgd said:

I try reboots, SD EMMC with no success but integrations works fine.

Expand  

 

Yes, its kernel / low level hardware issue with this particular device. We will look into this, but this won't happen "over the night". I tried with mainline based kernel on Odorid M1 and it works there. It also says warning about "docker and privileges" but reboot fixes that warning. Backup / restore works ...

Posted

Yes, will try.

 

Do I understand correctly that I need to download Docker and HA extensions to userpatches/extensions directory and then build an image for XU4?

Posted
  On 3/8/2024 at 3:19 PM, Kalobok said:

Do I understand correctly that I need to download Docker and HA extensions to userpatches/extensions directory and then build an image for XU4?

Expand  


Yes. I have also updated instructions in the 1st post.

Posted

It works.
Lots of thanks for the design!

 

 ___      _           _     _  __  ___   _ _  _
 / _ \  __| |_ __ ___ (_) __| | \ \/ / | | | || |
| | | |/ _` | '__/ _ \| |/ _` |  \  /| | | | || |_
| |_| | (_| | | | (_) | | (_| |  /  \| |_| |__   _|
 \___/ \__,_|_|  \___/|_|\__,_| /_/\_\\___/   |_|

Welcome to Armbian-unofficial 24.5.0-trunk Bookworm with Linux 6.1.80-current-odroidxu4

No end-user support: built from trunk

System load:   68%              Up time:       7 min
Memory usage:  12% of 1.94G     IP:            172.17.0.1 172.30.32.1
CPU temp:      50°C             Usage of /:    20% of 15G
RX today:      206.4 MiB

 

image.png.51f2de48f06574bca6575d008bc03051.png

Posted

Hi @Igor,

 

many hanks for the HA version on Armbian - mine works perfectly on Odroid N2+ eMMC.


As my eMMC is only 32GB, so I want to move datadisk to external USB SSD drive. Do you have any experience with this operation. Built-in HA feature does not work.
CLI operation reports Error:

'DataDisk.migrate_disk' blocked from execution, no Home Assistant OS available.

Probably due to different mount/folder structure. Any suggestions will be very welcome...


Best regards

Slawek

 

Posted
  On 3/10/2024 at 4:15 PM, Slawek said:

Any suggestions will be very welcome...

Expand  


You can try default Armbian way, but beware this case was not tested, so its recommended for making a full HA backup so you can restore in no time.
 

  On 3/10/2024 at 4:15 PM, Slawek said:

As my eMMC is only 32GB

Expand  

 

Mine too:
 

igorp@odroidn2:~$ df -h
Dat. sist.      Vel. Upor. Prost Upo% Priklop na
udev            1,7G     0  1,7G   0% /dev
tmpfs           372M  5,9M  366M   2% /run
/dev/mmcblk0p1   29G  5,4G   24G  19% /
tmpfs           1,9G     0  1,9G   0% /dev/shm
tmpfs           5,0M     0  5,0M   0% /run/lock
tmpfs           4,0M     0  4,0M   0% /sys/fs/cgroup
tmpfs           1,9G     0  1,9G   0% /tmp
/dev/zram1       47M   38M  5,7M  87% /var/log
tmpfs           372M     0  372M   0% /run/user/1000

 

I see no reasons to upgrade anywhere. Especially not to buggy USB3 storage.

Posted

image.png

 

Supervisor sometimes losess healthy state https://github.com/home-assistant/supervisor/issues/4381 and this is not Armbian related problem. However, we will fix this problem.

 

Future builds are going to be patched https://github.com/armbian/os/pull/177 and for already installed, users can easyily implement workaround from PR manually:

  • creating bash script
  • creating systemd service that execute that script
  • enable that service

 

Copy and paste instructions for older builds!

 

Login via SSH and execute:
 

sudo bash -c 'cat << EOF > /usr/local/bin/supervisor_fix.sh
#!/bin/bash
while true; do
	if ha supervisor info 2>&1 | grep -q "healthy: false"; then
		echo "Unhealthy detected, restarting" | systemd-cat -t $(basename "$0") -p emerg
		systemctl restart hassio-supervisor.service
		sleep 600
	else
		sleep 5
	fi
done
EOF'

sudo chmod +x /usr/local/bin/supervisor_fix.sh

sudo bash -c 'cat << EOF > /etc/systemd/system/supervisor-fix.service
	[Unit]
	Description=Supervisor Unhealthy Fix
	[Service]
	ExecStart=/usr/local/bin/supervisor_fix.sh
	[Install]
	WantedBy=multi-user.target
EOF'

sudo systemctl enable supervisor-fix
sudo systemctl start supervisor-fix

 

Posted

After applying patch from previous post, it updated to latest version without complaining about unhealthy status:
image.png

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.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines