You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,8 @@ Result:
122
122
# Changelog
123
123
| Version | Description |
124
124
| --- | --- |
125
+
| 1.0.5 | Fixed a bug parsing the environment cron settings, which are in string format, but were interpreted as int, causing an exception |
126
+
| 1.0.5 | FusionSolar API will now immediately be queried on startup if debug mode is enabled (so no waiting for cron to trigger is required for testing) |
125
127
| 1.0.5 | Added InfluxDB support for an optional secondary grid telemetry EAN configuration (pvoutput output is only supported on the primary EAN) |
126
128
| 1.0.5 | Bugfix for InfluxDB v1 implementation and removed auto-database creation for VictoriaMetrics compatibility |
127
129
| 1.0.3 | Grid transformer usage measurement polling from Kenter's meetdata.nl API has been implemented |
# Grid infrastructure measurements in The Netherlands, show up in the API with a 3-5 days delay.
41
41
self.gridrelaydaysback=3
42
+
# Setting this to 30 would try to backfill gridkenter data on startup for any day between 3 days back (gridrelaydaysback) and 3+30=33 days back.
43
+
self.gridrelaydaystobackfill=0
42
44
# If fusionsolar updates every 30mins and meetdata.nl has values per 15min, set this to 2 so that intervals between two datasources match to avoid weird pvoutput graphs.
"Error fetching data from FusionSolar Kiosk API: '{}'".format(str(e))
25
+
"Error fetching data from FusionSolar Kiosk API: '{}'".format(
26
+
str(e).replace('\n', '')
27
+
)
26
28
)
27
29
28
30
try:
29
31
response_json=response.json()
30
32
exceptExceptionase:
33
+
content=response.content.decode("utf-8")
34
+
ifcontent:
35
+
content_first_100=content[:200]
36
+
else:
37
+
content_first_100=""
38
+
31
39
raiseException(
32
-
"Error while parsing JSON response from Kiosk API: '{}'".format(str(e))
40
+
"Error while decoding the JSON Kiosk API response, did you set the right fusionsolarurl and fusionsolarkkid in your conf? Kiosk link still working?: '{}', raw JSON content: '{}'".format(
0 commit comments