├── .gitignore ├── README.md ├── config.yaml.sample ├── fritzbox2mqtt ├── __init__.py ├── fritzbox.py ├── fritzbox2mqtt.py └── mqtt.py ├── poetry.lock └── pyproject.toml /.gitignore: -------------------------------------------------------------------------------- 1 | config.yaml 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # fritzbox2mqtt 2 | 3 | fritzbox2mqtt is small Python based script to poll a [Fritz!Box](https://avm.de/produkte/fritzbox/) for periodic data and push it to a MQTT server. 4 | -------------------------------------------------------------------------------- /config.yaml.sample: -------------------------------------------------------------------------------- 1 | mqtt: 2 | address: localhost 3 | port: 1883 4 | # ssl: 1 5 | # username: username 6 | # password: topsecret 7 | prefix: 8 | fritzbox 9 | 10 | fritzbox: 11 | address: fritz.box 12 | defaultPeriod: 5 13 | # port: 49000 14 | # username: username (Create New User -> fritz.box -> System -> FRITZ!Box-Benutzer) 15 | # password: topsecret 16 | 17 | services: 18 | DeviceInfo: 19 | prefix: deviceInfo 20 | actions: 21 | GetInfo: 22 | period: 3600 23 | values: 24 | NewDeviceLog: 25 | topic: DeviceLog 26 | type: str 27 | NewManufacturerName: 28 | topic: ManufacturerName 29 | type: str 30 | NewManufacturerOUI: 31 | topic: ManufacturerOUI 32 | type: str 33 | NewModelName: 34 | topic: ModelName 35 | type: str 36 | NewDescription: 37 | topic: Description 38 | type: str 39 | NewProductClass: 40 | topic: ProductClass 41 | type: str 42 | NewSerialNumber: 43 | topic: SerialNumber 44 | type: str 45 | NewSoftwareVersion: 46 | topic: SoftwareVersion 47 | type: str 48 | NewHardwareVersion: 49 | topic: HardwareVersion 50 | type: str 51 | NewSpecVersion: 52 | topic: SprecVersion 53 | type: str 54 | NewProvisioningCode: 55 | topic: ProvisioningCode 56 | type: str 57 | NewUpTime: 58 | topic: Uptime 59 | type: str 60 | WANCommonInterfaceConfig: 61 | prefix: wan 62 | period: 60 63 | actions: 64 | GetTotalBytesSent: 65 | values: 66 | NewTotalBytesSent: 67 | topic: totalBytesSent 68 | type: int 69 | GetTotalBytesReceived: 70 | values: 71 | NewTotalBytesReceived: 72 | topic: totalBytesReceived 73 | type: int 74 | WLANConfiguration:[1-2,3]: 75 | prefix: wifi{id} 76 | actions: 77 | GetTotalAssociations: 78 | period: 300 79 | values: 80 | NewTotalAssociations: 81 | topic: totalAssociations 82 | type: int 83 | GetSecurityKeys: 84 | period: 600 85 | values: 86 | NewWEPKey0: 87 | topic: WEPKey0 88 | type: str 89 | NewWEPKey1: 90 | topic: WEPKey1 91 | type: str 92 | NewWEPKey2: 93 | topic: WEPKey2 94 | type: str 95 | NewWEPKey3: 96 | topic: WEPKey3 97 | type: str 98 | NewPreSharedKey: 99 | topic: preSharedKey 100 | type: str 101 | NewKeyPassphrase: 102 | topic: passphrase 103 | type: str 104 | GetInfo: 105 | period: 600 106 | values: 107 | NewEnable: 108 | topic: enable 109 | type: int 110 | NewStatus: 111 | topic: status 112 | type: str 113 | NewMaxBitRate: 114 | topic: maxBitRate 115 | type: str 116 | NewChannel: 117 | topic: channel 118 | type: str 119 | NewSSID: 120 | topic: ssid 121 | type: str 122 | NewBeaconType: 123 | topic: beaconType 124 | type: str 125 | NewMACAddressControlEnabled: 126 | topic: MACAddressControlEnabled 127 | type: int 128 | NewStandard: 129 | topic: standard 130 | type: str 131 | NewBSSID: 132 | topic: bssid 133 | type: str 134 | NewBasicEncryptionModes: 135 | topic: encryptionMode 136 | type: str 137 | NewBasicAuthenticationMode: 138 | topic: authenticationMode 139 | type: str 140 | NewMaxCharsSSID: 141 | topic: MaxCharsSSID 142 | type: int 143 | NewMinCharsSSID: 144 | topic: MinCharsSSID 145 | type: int 146 | NewAllowedCharsSSID: 147 | topic: AllowedCharsSSID 148 | type: str 149 | NewMaxCharsPSK: 150 | topic: MaxCharsPSK 151 | type: int 152 | NewMinCharsPSK: 153 | topic: MinCharsPSK 154 | type: int 155 | NewAllowedCharsPSK: 156 | topic: AllowedCharsPSK 157 | type: str 158 | -------------------------------------------------------------------------------- /fritzbox2mqtt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twam/fritzbox2mqtt/a365c132713f89fcfba2005b4a22c927ccebc2bf/fritzbox2mqtt/__init__.py -------------------------------------------------------------------------------- /fritzbox2mqtt/fritzbox.py: -------------------------------------------------------------------------------- 1 | import fritzconnection 2 | import logging 3 | import threading 4 | import time 5 | import queue 6 | import re 7 | import json 8 | import copy 9 | 10 | class Fritzbox: 11 | address = '169.254.1.1' 12 | port = 49000 13 | username = 'dslf-config' 14 | password = "" 15 | services = {} 16 | 17 | _connection = None 18 | _threads = [] 19 | _queue = queue.Queue() 20 | _stopEvent = threading.Event() 21 | 22 | def __init__(self, config): 23 | if (config == None): 24 | raise "No configuration given." 25 | 26 | # Load Fritz!Box settings 27 | fritzboxConfig = config.get("fritzbox", None) 28 | 29 | if (fritzboxConfig == None): 30 | raise "No configuration section for Fritz!Box" 31 | 32 | self.username = fritzboxConfig.get("username", self.username) 33 | self.password = fritzboxConfig.get("password", self.password) 34 | self.address = fritzboxConfig.get("address", self.address) 35 | self.port = fritzboxConfig.get("port", self.port) 36 | self.defaultPeriod = fritzboxConfig.get("defaultPeriod", 5) 37 | 38 | self._parseServiceConfig(fritzboxConfig.get("services", [])) 39 | 40 | def connect(self): 41 | logging.info("Connecting to Fritz!Box " + self.address + ":" + str(self.port) + " ...") 42 | self._connection = fritzconnection.FritzConnection(address = self.address, port = self.port, user = self.username, password = self.password) 43 | 44 | fritzboxLoopThread = threading.Thread(target=self._fritzboxLoop, name="fritzboxLoop") 45 | fritzboxLoopThread.start() 46 | self._threads.append(fritzboxLoopThread) 47 | 48 | def disconnect(self): 49 | logging.info("Disconnecting from Fritz!Box ...") 50 | self._queue.put(None) 51 | self._stopEvent.set() 52 | for t in self._threads: 53 | t.join() 54 | 55 | def getQueue(self): 56 | return self._queue 57 | 58 | def _parseServiceConfig(self, serviceConfig): 59 | for serviceRawName, serviceData in serviceConfig.items(): 60 | matches = re.match('^(?P[-_A-Za-z0-9]+)(:\[?(?P[\-0-9,]+)\]?)?$', serviceRawName) 61 | if not matches: 62 | logging.error("Invalid service name in config: '%s'" % (serviceRawName)) 63 | continue 64 | 65 | services = [] 66 | if matches['id'] == None: 67 | services.append({'name': matches['name']}) 68 | else: 69 | matches2 = re.split(',', matches['id']) 70 | for match2 in matches2: 71 | matches3 = re.match('^(?P[0-9])+-(?P[0-9])+$', match2) 72 | if not matches3: 73 | # Single number 74 | services.append({'name': matches['name'], 'id': int(match2)}) 75 | else: 76 | # Range 77 | for i in range(int(matches3['from']), int(matches3['to'])+1): 78 | services.append({'name': matches['name'], 'id': i}) 79 | 80 | for service in services: 81 | if 'id' not in service: 82 | fullName = service['name'] 83 | else: 84 | fullName = '%s:%i' % (service['name'], service['id']) 85 | 86 | self.services.update({fullName: copy.deepcopy(serviceData)}) 87 | 88 | if 'id' in service: 89 | self.services[fullName]['id'] = service['id'] 90 | 91 | for serviceName, serviceData in self.services.items(): 92 | 93 | if 'prefix' not in serviceData: 94 | serviceData['prefix'] = "" 95 | 96 | if (serviceData['prefix'] != "") and (serviceData['prefix'] != '/'): 97 | serviceData['prefix'] = serviceData['prefix'] + '/' 98 | 99 | for actionName, actionData in serviceData['actions'].items(): 100 | if 'period' not in actionData: 101 | actionData['period'] = self.defaultPeriod 102 | 103 | logging.debug("Service configuration: \n" + json.dumps(self.services, sort_keys=True, indent=4, separators=(',', ': '))) 104 | 105 | def _fritzboxLoop(self): 106 | logging.debug("Starting Fritz!Box loop ...") 107 | 108 | while not self._stopEvent.is_set(): 109 | for serviceName, serviceData in self.services.items(): 110 | for actionName, actionData in serviceData['actions'].items(): 111 | try: 112 | # Skip if period is not reached yet 113 | if (('lastRun' in actionData) and ((time.time() - actionData['lastRun']) < actionData['period'])): 114 | continue 115 | 116 | logging.debug("Querying data for service: %s action %s ..." % (serviceName, actionName)) 117 | res = self._connection.call_action(serviceName, actionName) 118 | for key, value in res.items(): 119 | # Skip keys not needed 120 | if key not in actionData['values']: 121 | continue 122 | 123 | topic = serviceData['prefix']+key 124 | if (key in actionData['values']) and ('topic' in actionData['values'][key]): 125 | topic = (serviceData['prefix'] + actionData['values'][key]['topic']).format( 126 | id = serviceData['id'] if ('id' in serviceData) else "" 127 | ) 128 | 129 | if ('type' in actionData['values'][key]): 130 | if (actionData['values'][key]['type'] == 'int'): 131 | value = int(value) 132 | elif (actionData['values'][key]['type'] == 'float'): 133 | value = float(value) 134 | elif (actionData['values'][key]['type'] == 'bool'): 135 | value = bool(value) 136 | else: 137 | value = str(value) 138 | 139 | if (('retain' in actionData['values'][key]) and (actionData['values'][key]['retain'] == 'true')): 140 | retain = True 141 | else: 142 | retain = False 143 | 144 | logging.debug('%s/%s/%s to %s: %r' % (serviceName, actionName, key, topic, value)) 145 | 146 | self._queue.put({'topic': topic, 'value': value, 'retain': retain}) 147 | 148 | actionData['lastRun'] = time.time() 149 | 150 | except fritzconnection.fritzconnection.ServiceError as e: 151 | logging.error("ServiceError: %r" % (e)) 152 | logging.info("Reconnecting to Fritz!Box " + self.address + ":" + str(self.port) + " ...") 153 | self._connection = fritzconnection.FritzConnection(address = self.address, port = self.port, user = self.username, password = self.password) 154 | 155 | except Exception as e: 156 | logging.error("Exception: %r" % (e)) 157 | 158 | self._stopEvent.wait(1) 159 | -------------------------------------------------------------------------------- /fritzbox2mqtt/fritzbox2mqtt.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import logging 4 | import sys 5 | import daemon 6 | import time 7 | import argparse 8 | import yaml 9 | import threading 10 | 11 | from . import mqtt 12 | from . import fritzbox 13 | 14 | def main(argv=None): 15 | if argv is None: 16 | argv = sys.argv 17 | 18 | args = parseArgs(argv) 19 | 20 | if (args.daemon): 21 | context = daemon.DaemonContext() 22 | 23 | with context: 24 | run(args) 25 | else: 26 | run(args) 27 | 28 | def parseArgs(argv): 29 | parser = argparse.ArgumentParser( 30 | formatter_class=argparse.RawDescriptionHelpFormatter, 31 | add_help=True 32 | ) 33 | 34 | parser.add_argument("-c", "--conf_file", 35 | help="Specify config file", metavar="FILE", required = True) 36 | 37 | parser.add_argument("-d", "--daemon", 38 | help="Run as daemon", action='store_true') 39 | 40 | parser.add_argument("-v", "--verbose", 41 | help="Increases log verbosity for each occurence", dest="verbose_count", action="count", default=0) 42 | 43 | args = parser.parse_args() 44 | 45 | return args 46 | 47 | def parseConfig(filename): 48 | try: 49 | with open(filename) as f: 50 | return yaml.safe_load(f) 51 | except Exception as e: 52 | raise 53 | logging.error("Can't load yaml file %r (%r)" % (filename, e)) 54 | 55 | def processFritzboxMessages(mqtt, fritzbox, stopEvent): 56 | while not stopEvent.is_set(): 57 | try: 58 | msg = fritzbox.getQueue().get() 59 | if msg is None: 60 | fritzbox.getQueue().task_done() 61 | continue 62 | 63 | logging.debug("Fritzbox message: topic=%s value=%r" % (msg['topic'], msg['value'])) 64 | 65 | try: 66 | mqtt.publish(topic = msg['topic'], value = msg['value'], retain = msg['retain']) 67 | except Exception as e: 68 | logging.error('Could not push to MQTT:' + str(e)) 69 | 70 | fritzbox.getQueue().task_done() 71 | except Exception as e: 72 | logging.error('Error while sending from Fritz!Box to MQTT: ' + str(e)) 73 | 74 | logging.debug("Stopping MQTT message thread ...") 75 | 76 | def run(args): 77 | logging.basicConfig(format="%(asctime)s [%(threadName)-15s] %(levelname)-6s %(message)s", 78 | #filename=os.path.join('./', "app.out"), 79 | level=max(3 - args.verbose_count, 0) * 10) 80 | 81 | try: 82 | config = parseConfig(args.conf_file) 83 | except Exception as e: 84 | logging.error("Failure while reading configuration file '%s': %r" % (args.conf_file, e)) 85 | return 86 | 87 | m = mqtt.Mqtt(config) 88 | m.connect() 89 | 90 | f = fritzbox.Fritzbox(config) 91 | f.connect() 92 | 93 | stopEvent = threading.Event() 94 | 95 | t = threading.Thread(target=processFritzboxMessages, args=[m, f, stopEvent], name="processFritzboxMessages") 96 | t.daemon = True 97 | t.start() 98 | 99 | try: 100 | while True: 101 | stopEvent.wait(60) 102 | 103 | except (SystemExit,KeyboardInterrupt): 104 | # Normal exit getting a signal from the parent process 105 | pass 106 | except: 107 | # Something unexpected happened? 108 | logging.exception("Exception") 109 | finally: 110 | logging.info("Shutting down ...") 111 | 112 | stopEvent.set() 113 | 114 | f.disconnect() 115 | t.join() 116 | m.disconnect() 117 | 118 | logging.shutdown() 119 | 120 | if __name__ == "__main__": 121 | main() 122 | -------------------------------------------------------------------------------- /fritzbox2mqtt/mqtt.py: -------------------------------------------------------------------------------- 1 | import paho.mqtt.client as mqtt 2 | import logging 3 | import threading 4 | import queue 5 | import ssl 6 | 7 | class Mqtt: 8 | username = "" 9 | password = "" 10 | address = "localhost" 11 | port = 1883 12 | prefix = "" 13 | 14 | _client = None 15 | _threads = [] 16 | _queue = None 17 | 18 | def __init__(self, config): 19 | if (config == None): 20 | raise "No configuration given." 21 | 22 | # Load MQTT settings 23 | mqttConfig = config.get("mqtt", None) 24 | 25 | if (mqttConfig == None): 26 | raise "No configuration section for MQTT" 27 | 28 | self.username = mqttConfig.get("username", "") 29 | self.password = mqttConfig.get("password", "") 30 | self.address = mqttConfig.get("address", "localhost") 31 | self.port = mqttConfig.get("port", 1883) 32 | self.ssl = mqttConfig.get("ssl", 0) 33 | self._queue = queue.Queue() 34 | self.prefix = mqttConfig.get("prefix") 35 | 36 | if (self.prefix == None): 37 | self.prefix = "" 38 | if (self.prefix != "") and (self.prefix[-1] != '/'): 39 | self.prefix = self.prefix+'/' 40 | 41 | def connect(self): 42 | logging.info("Connecting to MQTT server " + self.address + ":" + str(self.port) + " ...") 43 | 44 | self._client = mqtt.Client() 45 | 46 | if (self.username != "" and self.password != ""): 47 | self._client.username_pw_set(self.username, self.password) 48 | 49 | self._client.on_message = self._mqtt_on_message 50 | self._client.on_connect = self._mqtt_on_connect 51 | self._client.on_disconnect = self._mqtt_on_disconnect 52 | self._client.on_log = self._mqtt_on_log 53 | if self.ssl: 54 | self._client.tls_set_context(context=ssl.create_default_context()) 55 | self._client.connect(self.address, self.port, 60) 56 | 57 | mqttLoopThread = threading.Thread(target=self._mqttLoop, name="mqttLoop") 58 | mqttLoopThread.start() 59 | self._threads.append(mqttLoopThread) 60 | 61 | def disconnect(self): 62 | logging.info("Disconnecting from MQTT server ...") 63 | self._client.disconnect() 64 | self._queue.put(None) 65 | 66 | def getQueue(self): 67 | return self._queue 68 | 69 | def subscribe(self, topic): 70 | logging.info("Subscribing to " + topic + ".") 71 | self._client.subscribe(topic) 72 | 73 | def publish(self, topic, value, retain): 74 | fullTopic = self.prefix + topic 75 | 76 | logging.debug("Publishing to '%s': %r" % (fullTopic, value)) 77 | self._client.publish(topic=fullTopic, payload=value, qos=0, retain=retain) 78 | 79 | def _mqttLoop(self): 80 | logging.debug("Starting MQTT loop ...") 81 | self._client.loop_forever() 82 | 83 | def _mqtt_on_connect(self, client, userdata, flags, rc): 84 | logging.info("Connected to MQTT server " + self.address + ":" + str(self.port) + ".") 85 | 86 | def _mqtt_on_disconnect(self, client, userdata, rc): 87 | logging.info("Disconnected from MQTT server.") 88 | 89 | def _mqtt_on_message(self, client, userdata, msg): 90 | logging.debug("Message: "+msg.topic +" "+msg.payload.decode('utf-8')) 91 | self._queue.put(msg) 92 | 93 | def _mqtt_on_log(self, client, userdata, level, buf): 94 | if (level == mqtt.MQTT_LOG_ERR): 95 | logging.error("MQTT: " + buf) 96 | elif (level == mqtt.MQTT_LOG_WARNING): 97 | logging.warning("MQTT: " + buf) 98 | elif ((level == mqtt.MQTT_LOG_INFO) or (level == mqtt.MQTT_LOG_NOTICE)): 99 | logging.info("MQTT: " + buf) 100 | else: 101 | logging.debug("MQTT: " + buf) 102 | -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. 2 | 3 | [[package]] 4 | name = "certifi" 5 | version = "2024.2.2" 6 | description = "Python package for providing Mozilla's CA Bundle." 7 | optional = false 8 | python-versions = ">=3.6" 9 | files = [ 10 | {file = "certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1"}, 11 | {file = "certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"}, 12 | ] 13 | 14 | [[package]] 15 | name = "charset-normalizer" 16 | version = "3.3.2" 17 | description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." 18 | optional = false 19 | python-versions = ">=3.7.0" 20 | files = [ 21 | {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, 22 | {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, 23 | {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, 24 | {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, 25 | {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, 26 | {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, 27 | {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, 28 | {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, 29 | {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, 30 | {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, 31 | {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, 32 | {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, 33 | {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, 34 | {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, 35 | {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, 36 | {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, 37 | {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, 38 | {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, 39 | {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, 40 | {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, 41 | {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, 42 | {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, 43 | {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, 44 | {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, 45 | {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, 46 | {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, 47 | {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, 48 | {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, 49 | {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, 50 | {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, 51 | {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, 52 | {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, 53 | {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, 54 | {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, 55 | {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, 56 | {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, 57 | {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, 58 | {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, 59 | {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, 60 | {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, 61 | {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, 62 | {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, 63 | {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, 64 | {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, 65 | {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, 66 | {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, 67 | {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, 68 | {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, 69 | {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, 70 | {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, 71 | {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, 72 | {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, 73 | {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, 74 | {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, 75 | {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, 76 | {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, 77 | {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, 78 | {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, 79 | {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, 80 | {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, 81 | {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, 82 | {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, 83 | {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, 84 | {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, 85 | {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, 86 | {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, 87 | {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, 88 | {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, 89 | {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, 90 | {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, 91 | {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, 92 | {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, 93 | {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, 94 | {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, 95 | {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, 96 | {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, 97 | {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, 98 | {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, 99 | {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, 100 | {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, 101 | {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, 102 | {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, 103 | {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, 104 | {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, 105 | {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, 106 | {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, 107 | {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, 108 | {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, 109 | {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, 110 | {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, 111 | ] 112 | 113 | [[package]] 114 | name = "docutils" 115 | version = "0.21.2" 116 | description = "Docutils -- Python Documentation Utilities" 117 | optional = false 118 | python-versions = ">=3.9" 119 | files = [ 120 | {file = "docutils-0.21.2-py3-none-any.whl", hash = "sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2"}, 121 | {file = "docutils-0.21.2.tar.gz", hash = "sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f"}, 122 | ] 123 | 124 | [[package]] 125 | name = "fritzconnection" 126 | version = "1.13.2" 127 | description = "Communicate with the AVM FRITZ!Box" 128 | optional = false 129 | python-versions = ">= 3.7" 130 | files = [ 131 | {file = "fritzconnection-1.13.2-py3-none-any.whl", hash = "sha256:74648f90411446c478370feb94e42ebe989a18cc6a1e61068756c4ff0253b572"}, 132 | {file = "fritzconnection-1.13.2.tar.gz", hash = "sha256:ccc7ff207bb599394dfc19da29c8c54679e318d2b9304f3263a52cb9f4ed33c2"}, 133 | ] 134 | 135 | [package.dependencies] 136 | requests = ">=2.22.0" 137 | 138 | [package.extras] 139 | qr = ["segno (>=1.4.1)"] 140 | 141 | [[package]] 142 | name = "idna" 143 | version = "3.7" 144 | description = "Internationalized Domain Names in Applications (IDNA)" 145 | optional = false 146 | python-versions = ">=3.5" 147 | files = [ 148 | {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, 149 | {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, 150 | ] 151 | 152 | [[package]] 153 | name = "lockfile" 154 | version = "0.12.2" 155 | description = "Platform-independent file locking module" 156 | optional = false 157 | python-versions = "*" 158 | files = [ 159 | {file = "lockfile-0.12.2-py2.py3-none-any.whl", hash = "sha256:6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa"}, 160 | {file = "lockfile-0.12.2.tar.gz", hash = "sha256:6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799"}, 161 | ] 162 | 163 | [[package]] 164 | name = "paho-mqtt" 165 | version = "1.6.1" 166 | description = "MQTT version 5.0/3.1.1 client class" 167 | optional = false 168 | python-versions = "*" 169 | files = [ 170 | {file = "paho-mqtt-1.6.1.tar.gz", hash = "sha256:2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f"}, 171 | ] 172 | 173 | [package.extras] 174 | proxy = ["PySocks"] 175 | 176 | [[package]] 177 | name = "python-daemon" 178 | version = "3.0.1" 179 | description = "Library to implement a well-behaved Unix daemon process." 180 | optional = false 181 | python-versions = ">=3" 182 | files = [ 183 | {file = "python-daemon-3.0.1.tar.gz", hash = "sha256:6c57452372f7eaff40934a1c03ad1826bf5e793558e87fef49131e6464b4dae5"}, 184 | {file = "python_daemon-3.0.1-py3-none-any.whl", hash = "sha256:42bb848a3260a027fa71ad47ecd959e471327cb34da5965962edd5926229f341"}, 185 | ] 186 | 187 | [package.dependencies] 188 | docutils = "*" 189 | lockfile = ">=0.10" 190 | setuptools = ">=62.4.0" 191 | 192 | [package.extras] 193 | devel = ["coverage", "docutils", "isort", "testscenarios (>=0.4)", "testtools", "twine"] 194 | test = ["coverage", "docutils", "testscenarios (>=0.4)", "testtools"] 195 | 196 | [[package]] 197 | name = "pyyaml" 198 | version = "6.0.1" 199 | description = "YAML parser and emitter for Python" 200 | optional = false 201 | python-versions = ">=3.6" 202 | files = [ 203 | {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, 204 | {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, 205 | {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, 206 | {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, 207 | {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, 208 | {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, 209 | {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, 210 | {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, 211 | {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, 212 | {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, 213 | {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, 214 | {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, 215 | {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, 216 | {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, 217 | {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, 218 | {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, 219 | {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, 220 | {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, 221 | {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, 222 | {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, 223 | {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, 224 | {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, 225 | {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, 226 | {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, 227 | {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, 228 | {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, 229 | {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, 230 | {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, 231 | {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, 232 | {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, 233 | {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, 234 | {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, 235 | {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, 236 | {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, 237 | {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, 238 | {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, 239 | {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, 240 | {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, 241 | {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, 242 | {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, 243 | {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, 244 | {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, 245 | {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, 246 | {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, 247 | {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, 248 | {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, 249 | {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, 250 | {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, 251 | {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, 252 | {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, 253 | {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, 254 | ] 255 | 256 | [[package]] 257 | name = "requests" 258 | version = "2.32.0" 259 | description = "Python HTTP for Humans." 260 | optional = false 261 | python-versions = ">=3.8" 262 | files = [ 263 | {file = "requests-2.32.0-py3-none-any.whl", hash = "sha256:f2c3881dddb70d056c5bd7600a4fae312b2a300e39be6a118d30b90bd27262b5"}, 264 | {file = "requests-2.32.0.tar.gz", hash = "sha256:fa5490319474c82ef1d2c9bc459d3652e3ae4ef4c4ebdd18a21145a47ca4b6b8"}, 265 | ] 266 | 267 | [package.dependencies] 268 | certifi = ">=2017.4.17" 269 | charset-normalizer = ">=2,<4" 270 | idna = ">=2.5,<4" 271 | urllib3 = ">=1.21.1,<3" 272 | 273 | [package.extras] 274 | socks = ["PySocks (>=1.5.6,!=1.5.7)"] 275 | use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] 276 | 277 | [[package]] 278 | name = "ruff" 279 | version = "0.4.2" 280 | description = "An extremely fast Python linter and code formatter, written in Rust." 281 | optional = false 282 | python-versions = ">=3.7" 283 | files = [ 284 | {file = "ruff-0.4.2-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:8d14dc8953f8af7e003a485ef560bbefa5f8cc1ad994eebb5b12136049bbccc5"}, 285 | {file = "ruff-0.4.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:24016ed18db3dc9786af103ff49c03bdf408ea253f3cb9e3638f39ac9cf2d483"}, 286 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0e2e06459042ac841ed510196c350ba35a9b24a643e23db60d79b2db92af0c2b"}, 287 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3afabaf7ba8e9c485a14ad8f4122feff6b2b93cc53cd4dad2fd24ae35112d5c5"}, 288 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:799eb468ea6bc54b95527143a4ceaf970d5aa3613050c6cff54c85fda3fde480"}, 289 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:ec4ba9436a51527fb6931a8839af4c36a5481f8c19e8f5e42c2f7ad3a49f5069"}, 290 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6a2243f8f434e487c2a010c7252150b1fdf019035130f41b77626f5655c9ca22"}, 291 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8772130a063f3eebdf7095da00c0b9898bd1774c43b336272c3e98667d4fb8fa"}, 292 | {file = "ruff-0.4.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ab165ef5d72392b4ebb85a8b0fbd321f69832a632e07a74794c0e598e7a8376"}, 293 | {file = "ruff-0.4.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:1f32cadf44c2020e75e0c56c3408ed1d32c024766bd41aedef92aa3ca28eef68"}, 294 | {file = "ruff-0.4.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:22e306bf15e09af45ca812bc42fa59b628646fa7c26072555f278994890bc7ac"}, 295 | {file = "ruff-0.4.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:82986bb77ad83a1719c90b9528a9dd663c9206f7c0ab69282af8223566a0c34e"}, 296 | {file = "ruff-0.4.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:652e4ba553e421a6dc2a6d4868bc3b3881311702633eb3672f9f244ded8908cd"}, 297 | {file = "ruff-0.4.2-py3-none-win32.whl", hash = "sha256:7891ee376770ac094da3ad40c116258a381b86c7352552788377c6eb16d784fe"}, 298 | {file = "ruff-0.4.2-py3-none-win_amd64.whl", hash = "sha256:5ec481661fb2fd88a5d6cf1f83403d388ec90f9daaa36e40e2c003de66751798"}, 299 | {file = "ruff-0.4.2-py3-none-win_arm64.whl", hash = "sha256:cbd1e87c71bca14792948c4ccb51ee61c3296e164019d2d484f3eaa2d360dfaf"}, 300 | {file = "ruff-0.4.2.tar.gz", hash = "sha256:33bcc160aee2520664bc0859cfeaebc84bb7323becff3f303b8f1f2d81cb4edc"}, 301 | ] 302 | 303 | [[package]] 304 | name = "setuptools" 305 | version = "69.5.1" 306 | description = "Easily download, build, install, upgrade, and uninstall Python packages" 307 | optional = false 308 | python-versions = ">=3.8" 309 | files = [ 310 | {file = "setuptools-69.5.1-py3-none-any.whl", hash = "sha256:c636ac361bc47580504644275c9ad802c50415c7522212252c033bd15f301f32"}, 311 | {file = "setuptools-69.5.1.tar.gz", hash = "sha256:6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987"}, 312 | ] 313 | 314 | [package.extras] 315 | docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] 316 | testing = ["build[virtualenv]", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6,!=8.1.1)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] 317 | testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] 318 | 319 | [[package]] 320 | name = "urllib3" 321 | version = "2.2.1" 322 | description = "HTTP library with thread-safe connection pooling, file post, and more." 323 | optional = false 324 | python-versions = ">=3.8" 325 | files = [ 326 | {file = "urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d"}, 327 | {file = "urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"}, 328 | ] 329 | 330 | [package.extras] 331 | brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] 332 | h2 = ["h2 (>=4,<5)"] 333 | socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] 334 | zstd = ["zstandard (>=0.18.0)"] 335 | 336 | [metadata] 337 | lock-version = "2.0" 338 | python-versions = "^3.10" 339 | content-hash = "8b69783d9c8fdc10067e4e6692e5a4e31c0435c0e5443387607334b7a7c66a39" 340 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "fritzbox2mqtt" 3 | version = "0.0.1" 4 | description = "" 5 | authors = [ 6 | "Tobias Müller " 7 | ] 8 | license = "MIT" 9 | 10 | [tool.poetry.scripts] 11 | fritzbox2mqtt = 'fritzbox2mqtt.fritzbox2mqtt:main' 12 | 13 | [tool.poetry.dependencies] 14 | python="^3.10" 15 | PyYAML="^6.0" 16 | paho-mqtt="<2" 17 | fritzconnection="*" 18 | python-daemon="*" 19 | 20 | [tool.poetry.dev-dependencies] 21 | ruff = "*" 22 | 23 | [build-system] 24 | requires = ["poetry-core>=1.0.0"] 25 | build-backend = "poetry.core.masonry.api" 26 | 27 | [tool.ruff] 28 | line-length = 140 29 | --------------------------------------------------------------------------------