This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Parse Freebox V5 status page

Project Description

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'}}
Release History

Release History

This version
History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
freebox_v5_status-1.0.3.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Nov 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting