Open lozn00 opened 3 months ago
There are currently two types of crashes,
I hope there is a mechanism to prevent complete death, For example, if there is a Forced power outage and restart three times within one minute, it will default and generate a hotspot for me to connect to Esphome. The generated hotspot will facilitate me to upgrade to OTA and fix the problem. Also, is it possible that there was no try catch exception within the system, and some code errors caused the web functionality to malfunction.
Can a long press continuous click mode be added to a pin port to trigger a reset function. However, what is currently more painful than the problem is that it died after burning and underwent a web upgrade. Then, I heard the sound of the relay closing, the light went out, and pressing the button did not respond. I unplugged the socket and reinserted it, and it completely died. I bought 5 sockets, but currently 3 of them are broken due to configuration changes. I need to spend some time dismantling them and re flashing them in through the data cable
The problem
It's very easy to die, which means I have to dismantle my socket. If I want to upgrade it in, it needs to be soldered, The operation is very complicated which is very painful for me. There are two reasons why it dies directly because I changed the configuration. The socket light is not on, nor does it display hotspot WiFi. There is also one light that is on, but I scanned the port and did not find that the web service was created. I hope there is a mechanism to prevent it from dying, otherwise it will be very painful for me. In addition, there is a mechanism that is newly flashed in, and I usually need WE. If it is not accessed for a long time for the first time, it will automatically restore to the initial state. I remember filling in the static IP, and then the IP and WiFi are not in the same network segment. How does it recognize conversions in this situation?
Which version of ESPHome has the issue?
2024.3.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.12.3
What platform are you using?
ESP8266
Board
other
Component causing the issue
misc
Example YAML snippet