diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-08-31 20:46:45 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-08-31 20:46:45 +0300 |
commit | 60f17a3fc28de2f8c3694ecdb765fb51c718760a (patch) | |
tree | 57b46977cc7dc332cfca3e09901e57fe73cd00d6 /src/home | |
parent | a4cc1411b4a6c711f0af63ba7b36ab3c250dc9d9 (diff) |
inverter/monitor: fix ac charging program in some cases when both ac input & pv are connected
Diffstat (limited to 'src/home')
-rw-r--r-- | src/home/inverter/monitor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/home/inverter/monitor.py b/src/home/inverter/monitor.py index 7f4ca9c..444d3bc 100644 --- a/src/home/inverter/monitor.py +++ b/src/home/inverter/monitor.py @@ -218,8 +218,9 @@ class InverterMonitor(Thread): except StopwatchError: msg = 'gen_charging_program: floating_stopwatch.pause() failed at (1)' logger.warning(msg) - self.error_handler(msg) + # self.error_handler(msg) logger.info('solar power connected during charging, entering AC_BUT_SOLAR state') + return # No surprises at this point, just check the values and make decisions based on them. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |