Every time I try to build an image in ESPHome HA crashes the first time (out of memory I presume). Is there anyone who has looked at running ESPHome with support for distcc?
I like this idea because I can keep the Add-on in my HomeAssistant HAOS on a relatively low-power always-on device.
Post your compile log please [suitably formatted with forum </> formatting]
Are you using such enormous resources that you need the added complication of distcc? Are you sure it is contributing to added power consumption when not running?
Have you looked at alternatives such as MQTT, etc?
Describe your platform(s) - processor, memory, disk space, OS platform, docker, VMs etc.
That seems like it would be hard. It also looks like someone did try it and didn’t get too far.
Their problem is much harder than yours. Your problem has an Easy Button. Just install esphome on that more powerful (not always on) computer. That’s what I do. There is nothing that says you HAVE to install esphome on the same computer that runs HA. Many people do, because that makes it easy for some things.
Why do you need to keep Esphome builder running in low powered device? Esphome builder is for compiling devices, you only need it running when building a device. Far better to just run it on a more powerful machine when needed.
I think the point was to have the addon run on device for things like health management and log viewing. Presumably when I’m compiling I have a higher power machine present that the build could be offloaded to.
Or maybe even something like WASM or docker offload that spins up a build machine in the cloud. Or maybe at nubucasa?