Raspberry Pi 5 support and more in Home Assistant OS release 12 & Supervisor update

I am facing issues when creating big backups on my NAS. They are 3GB in size. the backups work when created on the local disk of my NUC, but when I point my backup device to the NAS, the backup fails.

�[31m24-03-16 09:33:53 ERROR (MainThread) [supervisor.backups.manager] Backup c73bb3da error
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/backups/manager.py", line 261, in _do_backup
    async with backup:
  File "/usr/src/supervisor/supervisor/backups/backup.py", line 363, in __aexit__
    self._outer_secure_tarfile.__exit__(
  File "/usr/local/lib/python3.12/site-packages/securetar/__init__.py", line 140, in __exit__
    self._tar.close()
  File "/usr/local/lib/python3.12/tarfile.py", line 1975, in close
    self.fileobj.close()
OSError: [Errno 5] I/O error�[0m

Issue is raised:

do you have any idea?

Many thanks,
Nicknol

This helped me, thank you!

I got this working now where HA OS is installed on the SD card and the NVMe drive is used as a data disk, per the official recommendation. Here’s what I did:

  1. Flash Raspberry Pi OS Lite 64-bit to my SD card, configure it to enable SSH prior to flashing.
  2. Install the SD card into the Raspberry Pil, which is installed in the Argon ONE V# NVME PCIE case along with a NVMe SSD.
  3. Boot into Raspberry Pi OS and the SSH into it once it’s up
  4. Run the relevant scripts for the Argon ONE V3 NVME PCIE (there are two of them listed in the instructions and they both require a reboot after executing).
  5. SSH back into the pi and confirm that the NVMe drive is available by running lsblk
  6. Take a look at /boot/firmware/config.txt, copy its contents somewhere for reference. The relevant entries were:
    dtparam=uart0=on
    dtparam=nvme
    dtparam=pciex1_gen=3
    max_usb_current=1
  7. Shutdown the pi, remove the SD card, flash with HA OS.
  8. Insert the SD card with HA OS, boot the pi
  9. Restore from HA OS backup (I’m migrating from an existing installation on a Pi 4, you could also just install from scratch)
  10. Enable SSH and I2C (I used GitHub - adamoutler/HassOSConfigurator: A set of Add-Ons to configure HassOS For various platforms and development purposes.)
  11. SSH into HA OS (the actual OS, not where you get with the Terminal addon)
  12. Edit to /mnt/boot/config.txt and add the 4 settings saved from earlier (step 6).
  13. Reboot.
  14. SSH into HA OS again, confirm NVMe drive is visible via lsblk
  15. Login to home assistant via browser, then go to Settings > System > Storage and Click “MOVE DATA DISK”, select your NVMe drive, and continue through the wizard to migrate most of the install to the NVMe drive.

For reference, I’m using a Western Digital 500GB WD Blue SN580 NVMe SSD, which is not on the list of compatible drives for the Argon ONE V3 NVME PCIE case, but seems to be working nonetheless.

I also installed this addon to configure the fan on the Argon case: GitHub - adamoutler/HassOSArgonOneAddon: A Home Assistant Addon for Argon One Fan Control.

3 Likes

My new Pi5 boots my USB connected NVME on Raspbian no problem. So did my Pi400.

I have a fresh Raspberry Pi 5 /4GB straight from the box as well as a newly bought SanDisk Extreme 64GB. Used Pi Imager v1.8.5 insalled HA OS 12.1. The Pi is connected to LAN, keyboard and screen. Nothing happens? Have tried with 12.1/12.2 and 11.5 via imager. I installed Raspian OS Lite on the card and the Pi starts. Is there an issue with Pi5/4GB and HAOS 12? ( I have the original 27W power supply)

Did you try the Pi5 image ? There are dedicated images for Pi5, Pi4, Pi3 and Pi2.

Thanks for replying! Yes, of course, I selected the Pi5 image in the imager and used the Rpi5 image from GitHub as well. I would appreciate it if this could be followed up. However, I managed to get it to work. Determining the exact solution will be challenging and I’m out of my league here. Nonetheless, I installed the Raspberry Pi OS, Bookworm release (orignal OS choice via Imager) and then performed all necessary upgrades using ‘sudo apt-get update & upgrade’ and ‘sudo rpi-update,’ with a strong belief that the latter resolved the issue. Reinstalling OS version 12.1 and it started. My connected screen was still black but I found the HA in my network.

1 Like

I,am still not figured it out.
What is now the best a raspberry yellow or the raspberry 5 or a mini pc
I understand the yellow has everything on board for Zigbee so far is I know, so I don’t need extra dongles.
So what is now the easiest one for home assistant when it is a mini pc with one is recommended

This really helped me. I also have a Argon ONE V3 M.2 case but with 500GB Netac 3000 2280 NVME storage. The Pi5 would not boot from the NVME (stuck at “Waiting for home assistant cli to be ready”) but was fine with Bookworm. It’s a bit disappointing it won’t boot off the NVME but installing HAOS onto a MicroSD has got me up an running. Thanks very much!