Is it possible to make an auto uploader for the Afore Energy inverter? Or any other way to get the data.
The information about there api is here:
http://af.lewei50.com/api/v1/site/overview/yyyyy?token=xxxxx
Where yyyyy = id and xxxxx = token
Output:
{
“data” {
“id”:YYYYY,
“name”:“XXX-YYY”,
“energyToday”:7.170,
“energyMonth”:182.570,
“energyYear”:2418.050,
“energyTotal”:2418.050,
“systemSize”:6.19,
“co2”:2.418050,
“tree”:6.5287350,
“oil”:2.418050,
“income”:“€”,
“power”:3159,
“lastUpdateTime”:“2018/11/14 12:45:33”,
“position”:“4.164550925548528,51.00156639618482”},
“successful”:true,
“message”:null
}
Thanks!