Compiling on alternative machine

n00b here, please be gentle with me!
I have HA running on a RPi 3, with only 1 GB of RAM (hoping to get a 2+GB RPi4 at some point, when they’re not gold dust). I tried to use ESPHome on it to get an ESP32 running with a DHT22 that’s been sat around for ages, but it keeps running out of RAM. Is there a simple way that I can compile on a different machine, but get it connected to my HA box? I’ve tried installing esphome on my linux laptop, but it’s not very obvious what I need to do (if it’s even possible).
Can anyone help?

I’ve managed to compile on my linux laptop, but I get this when trying to flash it:

Unexpected error: ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Timed out waiting for packet header

I feel like I may have not got my board wrong in the wizard. Is there a way to detect it?

Yaml, logs, device.

I understand the curtness: I’ve been on the end of tech support myself.
I finally managed to do it: various issues including the esp32 board being a different variant to the one I was told (I had no idea there were so many different types…), esphomeflasher erroring (when “esphome run” didn’t), using the wrong gpio pin, plus me struggling to get the board into download mode. I look forward to building my new air quality monitor :slightly_smiling_face:

1 Like