Skip to main content

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
  • List Devices (APs, Gateways and Switches)
  • Basic device information
  • Port status and PoE configuraton for Switches (<-- What I actually needed)

Tested with OC200 firmware version 5.5.7. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tplink_omada_client-1.0.2.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

tplink_omada_client-1.0.2-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page