-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi,
i am logging my home energy data with ESP8266 into Google sheets with httpsredirect, following the directions given in:
https://github.com/StorageB/Google-Sheets-Logging
My ESP goes in hangup occasionally when the internet gets interrupted shortly.
The Wemos D1 gets stuck exactly during
if(client->POST(url, host, payload)){
No error message, I can only pull it out by hard reset.
I was already playing days with the watchdog of the ESP, as this should act to pull it out or restart the device. But this is only partially successful, for some unknown strange reason, the watchdog is not always recognizing it. I didn't succeed to get a reliable logging, which is important, not to loose too many data of my home energy monitoring, including future solar power charge control of electric car.
I would appreciate, if there could be done some improvement inside the httpsredirect of error handling, or implementation of a timeout (e.g 10sec), if the post is not finalized after this time.
Thanks, regards, Peter