From 60f17a3fc28de2f8c3694ecdb765fb51c718760a Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 31 Aug 2022 20:46:45 +0300 Subject: inverter/monitor: fix ac charging program in some cases when both ac input & pv are connected --- src/home/inverter/monitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/home') 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. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3