I just bought a mini PC to use as a Plex Server and realised that maybe it’s a good way to host my Home Assistant instance as well. Currently HA is on a raspberry pi 4.

What’s the best approach to get both running on a mini PC? And is it even the best approach or should I just leave HA the way it is now?

Mini PC I got is the Beelink EQ12

@yesterdayshero@lemmy.world
creator
link
fedilink
English
11Y

Forgot to add, I got 16gb ram and 500gb hard drive.

@thehatfox@lemmy.world
link
fedilink
English
41Y

You can use Docker to run Home Assistant and Plex in containers, or user a hypervisor such as Proxmox and run Home Assistant and Plex in separate virtual machines (VM).

Managing Home Assistant as a container can be a bit more complicated than running Home Assistant OS on bare metal or in a VM. You don’t get access to backup functionality or the add on store for example, more things have to be manually configured

If your Pi 4 is running HA well enough, I would consider continuing to use the Pi. Reliability is key to a happy smart home, and if HA is running on its own hardware you won’t get any interruptions as you tinker with the mini PC. Plus it’s easy to swap in another Pi should you have a hardware failure.

Although VMs and containers can also be easily backed up and restored to new hardware should the need arise…honestly for home use it’s down to personally preference. Experiment and stick with what works best for you. Either way you will learn a lot in the process.

@yesterdayshero@lemmy.world
creator
link
fedilink
English
21Y

Yeah good call. I might mess around with the mini PC with things like docker and Plex server before I do anything major with HA. I’m not having any issues with HA at the moment and the Pi seems to be going strong for now.

WreckingBANG
link
fedilink
English
21Y

Put Linux on it and then use docker container

I run mine (plex, sonarr, radarr, home assistant etc) in docker using docker-compose for orchestration

Heres an example one https://github.com/sebgl/htpc-download-box

Homeassistant docker https://hub.docker.com/r/homeassistant/home-assistant/

@yesterdayshero@lemmy.world
creator
link
fedilink
English
1
edit-2
1Y

Is docker very different to HAOS? Anything major I’d have to do differently?

I’ve also heard of doing it using Proxmox, but not sure if there’s any advantages/disadvantages?

Also, thanks so much for those links. Super helpful.

Docker is sort of like a virtual machine but lighter than a VM. Proxmox I think is a virtual machine host?

https://geekflare.com/docker-vs-virtual-machine/

Personally I would leave HAOS on the Pi as it currently is, and then look at running the rest of the stack (Plex server and then whatever else you want) on the mini PC

@yesterdayshero@lemmy.world
creator
link
fedilink
English
1
edit-2
1Y

Sorry for the dumb question, but would I be able to achieve something similar to the Plex server Docker config you shared, but without docker? If I don’t bother trying to get HA running on the same mini PC?

I might have a play around with the mini PC before I try do anything major with HA.

Edit: have found a couple guides, so will try it out.

Create a post

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

  • 1 user online
  • 1 user / day
  • 7 users / week
  • 11 users / month
  • 111 users / 6 months
  • 1 subscriber
  • 258 Posts
  • 828 Comments
  • Modlog
  • mods: