{"id":15286928,"url":"https://github.com/home-assistant-ecosystem/python-connect-box","last_synced_at":"2025-05-15T17:08:20.283Z","repository":{"id":38381155,"uuid":"161234987","full_name":"home-assistant-ecosystem/python-connect-box","owner":"home-assistant-ecosystem","description":"Interact with a Compal CH7465LG cable modem/router","archived":false,"fork":false,"pushed_at":"2025-01-17T23:37:06.000Z","size":98,"stargazers_count":54,"open_issues_count":6,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-10T17:41:58.305Z","etag":null,"topics":["cable-modem","ch7465lg","compal","connect-box","home-assistant","iot","router","smart-home","upc"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/home-assistant-ecosystem.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-10T20:52:57.000Z","updated_at":"2025-05-07T17:58:19.000Z","dependencies_parsed_at":"2024-03-19T11:53:50.938Z","dependency_job_id":null,"html_url":"https://github.com/home-assistant-ecosystem/python-connect-box","commit_stats":{"total_commits":77,"total_committers":11,"mean_commits":7.0,"dds":0.5194805194805194,"last_synced_commit":"3a073c935ec9676dce63a25038f2b88bd420e398"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-ecosystem%2Fpython-connect-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-ecosystem%2Fpython-connect-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-ecosystem%2Fpython-connect-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/home-assistant-ecosystem%2Fpython-connect-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/home-assistant-ecosystem","download_url":"https://codeload.github.com/home-assistant-ecosystem/python-connect-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254384988,"owners_count":22062422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cable-modem","ch7465lg","compal","connect-box","home-assistant","iot","router","smart-home","upc"],"created_at":"2024-09-30T15:19:08.377Z","updated_at":"2025-05-15T17:08:15.273Z","avatar_url":"https://github.com/home-assistant-ecosystem.png","language":"Python","readme":"python-connect-box\n==================\n\nPython Client for interacting with the cable modem/router Compal CH7465LG which\nis provided under different names by various ISP in Europe.\n\n- UPC Connect Box (CH)\n- Play Connect Box (PL)\n- Irish Virgin Media Super Hub 3.0 (IE)\n- Ziggo Connectbox (NL)\n- Unitymedia Connect Box (DE)\n\nThis module is not official, developed, supported or endorsed by UPC, \nUnitymedia or Compal.\n\nThere is an interface with is providing details about various states like the\nDHCP lease table for Ethernet and Wifi.\n\n.. code:: xml\n\n    \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n    \u003cLanUserTable\u003e\n       \u003cEthernet\u003e\n          \u003cclientinfo\u003e\n             \u003cinterface\u003eEthernet 2\u003c/interface\u003e\n             \u003cIPv4Addr\u003e192.168.0.160/24\u003c/IPv4Addr\u003e\n             \u003cindex\u003e0\u003c/index\u003e\n             \u003cinterfaceid\u003e2\u003c/interfaceid\u003e\n             \u003chostname\u003eGW-B072BF27A983\u003c/hostname\u003e\n             \u003cMACAddr\u003eB0:72:BF:27:A9:83\u003c/MACAddr\u003e\n             \u003cmethod\u003e1\u003c/method\u003e\n             \u003cleaseTime\u003e00:00:34:53\u003c/leaseTime\u003e\n    ...\n\n``connect_box`` is handling the retrieval of the data and the parsing. The \nprimary use case is the `Home Assistant \u003chttps://home-assistant.io\u003e`_\n``upc_connect`` device tracker but one could use it in other projects as well.\n\nInstallation\n------------\n\nThe module is available from the `Python Package Index \u003chttps://pypi.python.org/pypi\u003e`_.\n\n.. code:: bash\n\n    $ pip3 install connect_box\n\nOn a Fedora-based system or on a CentOS/RHEL 8 machine which has EPEL enabled.\n\n.. code:: bash\n\n    $ sudo dnf -y install python3-connect-box\n\nFor Nix or NixOS is `pre-packed module \u003chttps://search.nixos.org/packages?channel=unstable\u0026query=connect-box\u003e`_\navailable. The lastest release is usually present in the ``unstable`` channel.\n\n.. code:: bash\n\n    $ nix-env -iA nixos.python3Packages.connect-box\n\n\nUsage\n-----\n\nThe file ``example.py`` contains an example about how to use this module.\n\nDevelopment\n-----------\n\nFor development is recommended to use a ``venv``.\n\n.. code:: bash\n\n    $ python -m venv .\n    $ source bin/activate\n    $ python setup.py develop\n\nLicense\n-------\n\n``connect_box`` is licensed under MIT, for more details check LICENSE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhome-assistant-ecosystem%2Fpython-connect-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhome-assistant-ecosystem%2Fpython-connect-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhome-assistant-ecosystem%2Fpython-connect-box/lists"}