- Wed Nov 24, 2021 8:39 am
#92899
I can't really help you with MQTT. It's on my list, but haven't gotten to it yet. Your problem sounds like a software problem versus hardware. I can only address "
is it something normal about its lifetime?" I'm probably up in the hundreds of ESP8266's used. I use either a WeMos or NodeMCU or ESP01 depending on the project. The ones I actually develop on have been the same units I got years ago. They probably have better than ten-thousand upload cycles on them and I can say I've never had any go bad except those that I intentionally ran to destruction. I have had a few that were DOA, but none that went bad in the field. Sealing and keeping them away from a harsh environment like you have is critical, but corrosion causing the failure you describe sounds unlikely. They usually just crap-out or won't turn on.
Good luck