YELLOW, reset to default

Hello everyone

I have a problem with my Home Assistant Yellow. Version 1.3, RPI5 8GB ram, 16GB storage + Samsung 1TB M.2.

I want to do a clean install, remove all the settings I made.

But I’m running into problems. I’ve connected my Mac and via the terminal run: “ha os datadisk wipe
After that command it restarts as it should, but nothing has been deleted. Is there another easy way?

1 Like

Did you try the official procedure?

Hi. Thank you for answer.

Yes I have follow that guide, but my installation with all devices and settings are still there.

The command ha os datadisk wipe marks the data partition (either internal on the eMMC or the SD card, or on an external attached data disk) as to be cleared on the next reboot. The command automatically reboots the system. Upon reboot, the data is cleared. Then the system continues to boot and reinstalls the latest version of all Home Assistant components.

Is it because i have and M.2 drive installed?

I don’t know.

The first thing to clarify is to know if you have a CM4 or a CM5. Factory reset via command line refers to the CM5. Hence my question if you tried the CM4 approach:

Power up the system:

Mine is CM5

Is this producing any terminal output on the screen?

This will completely wipe the datadisk. This process is irreversible.
Are you sure you want to proceed? [enter YES to confirm]

After I confirm with YES and ENTER, the system reboots, but never wipes anything.

The reboot is correct. However, as fas as I understand it the process doesn’t stop there. The system should then download the latest HA version, install it and reboot again. This would probably be a longer process.

It probably also needs a LAN internet connection.

I have internet connection, so that is not the problem.

the reboot take the normal time, I guess it should take a while to wipe and then download and install. But mine boots as normal

The normal process ia

  1. wipe data disk
  2. reboot
  3. download and install HA
  4. reboot

2-4 happen without user interaction. So what you observe is 2 and then nothing?

If 1 is doing nothing, I can only think of insufficient privileges in your terminal session.

the guide says to log in as root.

and i get no fault messages

What do you get with
os info and os datadisk list

hi again. Thank you for showing interest in my problem!!

now you might found something.

ha os info

board: yellow
boot: B
boot_slots:
A:
state: inactive
status: good
version: “17.0”
B:
state: booted
status: good
version: “17.1”
data_disk: Samsung-SSD-990-PRO-1TB-S7HDNJ0Y116819M
update_available: false
version: “17.1”
version_latest: “17.1”

ha os datadisk list

devices:
disks:

I guess that the last command should generate something?

Actually no, this is a correct output.

But the os info is interesting. You have two systems. Slot A holds 17.0, slot B 17.1, the latter is displayed as booted, so your system is healthy. AFAIK HA stores data on a separate partition, which is used by both systems, regardless whether you boot from A or B.

When you say that the data is still there after reboot, do you mean that you continue to see your dashboards, etc.?

Do you remember if you updated HA Core from 17.0 to 17.1 yourself?

I came up as a regular update witch i installed.

I would really like a “Reset to factory settings”-Button :grimacing:

This is what the wipedisk command does.

Nabu Casa has discontinued the HA Yellow. Maybe they’ve changed something with 17.1 and the command is no longer functioning?

What exactly is the problem that you want to do the factory reset?

We could take a look at the Supervisor logs together:

ha supervisor logs

I updated z-wave JS and then something got wrong, all z-wave devices disappeared. Hacs disappeared and RF-Link got weird.
I also have a lot of ESP32 devices what i no longer use…

I also get the faultmessage on each reboot: App failed to start on boot.

App Git pull is set to start at boot but failed to start. Usually this occurs when the configuration is incorrect or the same port is used in multiple apps. Check the configuration as well as logs for Git pull and Supervisor.

Use Start to try again or Disable to turn off the start at boot option.

So a fresh install would be nice

Apparently you are not alone in encountering trouble. The last Z-wave update sesms to have caused a lot of headaches.

  • I assume you don’t have a backup that you could restore, or do you?
  • Did the Yellow come with the SSD or did you install this later?

I have backups, but the once i have tried also get me in to troubles.

no, i bought all in kit-form. but installed them at the same time. The hardware that i have added a long the way is a z-wave/zig-bee dongle.