Esphome source

Hi! I’m running Esphome on a Pi3 and would like to know if there are source somewhere i can look at on the nodes I have compiled.

That doesn’t tell us much, but for HAOS using the ESPHome add-on, for a node called “office” for example, the generated source code is in:

homeassistant/esphome/office/src/

I run HAOS 10.3 and core 2024.1.2.
There is notning more than the yaml files for every node i have created.

Hmm you may be right - I have all the source files but their creation date is over 12 months ago. Obviously something changed…

Do you have a “.esphome/build” folder? That’s where I have the generated source, platform-IO configuration, …
However I have installed esphome on a separate server , I’m not using the AddOn

No such folder exist

Are you wanting the .bin files

No. I am looking for the source files,

If you’re using the Addon in HomeAssistant, I believe they are located on a docker volume in the ESPHome docker container.

I can access the docker containers of my HA setup because I’m using VirtualBox and can access the root OS. I haven’t figured out how to access the docker volumes from the HA terminal or an ssh session to HAOS, but I can see them from VirtualBox.

If you manage to get to the root OS, you should be able to find them under
/mnt/data/supervisor/addons/data/XXXXXXXX_esphome/build/YYYY/src
where XXXXXXXX is a hex identifier for your ESPHome installation
and YYYY is the name of your device

But I would not do any editing if you access them like this…

Hmm…
I’m running

  • Core2024.11.2
  • Supervisor2024.11.4
  • Operating System13.2

And I can see the src files using the StudioCodeServer Add-om:
image
:thinking: