diff --git a/fritzbox_cpu_temperature.py b/fritzbox_cpu_temperature.py index 224ff29..ec5930d 100755 --- a/fritzbox_cpu_temperature.py +++ b/fritzbox_cpu_temperature.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/ecostat.lua' pattern = re.compile('.*\/(StatTemperature)".*=.*"(.*?)"') diff --git a/fritzbox_cpu_usage.py b/fritzbox_cpu_usage.py index fbaeae2..663ea34 100755 --- a/fritzbox_cpu_usage.py +++ b/fritzbox_cpu_usage.py @@ -16,8 +16,6 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys diff --git a/fritzbox_memory_usage.py b/fritzbox_memory_usage.py index 200427c..9483b57 100755 --- a/fritzbox_memory_usage.py +++ b/fritzbox_memory_usage.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/ecostat.lua' pattern = re.compile('.*\/(StatRAM.*?)".*=.*"(.*?)"') diff --git a/fritzbox_power_consumption.py b/fritzbox_power_consumption.py index bc8ae3f..467e9a0 100755 --- a/fritzbox_power_consumption.py +++ b/fritzbox_power_consumption.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/energy.lua' pattern = re.compile('.*\/(.*act?)".*=.*"(.*?)"') diff --git a/fritzbox_wifi_devices.py b/fritzbox_wifi_devices.py index 16fa374..41c629a 100755 --- a/fritzbox_wifi_devices.py +++ b/fritzbox_wifi_devices.py @@ -16,13 +16,10 @@ #%# capabilities=autoconf """ -import hashlib -import httplib import os import re import sys import fritzbox_helper as fh -from io import StringIO, BytesIO PAGE = '/system/energy.lua' pattern = re.compile('(\d+) WLAN')