Skip to content

Feature Request - public method for saving variables to settings.json #2

@aburt2

Description

@aburt2

@edumeneses
Would it be possible to have a public method for saving variables to the esp32 spiffs filesystem? It would be nice for saving calibration variables that might update during runtime and need to be maintained in between sessions.

puara.saveVarNumber(std::string variable_name, int value)
puara.saveVarText(std::string variable_name, std::string value)

Basically, just a save version of the getVarNumber and getVarText. From what I can tell most of the functionality is there already for the webpage. I can implement it myself if it is simple enough just need some pointers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions