Moderator: igrr
Right now I have the ESP-01 + DS18B20 running for almost 20 hours uploading data to thingspeak every minute, and no hangs. And yes. RX and TX lines are shorted together. When I left them open, at one point the code would fail to open the TCP connection, jump to setup() and loop endlessly trying to reconnect to WiFi network.
If the serial adapter is left plugged for debugging ... it doesn't hang. If it hangs then the information is gone.
I added few more checks to the firmware too, like a client.close() and WiFi.disconnect() in strategic places (error handling).