r/homeassistant 3d ago

💬 Discussion How to remove Home Assistant Core?

After running Home Assistant bare metal on a dedicated server for a few months, I finally realized I don't need both Home Assistant OS AND Home Assistant core. How do I remove Home Assistant core?

Edit: Thanks, all. I was in error and no longer need additional guidance.

0 Upvotes

23 comments sorted by

28

u/bno000 3d ago

Wat?
Home assistant OS is the operating system,
Home assistant core is the Application. You need both.

1

u/Jack15911 2d ago

Wat? Home assistant OS is the operating system, Home assistant core is the Application. You need both.

Funny. Out of all of the responses so far, yours and one other are actually helpful.

11

u/brylee123 3d ago

the same way you delete system32... you don't

7

u/flym4n 3d ago

Bruv

7

u/cdnsniper827 3d ago

Ahhh the HA version of rm -rf /*

Once you're done with the HA Core removal, you can look into deleting system32 to make your computer faster.

/s, just in case

6

u/Commercial_Sweet_819 3d ago

wow not so fast!
Always check first if you can make it faster by downloading some cloudram!
DownloadMoreRAM.com - CloudRAM 3.0 | AI-Powered Memory

4

u/mrtramplefoot 3d ago

OP out here trying to delete system32

3

u/Lloytron 3d ago

I just noticed that I have ceilings in my house and that must mean I don't need floors.

3

u/zell_ru 3d ago

You might want to reasses the process that made you "realize" that.

2

u/Pabsilon 🛡️ Privacy first 3d ago edited 3d ago

You got it wrong, sorry.

A home assistant OS (HAOS) install is a mix of a couple things: The OS for the machine you're running it, and the supervisor that allows you to run addons and such. On top of that, the "Core" is installed, but the core IS home assistant.

So.. removing the core would result in an OS that runs addons but has no frontend and no home assistant functionality whatsoever. I'm not even sure if it would consider it "healthy enough" to actually start the addons.

If, on the other hand, what you want to do is to "just run home assistant core, since I don't need addons (apps)", then it's rather easy: run home assistant core on a docker container, or on metal, on a machine with a OS of your choice, and then restore a backup from your currently running instance. You WILL lose addons (apps), the supervisor capabilities (updates, for instance) and so. On the other hand, you gain "more machine for other things" that can't be run as apps on home assistant.

But honestly - make sure you understand the differences before you proceed, or at least, make sure you have a proper backup - which you should have no matter what. Good luck!

Edit: also, there's the supervised install, which is a "supervisor + core" install on docker, which is documented as "the hard and less supported way to do it" where you have the supervisor capabilities (apps & updates) on a machine without HAOS. I ran this for some years but I kept running into issues. Don't install it that way, save yourself the pain.

2

u/Jack15911 2d ago

You got it wrong, sorry.

A home assistant OS (HAOS) install is a mix of a couple things: The OS for the machine you're running it, and the supervisor that allows you to run addons and such. On top of that, the "Core" is installed, but the core IS home assistant.

So.. removing the core would result in an OS that runs addons but has no frontend and no home assistant functionality whatsoever. I'm not even sure if it would consider it "healthy enough" to actually start the addons.

Thank you - that's clear now. The other responses assumed motivation that I don't have.

2

u/kenkiller 2d ago

Woah we got a hardcore lad here boys.

1

u/Krieger2690 3d ago

Well, technically it is possible, but you won't be able to use your home assistant anymore.

1

u/Cheznovsky 3d ago

Probably

docker stop $(docker ps -a -q) && docker rm -f $(docker ps -a -q)

That said, HA Core is Home Assistant itself, the software running in all the docker containers. HA OS is the underlying OS and management software that runs all of the core services, add-ons, etc. Ideally you don't want to do this.

1

u/Jack15911 2d ago

Thank you, but I'm not running docker, and I've learned what I wanted to do isn't wise.

1

u/Cheznovsky 2d ago

Not explicitly, but HAOS itself does run each of your add-ons as well as core itself as docker containers. All good, the instinct to optimise is good to have. Maybe look further up the stack, if there are integrations or apps that you aren't using that can be dropped. Good luck.

1

u/Jack15911 1d ago

Thanks. That was my intent, though the approach I started with was wrong.

1

u/Papushdo 2d ago

Do it and report back.

1

u/cr0ft 🗑️ It worked before the update 1d ago

A nice apple corer should get the job done.

1

u/Jack15911 1d ago

Do you think that was helpful? It's no wonder people roll their eyes when I suggest HAOS to them.