HA Supervised - How to move from UNSUPPORTED to SUPPORTED

Just thinking aloud…since HA is not a commercial product, what does ‘unsupported’ actually mean?

People with questions normally end up here at the forum, and normally get answers quick enough.
So far I have heard nobody say ‘hey, I know the answer, but your system is not supported, so i’m not going to tell’:thinking:

So, what is the relevance of running an ‘unsupported’ HA??? :innocent:

Yes. Install instructions are here: https://weewx.com/docs/debian.htm

In this context it means that the Supervisor reports Unsupported and things stop working.

@Tinkerer Hmm… so you mean to say there is no difference between Unsupported and UnHealthy??
I know for sure unhealthy makes things stop (tried it) but unsupported should not…

Pretty sure unhealthy means the system will stop you from updating until you fix it, where unsupported means things may break and “good luck”.

Thanks @petro, That is what i also understood.

And since HA is not a commercial product and comes without any guarantees, i just find the term unsupported meaningless :wink:

must be something different in your install than mine. I also got the same error for system-resolved, but I enabled it anyway and the error went away. In the end I had to re-install the supervisor since other issues popped up. Right now the only remaining issue is that I get a supervisor error when I attempt a backup, and there is nothing in the log. I may end of with a complete re-install too if any other issues develop. I updated the OS (apt-get upgrade) and HA to 11.0. Should have done one at a time, not sure which one was the case of all my errors.

I decided to set it up from scratch on the RPI, the below will get you up and running on debian headless - the below notes are as much as for me as for others but why not share :slight_smile:

So, hope this is useful - worked FLAWLESSLY (see proof at the bottom!)


Prep:
-4. Disable all automations in HA
-3. Disable manual DNS in the router
-2. Change ethernet settings on the PC to DNS (I was pointing everything to adguard on the rpi)
-1. reboot the pc
-0. Gracefully just shut down the PI from the VNC menu.

Then -

  1. Cannot Get the RPI headless yet, that is down the road, work with the bare metal:
    A. Use RPI (super tiny hdmi) cable to plug in a monitor
    B. Wired (USB) Mouse
    C. Wired (USB) Keyboard

  2. Get the 64 bit linux image here, put it on the PC:
    Tested images
    On that web site, I selected this one:
    Build Date: Release Family Tested Hardware File Links*:
    2022.01.21 11 (Bullseye) 4 4 (4GB) xz-compressed image 378.82 MB, 2022-01-21 10:41:-0600

    The actual link to the above file as of 11/4/22 was:
    https://raspi.debian.net/tested/20220121_raspi_4_bullseye.img.xz

    Then move, “20220121_raspi_4_bullseye.img.xz” somewhere handy on the PC (I put it in R:)

  3. Install debian on the spare SSD (so your work will generally go faster):

    Plug the SSD into the PC
    Using RPI Imager app on the PC, use the image downloaded in #02 to install Debian onto the ssd

  4. Boot up the RPI

    A. Attach the SSD with plain debian to the RPI
    B. Boot up the RPI
    C. After a huge number of bootup messages, it will come to a prompt like this:

    Debian GNU/Linux 11 rpi4-20220121 tty1
    rpi4-20220121 login:

    Type “root” and press enter (root has no password yet).

  5. Linux configuration (with lightweight desktop):

    Update the OS:
    apt update
    apt upgrade
    Install sudo:
    apt install sudo
    Install grep:
    apt install grep
    Add the first user
    adduser pi (answer prompts to put in the password (""), then “”, just press enter for the rest of the prompts)
    Grant that user the rights to use sudo
    su root
    /sbin/usermod -aG sudo pi
    Then to prove the user “pi” has access to sudo:
    su pi
    sudo reboot
    Give the root user a password:
    sudo passwd root
    reboot
    Set up the desktop environment (note that gnome does not work with wireless keyboards if the USB stub is plugged into the RPI directly)
    tasksel
    LXDE is the one that the Raspberry Pi OS is based on (most familiar),
    so use the space bar to select that (ONLY) and tab over to Ok and press enter.
    It then asks for a keyboard, just select the default -
    You can install multiple desktops but I am not doing that as this has to be as lightweight and fast as
    possible, on bootup in a previous attempt using gnome the desktop was a little sluggish so I
    uninstalled it and then afterwards at bootup
    It leaves some directories behind and also there were alot of error messages at bootup from that point… ugh
    reboot
    As it is a struggle to get to the command prompt - right click on any icon on the bottom left
    of the screen other than the first one, and select:
    “Application Launch Bar” Settings

    • and there under shell you can add BASH to the launch bar.
  6. Let’s go headless!
    A. Server setup on the RPI:
    The VNC viewer is only free if you are using what came with raspbian I believe - and I also had
    some problems instaling it. Therefore I decided upon rxdp on the RPI, which we will access
    through windows RDP (and Android somehow later!):
    sudo apt install xrdp
    Then to check status to make sure it is running:
    sudo systemctl status xrdp
    To make sure it is always running at startup:
    sudo systemctl enable xrdp
    Check this again to make sure it is still running:
    sudo systemctl status xrdp
    To get and verify the IP address of the RPI:
    ip addr
    B. Set up the RDP access from Windows:
    Click start, search and run “Remote Desktop”
    Use the above ip address (from “ip addr”)
    Save it to the desktop for convenience
    Test it.
    Then gracefully shut down and unplug the PI, then remove the bare metal keyboard and mouse,
    and plug the power back in the pi again -
    Test reconnecting to it from the RDP only!

That results in this squeaky clean puppy that runs with a much lower cpu and 20 degrees lower temperatures - totally supported:

System Information

version core-2022.11.1
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.10.0-19-arm64
arch aarch64
timezone America/New_York
config_dir /config

Home Assistant Community Store

GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4423
Installed Version 1.28.3
Stage running
Available Repositories 1200
Downloaded Repositories 22

AccuWeather

can_reach_server ok
remaining_requests 41

Home Assistant Cloud

logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok

Home Assistant Supervisor

host_os Debian GNU/Linux 11 (bullseye)
update_channel stable
supervisor_version supervisor-2022.11.dev0401
agent_version 1.4.1
docker_version 20.10.21
disk_total 917.0 GB
disk_used 10.4 GB
healthy true
supported true
supervisor_api ok
version_api ok
installed_addons Log Viewer (0.14.0), Samba share (10.0.0), Home Assistant Google Drive Backup (0.108.4), File editor (5.4.1), Duck DNS (1.15.0), AdGuard Home (4.7.4), Terminal & SSH (9.6.1), Core DNS Override (0.1.1), Mosquitto broker (6.1.3), AppDaemon (0.9.3)

Dashboards

dashboards 4
resources 15
views 25
mode storage

Recorder

oldest_recorder_run October 4, 2022 at 2:29 PM
current_recorder_run November 4, 2022 at 11:33 PM
estimated_db_size 1443.68 MiB
database_engine sqlite
database_version 3.38.5
1 Like