About factory reset
A factory reset clears the data partition of your device. It removes all user data as well as Home Assistant Core, Supervisor, and any installed add-ons.
The Home Assistant operating system stays on the system.
Once a factory reset is initiated, the data partition is marked as to be cleared on boot. Then, the system reinstalls the latest version of all Home Assistant components.
The steps used to clear the data disk are different, depending on whether you use a Raspberry Pi Compute Module 4 or 5 with your Home Assistant Yellow.
Resetting a device to the factory settings
Prerequistes
Resetting a device to the factory settings with a CM5
If you use Yellow with a CM5, the red button cannot be used for factory reset. Instead, do the following:
- Make sure you do not lose your automations and configuration settings: Create a backup.
- Connect via serial console from Windows or connect via serial console from Linux or Mac.
- Follow the steps on Wiping the data disk via command line.
Resetting a device to the factory settings with a CM4
Follow these steps to clear all user data and reinstall the latest version of Home Assistant components.
- Make sure you do not lose your automations and configuration settings: Create a backup.
-
Shut down the system.
- Go to Settings > System, and in the top right corner, select the shut down icon. Select Shut down system.
- Wait for all LEDs to turn off, except the red power LED.
- Remove power from the system.
- Power up the system:
- Make sure the system has an Internet connection.
- Press and hold the red button and reapply power.
- Keep the red button pressed until the yellow LED turns on or starts flashing.
- Release the red button.
- Green and yellow LEDs start blinking.
- The Home Assistant Operating System now downloads the latest version of Home Assistant Supervisor and Home Assistant Core.
- Due to the downloads, it can take a while until Home Assistant becomes accessible again.