From 7d4fc22891a77aa4c8e8e69f2d2cd784ae0f9c2e Mon Sep 17 00:00:00 2001 From: tombirdberlin <25309298+tombirdberlin@users.noreply.github.com> Date: Wed, 25 Sep 2024 22:12:08 +0200 Subject: [PATCH] Enable queries via Lua for FritzBox FW > 7 --- fritzinfluxdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fritzinfluxdb.py b/fritzinfluxdb.py index 638de02..e460d00 100755 --- a/fritzinfluxdb.py +++ b/fritzinfluxdb.py @@ -118,7 +118,7 @@ def main(): fritzbox_connection.connect() # Lua handler is only useful with FritzBox FW >= 7.X - if fritzbox_connection.config.fw_version is not None and fritzbox_connection.config.fw_version[0] == "7": + if fritzbox_connection.config.fw_version is not None and fritzbox_connection.config.fw_version[0] > "6": fritzbox_lua_connection.connect() else: log.info("Disabling queries via Lua. Fritz!OS version must be at least 7.XX")