Skip to content

Commit

Permalink
Merge pull request #128 from tombirdberlin/main
Browse files Browse the repository at this point in the history
Enable queries via Lua for FritzBox FW > 7
  • Loading branch information
bb-Ricardo authored Sep 27, 2024
2 parents ccc0078 + 7d4fc22 commit cb6c1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fritzinfluxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cb6c1a5

Please sign in to comment.