changeset 3:ec3c8b63d8e7

Collect frequency correctly...
author Daniel O'Connor <darius@dons.net.au>
date Tue, 09 Feb 2021 22:10:25 +1030
parents 393a879db9eb
children 8990981c60a0
files pw2log.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pw2log.py	Tue Feb 09 21:30:06 2021 +1030
+++ b/pw2log.py	Tue Feb 09 22:10:25 2021 +1030
@@ -115,7 +115,7 @@
                 pw.detect_and_pin_version()
             meters = pw.get_meters()
             grid_volts = meters.site.avarage_voltage
-            grid_freq = meters.site.avarage_voltage
+            grid_freq = meters.site.frequency
             grid_power = meters.site.instant_power
             load_power = meters.load.instant_power
             battery_power = meters.battery.instant_power