Python wrapper for TP-Link Omada SDN Controller API (OC200/OC300/Software Controller)
Project description
What's this?
A basic Python client for calling the TP-Link Omada controller API.
Installation
pip install tplink-omada-client
Supported features
Only a subset of the controller's features are supported:
- Automatic Login/Re-login
- Basic controller information
- List sites
- Within site:
- List Devices (APs, Gateways and Switches)
- Basic device information
- Get firmware information and initiating automatic updates
- Port status and configuraton for Switches
- Lan port configuration for Access Points
Tested with OC200 on Omada Controller Version 5.5.7 - 5.7.6. Other versions may not be fully compatible.
Future
The available API surface is quite large. More of this could be exposed in the future. There is an undocumented Websocket API which could potentially be used to get a stream of updates. However, I'm not sure how fully featured this subscription channel is on the controller. It seems to be rarely used, so probably doesn't include client connect/disconnect notifications.
Contributing
There is a VS Code development container, which sets up all of the requirements for running the package.
License
MIT Open Source license.
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
Hashes for tplink_omada_client-1.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a78ac2f9225d293d202f0c41bf47611f332612dfb145262908c901a5c4d1d0c4 |
|
MD5 | 852f744a1d9c16f7cbf9b05c7ca0a9ba |
|
BLAKE2b-256 | 414758cff606a8d435fae82b0e1512b2ca374965a43e2d428880e7dc06c1e2af |
Hashes for tplink_omada_client-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f3d8af4e99c6e58be1e0364bce3a13b2e18e4b68914db045d3102b4273aa04f |
|
MD5 | fbd20f44886169923e12246777e9d9b2 |
|
BLAKE2b-256 | 47fec88003aeb0cb0f8566c6259f10d32254a6f787f22d3b31c89c0b85161bff |