The signal strength on the wifi is always a good check.
I checked your configuration on git hub.
So some guesses that may help or not.
You are using the pin D3. This is connected to the flash.
I maybe cause some issues. If it pulled low when powered on it will fail.
Hard to know if this is the issue.
Some times the i2c is causing issues with the wifi in the past.
You read pretty often from the temp and display it on display.
You could try to lower the rate the default (60s) for testing just to see if this causes any problem.
See if the upload
I usually use this definition on the d1 mini.
platform: ESP8266
board: d1_mini
There is also a new feature called safe mode.
So you can put it safe mode the update.
This is new so I have not tested it. But maybe this is something to test first.
In my experience this usually occurs because an interrupt in the firmware is interfering with the upload. Especially busy ones. I usually have a switch to disable interrupts. I think the safe mode switch that was mentioned will fix your issue since you have a few components that have a fast update time (5seconds)
Best would be to start logging over serial (using a USB cable) and then initate/start the ota.
You will mostlikely get more insights than why things are failing
I have started putty and can see the serial output during a WiFi install.
But it is too much data that can not be stopped in the putty window.
When I remove the USB cable the putty windows is gone.
Any idea how I can save the serial output to a file?
Running Ubuntu 20.04.
Ah, it’s fine. I am not going to update this guy that often. Just wanted to leave this here if someone else has the same problem.
The other problem I have is that mdns is sometimes not working as expected or takes some time for the device to be available.
Even though I have configured a static IP for this particular esp8266.