Library for Sky Q hub
Project description
pyskyqhub
Python module for accessing Sky Q hub and retrieving connected devices
Introduction
This library enables access to SkyQ hub to pull back a list of devices connected to the hub, and their names/
Installing
To install:
pip install pyskyqhub
Usage
Base
from pyskyqremote import SkyQhub
hub = SkyQHub('192.168.1.254')
await hub.async_connect()
hub.success_init will indicate for connection was succesful or not
Get connected devices
devices = await skyhub.async_get_skyhub_data()
Will return an object such as below:
[
{'mac': '68:xx:7b:cc:xx:5c', 'name': 'UNKNOWN', 'connection': 'Wireless'},
{'mac': '70:xx:57:a3:xx:f0', 'name': 'UNKNOWN', 'connection': 'Cabled'},
{'mac': 'e4:xx:6e:44:xx:7d', 'name': 'Laptop', 'connection': 'Wireless'},
{'mac': '20:xx:ed:c5:xx:72', 'name': 'SKY+HD', 'connection': 'UnKnown'},
{'mac': '18:xx:30:bf:xx:e6', 'name': '09AA0xxxxxx02WV', 'connection': 'Wireless'},
...
]
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
pyskyqhub-0.1.8.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for pyskyqhub-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5430cc9b7e6fc73e20ab28feef20c1c8d1d4f2cb0644911c17fe01b43162d7d9 |
|
MD5 | da127635c39f6ff4b8d56ee779eb54cf |
|
BLAKE2b-256 | 3843c99441ae2bba9366dd9decfdc01e3f8ee4b42500129175d0d12915b739b4 |