From f7b429196a7a76041f01651a92f749dd2d934f97 Mon Sep 17 00:00:00 2001 From: Jorge Miguel Date: Wed, 11 Sep 2024 21:17:52 +0100 Subject: [PATCH] added support for pv1 current and voltage --- pysaj/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pysaj/__init__.py b/pysaj/__init__.py index 42c6016..0d696aa 100644 --- a/pysaj/__init__.py +++ b/pysaj/__init__.py @@ -50,6 +50,9 @@ def __init__(self, wifi=False): self.add( ( Sensor("p-ac", 11, 23, "", "current_power", "W"), + Sensor("pv1-v", 5, 5, "/10", "pv1_voltage", "V"), + Sensor("pv1-c", 6, 6, "/100", "pv1_current", "A"), + Sensor("e-today", 3, 3, "/100", "today_yield", "kWh", True), Sensor("e-total", 1, 1, "/100", "total_yield", "kWh", False, True),