Skip to main content

Python client for interacting with Compal CH7465LG devices.

Project description

Python Client for interacting with the cable modem/router Compal CH7465LG which is provided under different names by various ISP in Europe.

  • UPC Connect Box

  • Irish Virgin Media Super Hub 3.0

  • Ziggo Connectbox NL

  • Unitymedia Connect Box (DE)).

This module is not official, developed, supported or endorsed by UPC, Unitymedia or Compal.

There is an interface with is providing details about various states like the DHCP lease table for Ethernet and Wifi.

<?xml version="1.0" encoding="UTF-8"?>
<LanUserTable>
   <Ethernet>
      <clientinfo>
         <interface>Ethernet 2</interface>
         <IPv4Addr>192.168.0.160/24</IPv4Addr>
         <index>0</index>
         <interfaceid>2</interfaceid>
         <hostname>GW-B072BF27A983</hostname>
         <MACAddr>B0:72:BF:27:A9:83</MACAddr>
         <method>1</method>
         <leaseTime>00:00:34:53</leaseTime>
...

connect_box is handling the retrieval of the data and the parsing. The primary use case is the Home Assistant upc_connect device tracker but one could use it in other projects as well.

Installation

The module is available from the Python Package Index.

$ pip3 install connect_box

Usage

The file example.py contains an example about how to use this module.

Development

For development is recommended to use a venv.

$ python3.6 -m venv .
$ source bin/activate
$ python3 setup.py develop

License

connect_box is licensed under MIT, for more details check LICENSE.

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

connect_box-0.2.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

connect_box-0.2.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file connect_box-0.2.3.tar.gz.

File metadata

  • Download URL: connect_box-0.2.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for connect_box-0.2.3.tar.gz
Algorithm Hash digest
SHA256 fe33ea63ca53faf005b34a314d98c3d6ff802ba5365afe2feb6913e76959e997
MD5 8b3d14cccacfb02fbe7ade490805e027
BLAKE2b-256 1269fc93a5bf0307dfa996278adc9e6d5903885d5e8dac0bf88befe0b38c1aae

See more details on using hashes here.

File details

Details for the file connect_box-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: connect_box-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for connect_box-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0e0c7ae4880151d4767fef44bd41acf08ddb680bd0c4ce6b382f32f8d87b1acf
MD5 103557158c6f163025a7c2d8806e420e
BLAKE2b-256 638a5f77db03a47df8047a53993667337ca4d93280ae2acfa615e95fdeff993e

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