Skip to content

Hangup of the Logging when Internet connection is shortly interrupted #8

@kipet1

Description

@kipet1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions