Skip to content

Commit

Permalink
log BATTERY_DETAILS_POLLING_INTERVAL and PARAMETER_POLLING_INTERVAL
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrossbach committed Aug 8, 2024
1 parent 8700bd3 commit 7b918f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/polling/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ func (s *Service) fetchNoahSerialNumbers() []string {
}

func (s *Service) poll() {
slog.Info("start polling growatt", slog.Int("interval", int(s.options.PollingInterval/time.Second)))
slog.Info("start polling growatt",
slog.Int("interval", int(s.options.PollingInterval/time.Second)),
slog.Int("battery-details-interval", int(s.options.BatteryDetailsPollingInterval/time.Second)),
slog.Int("parameter-interval", int(s.options.ParameterPollingInterval/time.Second)))

go func() {
for {
Expand Down

0 comments on commit 7b918f2

Please sign in to comment.