A library that returns a list of devices currently connected to a BT Home Hub 5
Project description
bthomehub5-devicelist
This library will return a dictionary containing information about the devices currently connected to a BT Home Hub 5 with a user specified IP Address.
Installation
pip install bthomhub5-devicelist
How to use
Example Usage:
import bthomehub5_devicelist
from pprint import pprint
def main():
# If an IP Address is not specified, it will default as 192.169.1.254
devicelist = bthomehub5_devicelist.get_devicelist('192.168.1.254')
pprint(devicelist)
if __name__ == '__main__':
main()
The library will return a dictionary with connected devices MAC addresses as keys and device names as values
The console output from running the example code will look like this:
>>>
{'4f:c9:32:04:d3:ec': 'Example-PC',
'3f:6a:66:49:d4:16': 'Example-IPhone',
'01:5d:e8:fb:c8:a9': 'Example-Smartlight',
'65:10:5c:6d:d0:2b': 'Example-Android'}
License
MIT - Feel free to go crazy with the code
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bthomehub5-devicelist-0.1.0.tar.gz.
File metadata
- Download URL: bthomehub5-devicelist-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7741e11876c82f0e4b6d016cbcee7e6b2ee1621974324ad6036c3dd360fa583a
|
|
| MD5 |
272acc0981e13e802f500e498717a0c8
|
|
| BLAKE2b-256 |
a8e877a91f261fd80a1eb0219666cb072ec762e7e8609ae6ab1dcc3de860e915
|
File details
Details for the file bthomehub5_devicelist-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bthomehub5_devicelist-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50a51aee08f209ecfae94bf445de644f8f03d7d89426e4fae4fd822caa69ba2d
|
|
| MD5 |
f7443276bde5a0697a5f0bcbc1d8f458
|
|
| BLAKE2b-256 |
665b36df935fa1e7aa6871584f5e662d58725d70b256ca673f876d3b23909657
|