From b879531c56c189ba4915970992f24cd300dca3bf Mon Sep 17 00:00:00 2001 From: bohdan-s Date: Thu, 8 Dec 2022 10:20:47 +1100 Subject: [PATCH] Fix VOutput Voltage (v6) --- SunGather/exports/pvoutput.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/SunGather/exports/pvoutput.py b/SunGather/exports/pvoutput.py index b2bc4fb..2bd53b2 100644 --- a/SunGather/exports/pvoutput.py +++ b/SunGather/exports/pvoutput.py @@ -166,8 +166,6 @@ class export_pvoutput(object): value = int(self.collected_data[field]) elif x == 6 or x == 7: # Round to 1 decimal place value = round(self.collected_data[field] / self.collected_data['count'], 1) - if not (value >= (self.collected_data[field] * 0.9) and value <= (self.collected_data[field] * 1.1)): # Trim outlier (i.e. inverter does not report every time during interval) - value = int(self.collected_data[field]) else: # Getting errors when uploading decimals for power/energy so return INT value = int((self.collected_data[field] / self.collected_data['count'])) data_point = data_point + "," + str(value)