Parse Freebox V5 status page
Project description
[![CircleCI](https://circleci.com/gh/demikl/freeboxv5-status.svg?style=svg)](https://circleci.com/gh/demikl/freeboxv5-status) [![codecov](https://codecov.io/gh/demikl/freeboxv5-status/branch/master/graph/badge.svg)](https://codecov.io/gh/demikl/freeboxv5-status)
Récupération du statut de la Freebox V5 en Python
Python wrapper for Freebox V5 status
Ce module accede aux donnees de statut sur http://mafreebox.free.fr/pub/fbx_info.txt : firmware freebox >=1.5.18 requis, pensez à mettre à jour votre Freebox.
L’état de la Freebox est accessible via un dictionnaire Python.
Exemple d’usage
import freebox_v5_status.freeboxstatus import pprint fbx = freebox_v5_status.freeboxstatus.FreeboxStatus() pprint.pprint(fbx.status)
Exemple de résultat
{'adsl': {'CRC': {'down': 4, 'up': 0}, 'FEC': {'down': 6583, 'up': 82}, 'HEC': {'down': 1, 'up': 108}, 'attenuation': {'down': 17.0, 'up': 8.9}, 'history': {}, 'protocol': u'ADSL2+', 'ready': True, 'synchro_mode': u'Interleaved', 'synchro_speed': {'down': 18941, 'up': 1025}}, 'general': {'connection_mode': u'D\xe9group\xe9', 'fbx_model': u'Freebox ADSL', 'fw_version': [1, 5, 20], 'uptime': datetime.timedelta(7, 79260)}, 'network': {'dhcp': {}, 'interfaces': {'USB': {'down': None, 'status': u'Non connect\xe9', 'up': None}, 'WAN': {'down': 2, 'status': u'Ok', 'up': 107}, 'ethernet': {'down': 0, 'status': u'100baseTX-FD', 'up': 0}, 'switch': {'down': 108, 'status': u'100baseTX-FD', 'up': 4}}, 'port_forwarding': {}, 'port_range_forwarding': {}}, 'telephone': {'configured': True, 'online': False, 'ringing': False}, 'wifi': {'DMZ_ip': u'192.168.0.0', 'channel': 11, 'dynamic_ip_range': (u'192.168.0.10', u'192.168.0.50'), 'freeplayer_ip': u'192.168.0.104', 'hasDHCPServer': True, 'hasIPv6': True, 'hasWakeOnLanProxy': False, 'isActive': True, 'isRespondingToPing': True, 'key_algorithm': u'WPA (TKIP+AES)', 'model': u'Ralink RT2880', 'private_ip': u'192.168.0.254', 'public_ip': u'127.0.0.1', 'routerMode': True, 'ssid': u'MySSID', 'state': u'Ok'}}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for freebox_v5_status-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a16a3f94eae4f67464d0effb3f291157ecbe917608b94543fddbf047e8b33a |
|
MD5 | 86930052ec426fb958d84f72e941854f |
|
BLAKE2b-256 | 944550b3510cc9a52ac9f74012287a9ab5fba13da1424880d2cf7772d9916328 |