warp-more-hardware / esp32-firmware

TinkerForge WARP software for more hardware
14 stars 1 forks source link

Config backup and restore #20

Open bs-github opened 1 year ago

bs-github commented 1 year ago

It would be cool to have an easy way to backup and restore the config of a WARP charger.

The Config is basically already available via the /debug_report json blob, but not everything in there is config and the restore part is completely missing.

Solution I'd like

I'd like to have a command line tool to fetch a config and make a backup, as well as a convenient way to push it back to the box.

The restore could be done via curl calls with the appropriate HTTP-API parameters (see: https://www.warp-charger.com/api.html?v=2#http_section) generated from the /debug_report json backup.

bs-github commented 1 year ago

also see: https://github.com/Tinkerforge/esp32-firmware/issues/165