python module to send instructions to Virgin Media Hub 3.0 / Compal routers
Project description
vmhub3
Simple python module to send instructions to Virgin Media Hub 3.0 / Compal router.
Example - Reading configs and attributes:
import logging
from vmhub3 import VMHub3
logging.basicConfig(level=logging.DEBUG)
router = VMHub3(ip='your-router-ip', password='your-router-pwd')
router.connect()
router.get_global_config()
router.get_language_config()
router.get_languages()
router.get_wifi_state()
router.get_wifi_config()
router.get_wifi_basic_config()
router.get_wifi_advanced_config()
router.get_status()
router.get_wps()
router.get_lan()
Example - Rebooting router:
from vmhub3 import VMHub3
router = VMHub3(ip='your-router-ip', password='your-router-pwd')
router.connect()
router.reboot()
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
vmhub3-1.0.2.tar.gz
(16.0 kB
view details)
Built Distribution
vmhub3-1.0.2-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file vmhub3-1.0.2.tar.gz
.
File metadata
- Download URL: vmhub3-1.0.2.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9097e239c24d67510409951d643195989d28b13673358db243f0be3691cc6686 |
|
MD5 | d1ff2a25574ec64731504c9f47c16de9 |
|
BLAKE2b-256 | dcaf18258101bca647d27b9728311c233746d41f2ca7e457c640bc9dcb93fc38 |
File details
Details for the file vmhub3-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: vmhub3-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf274ee21855e4cb655a524a392d6cc06176cb2f4d16a865a20926b11e005ad7 |
|
MD5 | 46789ae56768de02d8f8e6768b10c11c |
|
BLAKE2b-256 | e40b7d149234cdf1e3483bdfc34b916c20649c4235a4ceb300cb16da3548b9d1 |