ESP32 board to ESPHome - can pair via web but not via HA/ESPhome local to edit yaml file

aceindy
Ad1 ifs so that 1st confin than contact than why did they gave OTA flashing option when it dosent create yampl file on the board?
Ad2 Yes, when I OTA flashed the board such file was created “esphome-web-7dba80-factory.bin”

stevemann
in the folder /config/esphome I have onlue secrets.yaml file.
Nothing else

There is no yaml file config on the board.

1 - You create a yaml configuration in the EspHome add-on (or EspHome standAlone). This is a text file created by you.
2 - Once the yaml configration is made, EspHome will compile the bin files, based on what put in the yaml file.
3 - This bin files need to be copied to the esphome. This should be done by serial (usb).

Only if the unit already runs EspHome (or Tasmota), you have the option to choose OTA

More info Getting Started with ESPHome and Home Assistant — ESPHome
Mark the

Note
The most difficult part of setting up a new ESPHome device is the initial installation. Installation requires that your ESP device is connected with a cable to a computer. Later updates can be installed wirelessly.

I really don’t understand how you can have created a bin file without having a yaml file.
However, there are sellers that sell pre-programmed esphome modules.
They can be integrated in HA, but cannot be added to the esphome addon without having the yaml config.

If this is the case, ask your seller for the yaml files, so you can compile it yourself :wink:

I did try this method and I the yaml file is created (even with setting the IP static or DHCP), the board is flashed but it not discoverd in the integrations. At this point I need to add the IP adress of the board to be able to add it to HA … but when I unplug it from the computer and start it on a charger to run it via WIFI, than I can see it booting/loging to wifi. I can use this wifi adress to add it to HA/Integration. Even two Xiaomi sensor (stock firmware) are discoverd after that (but not the ones on custom FM) … but the boards is indicated as “offline” on the ESPhome boards/ I can not flash it via wifi but only when connected to the desktop / I can not “loging” to the board via its IP adress.
So it not really fully working.

I tied follow some YT tutorial video for example “How to run …” and flowing this video at the mark 7:18 I dont get the same result. The board is not dicoverd.

This is really a pain with this integration … With the Zigbee and sonoff USB stick was plug and play and running after 5 minutes.

1 Like

Did you figure it out?