Unofficial Rust & Python API Client Libraries
Unofficial Rust & Python API Client Libraries
[Updated at 2023-10-01]
I've built a Rust API Client Library that works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L530, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P115), hubs (H100), switches (S200B) and sensors (T100, T110, T310, T315).
The Python version only supports the plugs (P100, P105, P110, P115) currently, but I plan to extend it in the near future to on at feature parity with the Rust version.
You can find both libraries at https://github.com/mihai-dinculescu/tapo. Feedback will be much appreciated!
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi - does this give me access to data from a humidity/temp sensor, that is connected to h100?
- Copy Link
- Report Inappropriate Content
Yes, the Rust library supports retrieving temperature and humidity data from the T310 and T315 sensors. However, the Python wrapper currently does not have this capability. It is planned to be added in the future.
- Copy Link
- Report Inappropriate Content
Version 0.2.0 of the Python library brings support for the L530, L630, and L900 color light bulbs.
https://github.com/mihai-dinculescu/tapo
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@GreenCloud There is a project that wraps this library in a REST API.
https://github.com/ClementNerma/tapo-rest
- Copy Link
- Report Inappropriate Content
Information
Helpful: 4
Views: 5521
Replies: 17