-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangup of the Logging when Internet connection is shortly interrupted #8
Comments
Welcome to HTTPSRedirect! Please provide enough info to debug the issue. |
Here is the part of the code: `void sendtoGoogle() { // Create json object string to send to Google Sheets Serial.println(WiFi.status()); ESP.wdtFeed(); Serial.print("Publishing.. " ); if(client->POST(url, host, payload)){ //<---------------------- Hangup in case of internet connection interruption Serial Monitor: 14:15:35.437 -> Start Shelly 3 <- shortly before the internet connection starts interruption for about 10 seconds |
Any comment would be appreciated |
hi @kipet1 did you solve this issue ? |
Hi, |
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
The text was updated successfully, but these errors were encountered: