Skip to main content

Python client for the Arris TG2492LG

Project description

Arris TG2492LG Python client

A unofficial Python client for retrieving information from the Arris TG2492LG router. The Arris TG2492LG is one of two routers that Ziggo, a cable operator in the Netherlands, provides to their customers as Ziggo Connectbox.

The current functionality is limited to retrieving a list of devices that are connected to the router.

Usage

List all connected devices:

from arris_tg2492lg import ConnectBox

connectBox = ConnectBox("http://192.168.178.1", "password")
devices = connectBox.get_connected_devices()

print(devices)

Please note that the list of connected devices include devices that are offline (e.g. just went out of range of the wifi). The Device class contains a property online that can be checked.

An example for retrieving a list of the MAC addresses of all online device is included in the examples folder:

python3 list_online_devices.py --host http://192.168.178.1 --password <password>

Project details


Download files

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

Files for arris-tg2492lg, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size arris_tg2492lg-1.1.0-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size arris-tg2492lg-1.1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page