That is a good find, and a great first post. Welcome!!
There should be an award for this one! Most first posts get the standard link to âhow to ask a good questionâ!
I brought the home assistant to my vacation apartment with my other automation equipment. While it took just 10 seconds to reset the other devices, I spent hours trying to factoryr reset the home assistant. Why canât we have a reset button that only permits a factory reset if a current backup has been successfully created?
Tried this (ha os datadisk wipe
). It didnât work. Rebooted and then my entire pre-existing config came back after the reboot.
Iâve tried it twice now.
Do I execute that from the ha >
prompt on the console? I mean, I know I donât. How do I get to a place where I run rm -rf *
to erase $CONFIG
? Even login
at the ha >
prompt just drops into the /
filesystem of something. I surely do not want to rm -rf *
there!
As an aside, these are the kind of details that I am saying that are unreasonable for any random user of HAOS to have to know just to effect a factory reset.
also doesnât work for meâŠ
Also commenting to say that neither
core stop
login
rm -rf /config/.storage
core start
nor
ha os datadisk wipe
were able to reset my HA OS running on my X86-64 NUC. My Zigbee Home Automation has not been working since a power outage and I was looking for a simple way to completely reset the device because I think there might have been a problem with the SQLite database based upon the debug logs.
I would like to say that I think it would be useful to have a factory reset option; if not from the web GUI then at least from the CLI. Itâs kind of a pain to reflash the device.
I feel like having it in the UI could be a nightmare for newbies or a terrible accident for some users.
Agree on CLI! There should be some sort of MD5 check to confirm installation is the same as a fresh installation.
Or as similar to Windows where you can run sfc /scannow to check for any broken or modified components. A similar command in CLI would be very nice.