Device stops sending data #228
-
Every few months or so, I notice that my device stops sending data.
but I won't get: but I do not see sensor activity log lines such as these:
The only solution I have found is to reflash over the air from esphome with the install button. Any ideas what could be causing the device to lock up even after a power cycle? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I haven't heard of this issue before, this is an unusual fault.
I would debug by increasing the global log level, while being careful not to log too much & slow down the system. I'm not at all confident of being able to resolve this, even with that information. It may be a faulty ESP32. If this was my system, under my personal circumstances, I'd probably buy a new one or maybe just reset it every few months. |
Beta Was this translation helpful? Give feedback.
-
Adding this configuration appears to solve the problem:
5s is probably 10x more time than is required. My current assumption is there is some additional noise on the power supply on power up that is causing an issue with the i2c initialisation. Adding a small time delay avoids the noise issue. |
Beta Was this translation helpful? Give feedback.
Adding this configuration appears to solve the problem:
5s is probably 10x more time than is required. My current assumption is there is some additional noise on the power supply on power up that is causing an issue with the i2c initialisation. Adding a small time delay avoids the noise issue.