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 for G1100 devices: 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 | Unknown | Unknown |
| Firmware Version: | 02.02.00.13 | 3.1.0.12 | 3.1.1.17 |
| Model Name: | FiOS-G1100 | FiOS-G3100 | FiOS-G3100 |
| Hardware Version: | 1.03 | 1104 | 1104 |
Please open a Github issue or reply to the Home Assistant forum post if you encounter any problems. Thanks!
Metadata
Release files for quantum-gateway 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quantum_gateway-0.0.8.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quantum_gateway-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / quantum_gateway-0.0.8.tar.gz
| Download URL | quantum_gateway-0.0.8.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53267ee91b362970fb05e1cb87eaf3c26afe0727cdef11e35c4ca141686fe0b9
|
|
BLAKE2b-256 checksum How to use checksums |
53a7f6fff2fb7bb7f831ead9e8b2a25130f7b98de9b0ffb1b8c5291d0acb4638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / quantum_gateway-0.0.8-py3-none-any.whl
| Download URL | quantum_gateway-0.0.8-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0366201dfca582326584d07a5d48473f0399afe4f962708db9751f8765ad274e
|
|
BLAKE2b-256 checksum How to use checksums |
259326b385f605709640a7d3f76a11cc4da7273bca4bf1721f13318f44cb4575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|