TopgreenerApi
Control Topgreener devices from the cloud
TopgreenerApi allows control of devices added to the Topgreener mobile app from Python. The library implements the "new" Tuya cloud mobile API. Currently, support is limited to dimmer switches, though other devices can be added relatively easily by adding new service calls to the "Device" module.
Features
- Login to Tuya's cloud API using Topgreener's account
- Get all configured locations
- Get all configured devices
- Set device power state
- Set device brightness level
Installation
TopgreenerApi can be installed using pip as follows:
pip install topgreenerapi
Once installed, you can create a new instance of TopgreenerCloud as follows:
api = TopgreenerCloud(client_id, app_secret, super_secret, app_certhash)
To find the correct values for these secret keys, take a look at this repository:
[https://github.com/nalajcie/tuya-sign-hacking][PlDb]
License
MIT
Metadata
Release files for TopgreenerApi 0.8.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| TopgreenerApi-0.8.7.tar.gz | 13.4 kB | Without provenance | Details for TopgreenerApi-0.8.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| TopgreenerApi-0.8.7-py3-none-any.whl | Python 3 | none | any | Details for TopgreenerApi-0.8.7-py3-none-any.whl |
Total release size: 30.5 kB
Release files / TopgreenerApi-0.8.7.tar.gz
| Download URL | TopgreenerApi-0.8.7.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce22e7ad6656c7522430d0f7d95b05fc35c6c7ed00c57c77c588906373e5c55
|
|
BLAKE2b-256 checksum How to use checksums |
36596a65eea8efd5486d7f1595b2f09c9a2cda90b74582e3f66227294ce6d506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.6
|
Release files / TopgreenerApi-0.8.7-py3-none-any.whl
| Download URL | TopgreenerApi-0.8.7-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1b0fdff93b54751908351cbf8ce52c68f4c4c368957024a188e540dbf066f7b
|
|
BLAKE2b-256 checksum How to use checksums |
6986b0834404b5963d29f3625e7abd8098d277219fe4b0fd110a26227fee39fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.6
|
Security for TopgreenerApi 0.8.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.