Can an ESPHome built firmware find out which ESPHome version (like 2023.2.1) was used to compile it?
I’m not looking to read the current ESPHome version installed in HA but the version that was installed at compile time of the firmware.
My goal is to get an overview of the ESPHome versions that were active when any of my MCUs were last updated. The Update sensor of HA does not seem to do a good job for that. It already updates the version when a new compilation is started. This way I’ll never know, if the new firmware was really uploaded.
Yes, and I guess I was wrong with my assumption that …
“The Update sensor of HA does not seem to do a good job for that.”.
In fact the update sensor seems to accurately read the firmware’s compile version!
It is only the “Update” button in the ESPHome section of HA’s frontend that is removed prematurely when new compile starts.
In fact I am using HAOS. I get these sensors for all my ESPs for some months now. They all pop up whenever I install a new ESPHome version. Not exactly sure, when this started. But late last year the whole update sensor mechanics improved substantially.
Thanks @jsuanet, this is exactly what I was looking for!
I swear I checked the ESPHome website back and forth before posting. I don’t understand, why I did not find that sensor.
I tried asking if there’s any way for someone not intimately familiar with the source code to get some kind of clue as to what’s changed and whether it affects us, but I sort of struck out.
My conclusion is, if my ESP devices are working, then I’ll wait to update them on the same schedule as I do for HA. I do that once a month, after the point updates have slowed down, usually around the third week of the month.