Skip to content

Issue with Tutorial5 #4

@mstjerna

Description

@mstjerna

Hi

I have some issues with the Tutorial5.
Data are stored in the JSON file:
{"timestamp":[1519303055,1519303075,1519303095],"t":[25.4,25.4,25.4],"h":[19.8,20.2,20.1],"pa":[1050,1050,1050],"bart":[],"barh":[]}

Graph is populated with the values and work as expected until a reboot of the ESP!
When the ESP reboots the file is read and in the loadHistory() function I see that the file is read with the root.prettyPrintTo(Serial);

BUT the graph never get the old data, program starts with a reading of the current temp/humidity and overwrites the file so I lose all the history.

Have anyone else experienced this and if so solved the read-back from file to the current buffer?

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