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 the Ziggo Connectbox.
The current functionality is limited to retrieving a list of devices that are connected to the router.
WARNING: The router prevents the admin user from logging in twice. This can cause problems with accessing the router's configuration pages while using this library.
Usage
List all connected devices:
from arris_tg2492lg import ConnectBox
connect_box = ConnectBox("http://192.168.178.1", "password")
devices = connect_box.get_connected_devices()
print(devices)
connext_box.logout()
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
Release history Release notifications | RSS feed
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 arris_tg2492lg-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2add361412a353e0c659861802d78627b2f02d68be04afd02754d45ef349a8ee |
|
MD5 | 42559f798a5fb2bb424a0a98f202a964 |
|
BLAKE2b-256 | da7c18edeb079b8e5b13762eec8e8cff4df481e9964170a1a647b9d04b60494e |