diff options
-rw-r--r-- | src/home/inverter/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/inverter/monitor.py b/src/home/inverter/monitor.py index c46984f..c93cbfc 100644 --- a/src/home/inverter/monitor.py +++ b/src/home/inverter/monitor.py @@ -166,7 +166,7 @@ class InverterMonitor(Thread): gs = response['data'] ac = gs['grid_voltage']['value'] > 0 or gs['grid_freq']['value'] > 0 - solar = gs['pv1_input_voltage']['value'] > 0 + solar = gs['pv1_input_voltage']['value'] > 0 or gs['pv2_input_voltage']['value'] > 0 v = float(gs['battery_voltage']['value']) load_watts = int(gs['ac_output_active_power']['value']) pd = _pd_from_string(gs['battery_power_direction']) |