About resetting the device
Notice
Risk of losing your data and configuration
- This process clears the data disk on your device. Unless you create a backup, you will lose all data and configuration settings.
- A device reset wipes the data partition. 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 device wipe 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.
- To avoid losing data and configuration settings, create a backup and define a backup location outside of your Home Assistant.
Resetting the device
The steps to clear the data disk differ, depending on whether you use a Raspberry Pi Compute Module 4 or 5 with your Home Assistant Yellow.
Prerequisites
- During this procedure, Home Assistant needs an Internet connection.
- You need Administrator rights to do this procedure
To reset a device with a CM5
If you use Home Assistant Yellow with a Raspberry Pi Compute Module 5, the red button cannot be used for factory reset. Instead, follow these steps:
- 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.
To reset a device with a CM4
If you use Home Assistant Yellow with a Raspberry Pi Compute Module 4, 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 the 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.
- The green and the 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.
Related topics
Edit this article on GitHub