Orange pi 5 with home assistant?

I did the restore 6 days ago, and so far there is nothing I could complain about. No freezes, shutdowns or other issues.

For the moment I just have the plain board laying on the shelf, waiting for a case to be delivered.

Usually, it stays around 40c without any additional heatsink or other cooling.

I run a few add-ons, all without issues.

There is an Addon that tries to buy all the epic game store games that are free (see GitHub - alexbelgium/hassio-addons: My homeassistant addons), which worked really bad at the RPi. On the OPi its pretty fast and I have no delay when using the remote browser.

Altogether, after nearly one week: I am happy.

3 Likes

I have installed home-assistant supervised on a orangepi 5. It took me some time to figure out how to get it running without unsupported errors apparmor and cgroup (probably because I’m a Linux noob) . But it is running great now. Still have 1 unsupported error “unsupported os” but I believe that’s just because the os is called “orangepi5 debian bullseye” instead of just “debian bullseye”

So if you want to install home-assistant supervised on a orangepi 5 make sure you install/activate apparmor and cgroupv1 manually.

2 Likes

small update, after my SSD died:

First, don’t buy cheap. It lasted around 1 month. It was set to readonly by the OS after a few minutes but HA was still working - at least on a minimum. So i was still able to controll everything until a new SSD arrived.

Second, always have a backup. I pull my HA backup onto a synology every night, so there was no real loss.

I tried to get it to boot without an SD card but without success. After a few failed tries I just accepted and it now is still in there. Not really a big loss, that 8GB card is worth nothing.

I recently added a cheap aliexpress case

Works fine, idle temp is now at around 36c and highest at 50c when doing a backup.

1 Like

Can you tell me how did you activate apparmor and cgroupv1 manually?
None of the solutions I’ve tried worked out.
(Using official OrangePI5 Debian Server)

1 Like

I HAVE IT!
Jesus what a journey …
(Boot edit is in /boot/OrangepiEnv.txt)
the magic line is:

“extraargs=apparmor=1 security=apparmor systemd.unified_cgroup_hierarchy=false systemd.legacy_systemd_cgroup_controller=false”

6 Likes

Great that you figured it out.
For someone who doesn’t know anything about linux it was a journey indeed.

I after some searching I came across these links:

And after figuring out orangepi debian uses /boot/orangepiEnv.txt, I edited the comments from the links and it worked

Comments I used
Apparmor:

apt install apparmor
echo "extraargs=apparmor=1 security=apparmor" >> /boot/orangepiEnv.txt
update-initramfs -u
reboot

Check

systemctl status apparmor.service
aa-status

CGroup:
Check current CGroup

findmnt -lo source,target,fstype,options -t cgroup,cgroup2 

Enable CGroup v1

sed -i -e "1 s/$/ systemd.unified_cgroup_hierarchy=0/" /boot/orangepiEnv.txt
reboot

Check current CGroup again

findmnt -lo source,target,fstype,options -t cgroup,cgroup2

And it should say something different than before (check link)

This worked for me, there might be a more efficient way to do it.

4 Likes

I’ve compiled a small tutorial with all information I’ve found in the internet, from previous posts and personal experience in installing Home Assistant on my Orange Pi 5. Hope it helps.

Installing Home Assistant on OrangePi 5 Board

@MaxW I also bought the case and really liked it. It’s well made. In my case the temperature is arround 48ºC.

Now i’m planning to buy an SSD and move HA to it.

3 Likes

Has anyone tested the m.2 pcie coral edge tpu on the orange pi 5?
Does it get recognized/can you install the drivers?

Rok chip has it’s own TPU with 6 TOPS.
Interesting info:

1 Like

Hi MaxW, so did you went from RPi4 for Orange Pi 5? How much RAM does each board have? Thanks
I’m very interested in upgrade my RPi3, but I was thinking on RPi4 because I thought that it would be more powerful than Orange Pi.

The Orange Pi 5 is more powerful the RaspI4

Hi.
I’m about to pull the trigger on an OrangePi 5B with 32GB eMMC, but before I do that, I want to confirm with those who were successful with installing HA on Opi5B, do I need to get an M.2 SSD for it? What would you recommend to add to the shopping list and which guide should I follow to get it all up and running?

Thanks!

I don’t think the 5b has an M.2 slot.

yes it does have an M.2 slot - the 5b has built-in Wifi 6 vs no wifi on the opi 5

1 Like

I bought a cheep transend ssd - works nice

I’ve been running HA for a couple of months now in a docker container on an Orange Pi 5. I got a 16GB model with a 512GB NVMe drive, and I’m also running grafana, prometheus & nginx-proxy-manager on it. The only reason I haven’t moved postgres over too is that I was already running that on my N2+ and several other apps are using it so it’s not worth the hassle to move it.

The Orange Pi 5 is a much nicer compute server than an rPi 4 if you don’t need WIFI or need the GPIO pin out to exactly match an rPi.

For $139 on the Big River you get 2x the cores, 2x the RAM, and NVMe disk performance that crushes even a USB3 drive on my rPi 4.

2 Likes

I’m using this https://www.amazon.com/dp/B0BPF4KM68 NVMe drive. I boot from it (instructions are on my blog).

The OPi doesn’t ship with screws to hold the drive in the M2 slot, and neither did the SSD, so I ended up having to buy a bag with a half dozen in various sizes https://www.amazon.com/dp/B09J113XZS.

Literally holding a 5b in my hand and there is no M.2 slot.

Did you flip it and check the back? :point_down:

http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5.html

This thing (Orange Pi 5) looks just a tiny bit :pinching_hand: more performant that my first HA server which was a Orange Pi One with 512MB of RAM sold for $10 in 2017 :joy:.

Yes, we were specifically talking about the 5B version. It does not have an M.2 slot

1 Like