opengd / solar-sis

solar serial inverter system
MIT License
33 stars 15 forks source link

generated_energy_of_year #24

Open DaydreamerDK opened 4 years ago

DaydreamerDK commented 4 years ago

Hi the solution works perfectly except for the generated_energy_of_year info (same issue with month and day)

I've based it on the MPI10kWHybrid example.

I can see that it is defined in the Calls.json file and I have added this to the session.json file

{^M
  "name": "generated_energy_of_year",^M
  "config": "query_config",^M
  "command": "query/generated_energy_of_year",^M
  "req": "year",
  "res": "2019",
  "interval": 60000 ,^M
  "max": 0,^M
  "callback": "generated_energy_of_year",^M
  "influx": true^M
}^M

What am I doing wrong?

Any help is highly appreciated?

Thanks Danny