From eb502ab9c94cc8a89a29f9310e2f56404b432053 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 8 Jun 2022 22:01:22 +0300 Subject: ipcam: rewrite motion detection system --- src/inverter_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inverter_bot.py') diff --git a/src/inverter_bot.py b/src/inverter_bot.py index 5ad5e33..5b3fe45 100755 --- a/src/inverter_bot.py +++ b/src/inverter_bot.py @@ -452,7 +452,7 @@ class InverterBot(Wrapper): if __name__ == '__main__': config.load('inverter_bot') - inverter.init(host=config['inverter']['ip'], port=config['inverter']['port']) + inverter.schema_init(host=config['inverter']['ip'], port=config['inverter']['port']) monitor = InverterMonitor() monitor.set_charging_event_handler(monitor_charging) -- cgit v1.2.3