Did you go look to see if this is a known issue and been reported already? Sometimes you can find older threads where someone else had this issue after updating and the solution is in the thread. Did you look at the changelog prior to updating to see if there were any breaking changes listed that might effect you?
Its not connecting to the network, so what is the reason it gave you in the logs? Also you do realize these have a small amount of memory and of you keep applying updates that do absolutely nothing for that board who just sits there and toggles 1 relay, you’re going to quickly run into not enough memory issues. Dont apply updates that you dont need.
Other than the problem your having and posting your config, what have you tried already? Where have you looked for answers?
Yes, I’ve search I didn’t found nothing reported. Also looked to the changes on the ESPhome releases and didn’t spot nothing but there a lot of changes which I assume that don’t know exactly what they mean or if can be related.
The code is available here:
As you said, this is a very basic code that enable one gpio pin to switch a relay so maybe it is not hard for an expert find the problem.
Last, since the ESP01 doesn’t connect to the network I don’t see any logs after the update. I can try remove some parts of the code and check if the ESP01 stops the bricking stage.
are you able to access the board from any method? Does it show up in your router? can you access it via web_server? What makes you sure it’s a wifi/api problem and not a hardware malfunction? Hook that sucker up to your pc and open a serial log
To clarify. When it was working with (2023.10.6) I’ve flash through ESPHOM (and using the browser) also flash. As soon it is flashed with the new version it bricks. To recovery the ESP-01 I have use espflasher (usb -serial) but with the later versions the logs do not show nothing like the ESP doesn’t boot. If I flash with the older version then it starts to work again. I also test with another ESP01s and I have the same behavior.
The ESPs are ok and they work flawlessly with the version 2023.10.6 and previous. The first time that I’ve to flash them I use ESPHome-flasher with ftdi usb uart adapter. As long the firmware is bellow 500k then can be flashed OTA either using the ESPhome dashboard or through the webpage or the device.
When something goes wrong then the usb adapter jumps again. I’m almost sure there is a bug in the later versions of ESPhome but since the ESP seem do not boot I’m struggling to provide any logs to evidence the issue.
I added this as well just in case, because using unsafe pins:
esp8266:
board: esp01_1m
restore_from_flash: false
early_pin_init: false # Specifies whether pins should be initialised as early as possible to known values. Recommended value is false where switches are involved, as these will toggle when updating the firmware or when restarting the device. Defaults to true.
framework:
version: latest
I use it; i find mDNS too unreliable, so i use my own domain internally (which happens to be the same as my external domain) works like a charm (i can access all my esp devices with devicename.domain.mine)