Closed joris-weijters closed 4 months ago
I worked around this by using the server time for now.
As I pointed out in this issue, the datalogger date time should be ignored and not be used to identify the metrics' date/time.
There are 2 ways to influence time behaviour.
Normally grott is using the time in the data record. This time is being set by the growatt server the moment the inverter start communicating (you have to set this in the growatt settings).
For influxdb grott will change the time to gmt time (monitoring tooling like grafana will display the data in right time zone). The gmt/utc offset is taken from the server offset. You can override this by setting a timezone in grott.ini. (e.g. tmzone= Europe/Amsterdam).
As specified above you can set grott to ignore the date/time from the data record by specifying time=server. Grott will use the time of the server it is running on.
This issue can be closed
It looks like the time is not calculated correctly from the Growatt data after restart of the grott container.
today at ~12:30 I restarted my grott because of a config change for pvoutput, I set pvtemp = True and pvdisv1 to True. After the restart in the Log of my container I saw that the date, calculated from the growatt data was 11:39
This is the data, I replaced my Serial and other secrets