Skip to main content

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

freebox_v5_status-1.1.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freebox_v5_status-1.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file freebox_v5_status-1.1.1.tar.gz.

File metadata

  • Download URL: freebox_v5_status-1.1.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for freebox_v5_status-1.1.1.tar.gz
Algorithm Hash digest
SHA256 186199a0db3f4673039870f53eaa6f59a9b3ca1e881442d59eb60e7af441b1e9
MD5 4c30dc4156e0a2c768faebfd72ac194a
BLAKE2b-256 ff90114d429e97e5e997b2a27bb0e177e2180e2a6200cd0cffa07726eb4ea426

See more details on using hashes here.

File details

Details for the file freebox_v5_status-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: freebox_v5_status-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for freebox_v5_status-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87a16a3f94eae4f67464d0effb3f291157ecbe917608b94543fddbf047e8b33a
MD5 86930052ec426fb958d84f72e941854f
BLAKE2b-256 944550b3510cc9a52ac9f74012287a9ab5fba13da1424880d2cf7772d9916328

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page