Installing Home Assistant Supervised on a Raspberry Pi using Debian 12

It is recommended to do an update monthly via:

sudo apt update && sudo apt upgrade -y && sudo apt autoremove –y

Is there also a recommendation to update OS Agent? I assume this is updated by just reinstalling it via:

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

Or is there a better way to do this?
Thanks

No, as long as there is no updated version to OS Agent you can just leave it as it is. Also there is no correlation between sudo apt update && sudo apt upgrade -y && sudo apt autoremove –y and OS Agent.

I missed that there was an agent update. I did the monthly Debian update but did not update the agent. My sensor for the agent is not working correctly.

1 Like

Version 1.2.2 is available since Oct. 4, 2021 already.

Which I just saw today

Hi!
I accidentally selected wrong architecture in 3.2) and now all addons are installed for aarch instead of armv7. I tried to re-run homeassistant-supervised.deb and even tried to remove that Debian package, but it does not ask for architecture anymore. Is there any way to change the architecture?

Do your add-ons work ?

Addons installed before my accidental mistake were working until next update.
Whatever, I ended with reinstall of whole Home Assistant.

Hi. Guys with Rpi3b+, do you have built-in bluetooth running with HA Supervised?

11.2 was just released. Does this update require a full update rather than app update?

sudo apt update && sudo apt full upgrade.

it stops at Processing triggers for dbus (1.12.20-2) … how to fix? (using raspberry pi 4)

when I actually install home assistant it stops at [info] Installing the ‘ha’ cli

with this installation NodeRed Addon getting this on log “RuntimeError: This module can only be run on a Raspberry Pi!

> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
20 Dec 20:56:00 - [info] 
Welcome to Node-RED
===================
20 Dec 20:56:00 - [info] Node-RED version: v2.1.4
20 Dec 20:56:00 - [info] Node.js  version: v16.13.1
20 Dec 20:56:00 - [info] Linux 5.10.0-10-arm64 arm64 LE
20 Dec 20:56:02 - [info] Loading palette nodes
20 Dec 20:56:07 - [info] Dashboard version 3.1.2 started at /endpoint/ui
Traceback (most recent call last):
  File "/opt/node_modules/node-red-node-pi-gpio/testgpio.py", line 3, in <module>
    import RPi.GPIO as GPIO
  File "/usr/lib/python3.9/site-packages/RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
20 Dec 20:56:07 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
20 Dec 20:56:08 - [info] Settings file  : /etc/node-red/config.js
20 Dec 20:56:08 - [info] Context store  : 'default' [module=memory]
20 Dec 20:56:08 - [info] User directory : /config/node-red/
20 Dec 20:56:08 - [warn] Projects disabled : editorTheme.projects.enabled=false
20 Dec 20:56:08 - [info] Flows file     : /config/node-red/flows.json
20 Dec 20:56:08 - [info] Server now running at http://127.0.0.1:46836/

my /boot/firmware/config.txt file

arm_64bit=1

core_freq=
enable_uart=1
upstream_kernel=1

dtparam=i2c_vc=on
dtparam=i2c_arm=on
dtoverlay=i2c-rtc,ds1307,addr=0x68
dtoverlay=dwc2,dr_mode=host

kernel=vmlinuz-5.10.0-10-arm64
# For details on the initramfs directive, see
# https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=10532
initramfs initrd.img-5.10.0-10-arm64

Hello guys,
I just reinstalled home assistant with debian 11 to solve the problem with supervisor but problem didn’t solve.
Any idea how can I fix this??

You have obviously missed installation steps. Click the links provided, and install the required dependencies.

Thanks for the quick answer.

I have installed debian and home assistant more than 5 times and the problem didn’t fix.

I use officially debian with UI cause I need the interface of Debian.

Is that a problem and I must use another debian version?

Also, I cannot understand how to solve the appArmor

You are using Raspbian (Raspberry Pi OS) which is based on Debian (but not “official” Debian).

You’ll need one of these Debian 11 images (depending on the Raspi-Hardware you use):

1 Like

Thanks for the answer…

Yea I want to use Raspbian also with home assistant.
Basically I need interface of Raspbian and some of programs to run parallel with Ha.

In my previous version I run it without any issue.

Can I do it now with the new debian 11?

If you insist on running HA on Raspbian you should take a look i.e. at these instructions: How to Install Home Assistant on Raspberry Pi. The instructions in this thread are for installing HA Supervised on a Raspi with Debian 11 (not Raspberry Pi OS).

Thank you very much