{{ $json := getJSON "https://monitoringapi.solaredge.com/site/2516130/overview?api_key=GVF1BZAAM74IRDZ2WRWT32A5V0CY9G4Z&format=json" }} {{ $lastDayData := $json.overview.lastDayData.energy }} {{ $lastMonthData := $json.overview.lastMonthData.energy }} {{ $lifeTimeData := $json.overview.lifeTimeData.energy }} {{ $lastUpdateTime := $json.overview.lastUpdateTime }}
Production Greyzolon Duluth
Energie du jour{{ lang.NumFmt 2 (div $lastDayData 1000) "- . ," }} kWh Energie du mois{{ lang.NumFmt 2 (div $lastMonthData 1000000) "- . ," }} MWh Production totale{{ lang.NumFmt 2 (div $lifeTimeData 1000000) "- . ," }} MWh
{{ $lastUpdateTime | time.Format ":date_medium" }} à {{ replace ($lastUpdateTime | time.Format ":time_short") ":" "h" }}