A Python sdk for Tuya Open API, which provides IoT capabilities, maintained by Tuya official
Project description
Tuya Device Sharing SDK
A Python sdk for Tuya Open API, which provides basic IoT capabilities like device management capabilities, helping you create IoT solutions. With diversified devices and industries, Tuya IoT Development Platform opens basic IoT capabilities like device management, AI scenarios, and data analytics services, as well as industry capabilities, helping you create IoT solutions.
Features
APIs
- Manager
- update_device_cache
- refresh_mq
- send_commands
- get_device_stream_allocate
- query_scenes
- trigger_scene
- add_device_listener
- remove_device_listener
- unload
- CustomerApi
- get
- post
- put
- delete
- SharingMQ
- start
- stop
- add_message_listener
- remove_message_listener
- DeviceRepository
- query_devices_by_home
- query_devices_by_ids
- send_commands
- HomeRepository
- query_homes
- SceneRepository
- query_scenes
- trigger_scene
Possible scenarios
Usage
Release Note
version | Description |
---|---|
0.1.8 | fix topic error |
0.1.9 | fix mq link id |
Installation
pip3 install tuya-device-sharing-sdk
Issue feedback
You can provide feedback on your issue via Github Issue.
License
tuya-device-sharing-sdk is available under the MIT license. Please see the LICENSE file for more info.
main
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 tuya-device-sharing-sdk-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 981291fadb41a34545df7a449987636f23386c68320e261ec4822c7fc997656e |
|
MD5 | 002dc1d405a36ed1aae3f8d03627edbe |
|
BLAKE2b-256 | 69292e2a70f871c0b999dc3f818dbe117060be504f34e3b70c0a0dae05ae5c10 |
Hashes for tuya_device_sharing_sdk-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84de5b2aae5f1c807f1899cc9c5e3e97bd86de0215df419008c450be799a32a6 |
|
MD5 | 0df664ec97dc5bbe7e4e485e01fd8253 |
|
BLAKE2b-256 | 2df39dff5b7917254540f6a8eb86d8eacc836c38da623afd433442ed70c771c9 |