From 6086baa36288215d80a4b478500c2df1ae1a66e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lundstr=C3=B6m?= Date: Wed, 25 Sep 2024 20:24:15 +0200 Subject: [PATCH 1/2] Update meter/hoymiles_wifi.go Co-authored-by: andig --- meter/hoymiles_wifi.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/meter/hoymiles_wifi.go b/meter/hoymiles_wifi.go index 6850743e51..6dea29684e 100644 --- a/meter/hoymiles_wifi.go +++ b/meter/hoymiles_wifi.go @@ -112,8 +112,5 @@ func (hmWifi *HoymilesWifi) CurrentPower() (float64, error) { hmWifi.lastValue = value hmWifi.lastValueUpdated = time.Now() - hmWifi.log.TRACE.Printf("Get HoymilesWifi CurrentPower: %10.2f watt for Host: %s", value, hmWifi.cc.Host) - hmWifi.log.TRACE.Printf("End HoymilesWifi fetch for Host: %s", hmWifi.cc.Host) - return value, nil } From f3167a384ef3dfb211997e29778ba8106af325a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lundstr=C3=B6m?= Date: Wed, 25 Sep 2024 20:24:23 +0200 Subject: [PATCH 2/2] Update meter/hoymiles_wifi.go Co-authored-by: andig --- meter/hoymiles_wifi.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/meter/hoymiles_wifi.go b/meter/hoymiles_wifi.go index 6dea29684e..476c983318 100644 --- a/meter/hoymiles_wifi.go +++ b/meter/hoymiles_wifi.go @@ -71,8 +71,6 @@ func NewHoymilesWifiMeterFromConfig(other map[string]interface{}) (api.Meter, er // CurrentPower implements the api.Meter interface func (hmWifi *HoymilesWifi) CurrentPower() (float64, error) { - hmWifi.log.TRACE.Printf("Start HoymilesWifi fetch for Host: %s", hmWifi.cc.Host) - var value float64 request := &models.RealDataNewReqDTO{} // int32 would not be Year 2038 safe