Electronics
Now we have the batteries networked & internet connectivity in the Hog, the data is posted to EcoFlow's cloud service which enables the EcoFlow Battery App to present the data to all with access.
Any shedder wishing to remotely check the battery state can install the EcoFlow app & contact me (providing their email details) for battery data access.
However if you want historic data, then the EcoFlow app doesn't cut it, but we can scrape the data from the EcoFlow API, this isn't a public API nor is it documented, but there are posts discussing this on a number of home automation forums, the URL is as follows:
https://iot1.ecoflow.com/api/v1/devices/queryDeviceData?sn=<MySerialNumbe>
ThE API requires an API key & secret, which I've requested from email:support@ecoflow.com
Once I have access to the API above, then I'll scrape the data from a service running on the shed Raspberry Pi, and post the data to grafana cloud as graphite metrics, a relatively trivial bit of python will do the job of scraping & posting.
I've already monkeyed up a dashboard Battery Status, which will show us 2 weeks worth of charging & usage data. You'll need a Grafana 'free forever plan' account to access the dashboard (or the well drilling dashboard) register here, no credit card required...
Currently the dashboard data is artificially generated, once I get the API keys I'll cut it over so it's the real deal.
Like