brown-SSW / brown-solar-charger

This program monitors a solar power system and runs a physical and online dashboard.
https://brown-ssw.github.io/brown-solar-charger/
4 stars 1 forks source link

test generating json format #20

Closed joshua-8 closed 3 years ago

joshua-8 commented 3 years ago

@vskbellala designed a format, hopefully it can be made by an esp32 easily

joshua-8 commented 3 years ago

{ "dials": { "time": 3, "s1": 2, "s2": 3, "s3": 4 }, "live": [ { "time": 3, "s1": 2, "s2": 3, "s3": 4 }, { "time": 2, "s1": 10, "s2": 5, "s3": 6 }, { "time": 1, "s1": 7, "s2": 8, "s3": 9 } ], "data":[ { "time": 6, "s1": 2, "s2": 3, "s3": 4 }, { "time": 5, "s1": 10, "s2": 5, "s3": 6 }, { "time": 4, "s1": 7, "s2": 8, "s3": 9 } ] }

joshua-8 commented 3 years ago

the json file will now be made by a (likely python) program running on a (likely raspberry pi) server instead of an esp32

joshua-8 commented 3 years ago

actually the json comes from firebase, so this issue isn't so relevant anymore. Still, thanks Shri for making the example json file that got us started!