Skip to main content

Query a Quantum Gateway

Project description

Query a Quantum Gateway

This library allows a Verizon FiOS Quantum Gateway to be queried. It uses the requests library to authenticate, log in, and query the web interface of the gateway.

Usage

Please note as of the Firmware version 02.02.00.13 and UI version v1.0.388 https is the only way to get to the admin console. This is using a self signed cert as well. The code now defaults to https and ignores the self signed cert warning.

# Import
from quantum_gateway import QuantumGatewayScanner

# Connect to gateway via HTTPS
gateway = QuantumGatewayScanner('192.168.1.1', 'your_password_here')

# Or, connect to gateway via HTTP
gateway = QuantumGatewayScanner('192.168.1.1', 'your_password_here', False)

# Property is set to True if we successfully logged in, otherwise False
gateway.success_init

# Get list of all connected devices' MAC addresses
gateway.scan_devices()

# Get specific device's name
gateway.get_device_name('mac address of device here')

Notes

Tested on Verizon FiOS-provided gateway:

UI Version: v1.0.388
Firmware Version: 02.02.00.13
Model Name: FiOS-G1100
Hardware Version: 1.03

Please open a Github issue or reply to the Home Assistant forum post if you encounter any problems. Thanks!

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

quantum_gateway-0.0.5.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

quantum_gateway-0.0.5-py3-none-any.whl (3.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