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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page