Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
bthomehub5-devicelist
Advanced tools
A library that returns a list of devices currently connected to a BT Home Hub 5
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.
pip install bthomhub5-devicelist
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'}
MIT - Feel free to go crazy with the code
FAQs
A library that returns a list of devices currently connected to a BT Home Hub 5
We found that bthomehub5-devicelist demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.