Hello,

My IoT/Home Automation needs are centered around custom built ESPHome devices and I currently have them all connected to a HA instance and things work fine.

Now, I like HA’s interface and all the sugar candy, however I don’t like the massive amounts of resources it requires and the fact that the storage usage keeps growing and it is essentially a huge, albeit successful, docker clusterfuck.

Is there any alternative dashboard that just does this:

  1. Specifically made for ESPHome devices - no other devices required;
  2. Single daemon or something PHP/Python/Node that you can setup manually with a few systemd units;
  3. Connects to the ESPHome devices, logs the data and shows a dashboard with it;
  4. Runs offline, doesn’t go into 24234 GitHub repositories all the time and whatnot.

Obviously that I’m expecting more manual configuration, I’m okay with having to edit a config file somewhere to add a device, change the dashboard layout etc. I also don’t need the ESPHome part that builds and deploys configurations to devices as I can do that locally on my computer.

Thank you.

21 points

How has home assistant become a resource monster? What kind of integrations are you using aside from ESPHome?

permalink
report
reply
11 points

Yeah, home assistant is tiny… I’m not sure what he expects? Does he need it to run on a pi zero or something? Lol

permalink
report
parent
reply
1 point
*

He’s trying to run it on an esp32, didn’t you read the title? /s

permalink
report
parent
reply
-4 points
*

Tiny you say… answer to what you asked: https://lemmy.world/comment/7101252

permalink
report
parent
reply
-3 points

I’m not using any other integration. Isn’t this a resource monster?

I just don’t want to keep running an entire VM with their image. Something more simple that could be used on a LXC / systemd-nspawn container or directly on a base system would be nicer.

permalink
report
parent
reply
11 points

It’s half a GB of ram and virtually no CPU usage. You could run it on a Pi 3 with a 16Gb SD card and have resources to spare.

This is just weird.

permalink
report
parent
reply
3 points

What is weird is having to waste almost 700MB of ram + 10GB of storage for a simple webui that charts sensor data and only keeps it for 10 days. As a comparison my NAS container runs Samba4, FileBrowser, Syncthing, Transmission, and a few others under 300MB of RAM with pontual spikes on operations.

permalink
report
parent
reply
6 points

If this is what you consider a resource monster you’re gonna have a really, really rough time

permalink
report
parent
reply
2 points

This isn’t reasonable at all, 700MB of ram + 10GB of storage for a simple webui that charts sensor data and only keeps it for 10 days.

permalink
report
parent
reply
5 points

In what world is this is a resource monster??

permalink
report
parent
reply
1 point

Do you have the entire hass-os image running in a VM?

permalink
report
parent
reply
1 point

Yes.

permalink
report
parent
reply
6 points

Node-Red can do dashboards. I don’t know if it does data logging, but I would guess so since it can do dashboards. It also supports MQTT so it should handle ESPHome devices without a problem.

It’s made for automations (and great at it) but it can be a minimalist HA hub too.

permalink
report
reply
-1 points

Hmm… that’s interesting. I’ll have to explore further. Thanks.

permalink
report
parent
reply
4 points

Consider running HA in a light weight systemd-nspawn container with minimal debian. No docker, only install the repositories you need. HACS if needed. Run your own database on the side somewhere and let HA use it.

By itself HA is fairly lightweight already.

permalink
report
reply
-3 points

I was trying to go that route with LXC actually and while it seems great what about the ESPHome addon? I’m not even sure if that thing is required to use ESPHome devices or not.

permalink
report
parent
reply
2 points
*

It’s not needed, and you can run it separately standalone if you do want it as well.

permalink
report
parent
reply
0 points

It’s not needed,

For what exactly? Can I still add the ESPHome devices to HA without the addon installed, is the addon only for flashing the devices?

Thanks.

permalink
report
parent
reply

I went with the virtual appliance when I installed Home Assistant several years ago, turned out to be a great decision looking at how it’s architected. I only self-host the database separately, which i’ve found easier to manage.

the fact that the storage usage keeps growing

There should be a setting to reduce how long Home Assistant retains data for - I removed the limit on mine, however its possible that on newer versions they’ve changed the default

Hope you find a solution though - I think node red (capable of doing dashboards on its own) with something else is going to get you part way there.

permalink
report
reply
-1 points
*

I’ve been doing this. I’m running HA under LXD (VM) and it works.

$ lxc info havm
Name: havm
Status: RUNNING
Type: virtual-machine
Architecture: x86_64
PID: 541921
Created: 2023/12/05 14:14 WET
Last Used: 2024/01/28 13:35 WET

While it works great and it was very easy to get the VM running I would rather move to something lighter like a container. About the storage I just see it growing everyday and from what I read it should be keeping for 10 days however it keeps growing. Almost 10GB for a web interface and logs from a couple of sensors, wtf?

I would be very happy with HA, really no need to move other stuff as long as things were a bit less opaque than a ready to go VM that runs 32434 daemons and containers inside it.

permalink
report
parent
reply
2 points

Curious, you might want to look into what’s generating your data first. It’s easy to generate data, it’s harder to only keep the data that’s useful.

permalink
report
parent
reply
-1 points

And how do I go about that?

permalink
report
parent
reply
1 point

Curious, you might want to look into what is generating your data then first. It’s very easy to generate data, it’s a lot harder to only generate and keep useful data.

permalink
report
parent
reply
1 point
permalink
report
parent
reply
3 points

I’m running domoticz with an rflink interface for my rf433 devices. No clue if they support ESPHome, but you can check. It runs confined to my network.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5.1K

    Monthly active users

  • 3.6K

    Posts

  • 81K

    Comments