Interact with a Compal CH7465LG cable modem/router

  • Users starred: 20
  • Users forked: 11
  • Users watching: 3
  • Updated at: 2020-06-12 16:39:33


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 (CH)
  • Irish Virgin Media Super Hub 3.0 (IE)
  • 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"?>
         <interface>Ethernet 2</interface>

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.


The module is available from the Python Package Index.

$ pip3 install connect_box


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


For development is recommended to use a venv.

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


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