It would be helpful if there was an option to “factory reset” home assistant from the front end web interface. I shouldn’t have to gain access to the file system to reset.
This in particular is helpful for those who want to create a home assistant instance at home on a mini pc, and then move it to another house.
Why do you have the ability to factory reset your phone? Why can you factory reset a TV? Why can you factory reset zwave devices? Why can you factory reset car settings? It’s 2024, I shouldn’t have to figure out how to SSH into my HA instance to delete configuration files.
The only way you can access HA locally installed on a mini pc is by hooking up a monitor and keyboard, and even if you did you did there’s no clear option or command to factory reset it.
My use case was a one off, installing HA on a intel nuc, logging in to make sure it runs, and then realizing I need to basically wipe the whole thing again because it picked up a bunch of IoT devices on my network automatically. But I’m not the only person looking for this option.
I’m all for empowering the end user, having to overwrite the install or SSH just to reset is not user friendly.
The answer to that would be to restrict reset to the “owner” user only and require the password for factory reset, maybe throw in the 2 factor auth code if enabled.
While I understand the question and its intent, it is a flawed question. Phone, TV, z-wave devices and car settings are all hardware and in each of those cases you are setting the hardware back to its original configuration. Your NUC probably has a function to return to the original configuration, and this would be another example of the function of returning the hardware back to default config which would eliminate HA and anything else not factory installed.
Home Assistant is an application. After 20 years in IT I’ve seen a lot of applications and none has a reset button. Heck most applications don’t even uninstall cleanly, to the point that vendors have to create cleanup tools or provide manual uninstall instructions. Adobe is one that jumps to mind, what a nightmare that suite is. The only thing that comes to mind that is close to a reset feature was one that had a utility that deleted the config files, data folder and database. The application was closed at the time you ran the utility. I bet a script would be easy to create that could delete the /config folder and anything else that needs to be changed to ‘factory reset’ HA.
This platform is used by a massively broad audience: consumers, hobbyists, engineers, IOT developers, professional installers, general contractors, app developers and hardware developers STEM students covering areas as small as a front porch, apartments and houses, estates, small business establishments, high rise buildings and yatchs. Somehow the developers on this platform meet most of the needs and wants of this broad and diverse community, a truly remarkable feat.