Skip to main content

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


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 hashes)

Uploaded source

Built Distribution

vmhub3-1.0.2-py3-none-any.whl (15.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page