All Projects → tuya → tuya-iot-python-sdk

tuya / tuya-iot-python-sdk

Licence: MIT license
Tuya IoT Python SDK for Tuya Open API.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tuya-iot-python-sdk

tuya-panel-demo
Tuya IoT Panel demo provides a series of common template codes.
Stars: ✭ 37 (-33.93%)
Mutual labels:  tuya
tuyapower
Python module to read status and energy monitoring data from Tuya based WiFi smart devices. This includes state (on/off), current (mA), voltage (V), and power (wattage).
Stars: ✭ 101 (+80.36%)
Mutual labels:  tuya
tuya-iotos-embeded-sdk-wifi-ble-bk7231t
TuyaOS Embedded SDK is designed to promote the development of smart products with BK7231T that enables communication over Wi-Fi and Bluetooth Low Energy (LE).
Stars: ✭ 32 (-42.86%)
Mutual labels:  tuya
ty iot wf bt sdk bk7231t
Tuya IoT OS WiFi & ble SDK for bk7231t
Stars: ✭ 22 (-60.71%)
Mutual labels:  tuya
tuyagateway
Local Python Gateway for Tuya devices
Stars: ✭ 102 (+82.14%)
Mutual labels:  tuya
tuyasmart home ios sdk
Tuya Smart iOS Home SDK
Stars: ✭ 48 (-14.29%)
Mutual labels:  tuya
tuyasmart ios sdk
No description or website provided.
Stars: ✭ 22 (-60.71%)
Mutual labels:  tuya
tuya-home-ios-sdk
Tuya Smart Life App SDK is designed to promote the development of apps with multiple smart device features, such as device pairing, device control, firmware updates, scheduled tasks, and smart scenes.
Stars: ✭ 17 (-69.64%)
Mutual labels:  tuya
tuyasmart android sdk
No description or website provided.
Stars: ✭ 34 (-39.29%)
Mutual labels:  tuya
TUYA IPC SDK
No description or website provided.
Stars: ✭ 72 (+28.57%)
Mutual labels:  tuya
Tasmota
Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Stars: ✭ 16,624 (+29585.71%)
Mutual labels:  tuya
ESPHome-Devices
A collection of ESPHome custom components, configuration files, and custom code for my various ESP8266/ESP32 devices that integrate with Home Assistant.
Stars: ✭ 83 (+48.21%)
Mutual labels:  tuya
tuya-home-assistant
Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
Stars: ✭ 684 (+1121.43%)
Mutual labels:  tuya
tuya-iot-link-sdk-embedded-c
Provide core capabilities like device connection, uplink and downlink communication and OTA across platforms and operating systems.
Stars: ✭ 38 (-32.14%)
Mutual labels:  tuya
tinytuya
Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
Stars: ✭ 236 (+321.43%)
Mutual labels:  tuya
tuya-connector
tuya-connector helps you efficiently create cloud development projects regarding the OpenAPI or message subscription capabilities. You can put all the focus on business logic without taking care of server-side programming nor relational databases.
Stars: ✭ 28 (-50%)
Mutual labels:  tuya
tuya-panel-kit
高效、统一、可视化
Stars: ✭ 16 (-71.43%)
Mutual labels:  tuya
tysdk for esp8266
No description or website provided.
Stars: ✭ 36 (-35.71%)
Mutual labels:  tuya
tuya-iotos-embeded-sdk-wifi-ble-bk7231n
Tuya IoTOS Embeded SDK WiFi & BLE for BK7231N
Stars: ✭ 21 (-62.5%)
Mutual labels:  tuya
tuya-local
Local support for Tuya devices in Home Assistant
Stars: ✭ 150 (+167.86%)
Mutual labels:  tuya

Tuya IoT Python SDK

PyPI

PyPI - Downloads

PyPI - Python Version

A Python sdk for Tuya Open API, which provides basic IoT capabilities like device management, asset management and industry 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

Base APIs

  • TuyaOpenAPI

    • connect
    • is_connect
    • get
    • post
    • put
    • delete
  • TuyaOpenMQ

    • start
    • stop
    • add_message_listener
    • remove_message_listener

APIs

  • TuyaDeviceListener
    • update_device
    • add_device
    • remove_device

Device control

  • TuyaDeviceManager
    • update_device_list_in_smart_home
    • update_device_caches
    • update_device_function_cache
    • add_device_listener
    • remove_device_listener
    • get_device_info
    • get_device_list_info
    • remove_device
    • remove_device_list
    • get_factory_info
    • factory_reset
    • get_device_status
    • get_device_list_status
    • get_device_functions
    • get_category_functions
    • get_device_specification
    • send_commands

Home

  • TuyaHomeManager
    • update_device_cache
    • query_scenes
    • trigger_scene
    • query_infrared_devices
    • trigger_infrared_commands

Assets

  • TuyaAssetManager
    • get_device_list
    • get_asset_info
    • get_asset_list

Possible scenarios

Prerequisite

Registration

Please check Tuya IoT Platform Configuration Guide to register an account on the Tuya IoT Platform, and get the required information. You need to create a Cloud project and complete the configuration of asset, user, and application. Then, you will get the username, password, Access ID, and Access Secret.

Usage

Installation

pip3 install tuya-iot-py-sdk

Sample code

OpenAPI Sample

Open IoT Hub Sample

Tuya Open API reference

Tuya opens up a variety of APIs covering business scenarios such as device pairing, smart home management, device control, and scene automation. You can call APIs according to API integration documents to implement applications.

For more information, see the documentation.

Issue feedback

You can provide feedback on your issue via Github Issue or Technical Ticket.

License

tuya-iot-py-sdk is available under the MIT license. Please see the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].