#Just need to factory reset the Green

1 messages · Page 1 of 1 (latest)

trim owl
#

Hey all,
I got a HA Green a while back, didn’t really do anything for months so just sold it on marketplace (didn’t really have much automations except for a couple) and I just want to factory reset it before I can ship it to the buyer.

I looked up videos, HA help pages, the internet, ChatGPT nothing.

The file that we flash on the SD card is corrupted and the reset button doesn’t work.

I can’t login into the HA app or get to the login, guess me trying the reset button didn’t something.

Can someone please help me? I’m new to all this and not that tech savvy.

I need to ship the device back to the buyer tomorrow, so it’s a little time-sensitive

spark nimbus
#

Can you connect via keyboard and monitor?

#

ha os datadisk wipe should do a factory reset.

trim owl
#

Yes, I can. Let me try this. Thank you!

#

I tried doing the reset button method and I guess I messed up something, can’t see the login screen and the app doesn’t work either

spark nimbus
#

It's possible you need to boot with the monitor already connected for it to show.

trim owl
#

It is still going

trim owl
trim owl
spark nimbus
#

If you visit the URL there now, does it ask you to set it up again?

trim owl
#

Yep trying to check now.

#

Just need a few mins

spark nimbus
#

The person in the issue tried opening the file inside the .img That is not really what you're supposed to do.

trim owl
#

I think I did it

#

This is what I see now when I go to the URL home assistant.local:8123

spark nimbus
#

Looks like it worked.

trim owl
#

Yes, thank you so much

I have been going crazy for the past 2 days trying to factory reset and there is none that actually work

#

You are the GOAT.

You need to post this on the forum for people to use

spark nimbus
#

You can try to run the disk wipe again for good measure but that should remove all user data. Not safely wipe but perhaps enough.

trim owl
#

So this is like a factory reset that happened right? None of my info is on the Green and the next person can just simply set it up?

spark nimbus
#

ha os datadisk wipe wipes the hassos-data partition that contains the user data containing all the data. The next person should see the sama s you. Wiping the partition alone
It runs this if you want to see: https://github.com/home-assistant/operating-system/blob/dev/buildroot-external/rootfs-overlay/usr/libexec/haos-wipe
It basically does something similar as when you quick format a USB stick on windows. I said not safe because the data is not overwritten compeltely so if one really wants they could use a tool to attempt to restore.

trim owl
#

Ah got it.

Not a developer so wouldn’t really understand the code but yes this makes sense.

#

As long as the next person can use this as a brand new box, I’m good

spark nimbus
#

I only have the developer tag to be able to look into #developers and link people there. I'm not involved in HA's development.

trim owl
#

Ah okay.

Well, you help is greatly appreciated. Thank you again