Tuya api url. You can export your own business data at your convenience. If anyone got the Tuya cloud REST API working on a no-name (generic) Tuya device, please let me know. If you are about to start a new journey in IoT development and do not know where to start, do not worry then, we are on the same page! In this IoT series, we are going to learn about IoT development using Tuya API. I did not find sufficient documentation to see if Tuya compatible devices can be accessed via API or local intranet. Dec 5, 2025 · Learn how the Tuya Cloud API works, how to get your Access ID, Access Secret, and endpoint URL, request tokens, control devices, and integrate Tuya into real IoT systems. With diversified devices and industries, Cloud Development Platform provides API products of basic IoT capabilities like device management, AI scenarios, and data analytics services, as well as industry capabilities, helping you create IoT solutions. All Home Assistant platforms are supported by the Tuya integration, except the lock and remote platform. For more information about Tuya’s open APIs, see Cloud Services API Reference. API listR Which categories does the Tuya integration for Home Assistant support? The following table displays the categories that the Tuya integration for Home Assistant supports. This app boasts features of being free, ready-to-use, easy control, diversified scenarios, useful functions, and world readiness. spring. Jan 13, 2026 · This chapter describes Tuya’s open APIs that you can integrate into your control panel development. I think HTTP Request can send/post (?) a command to Tuya API to turn my light bulb on/off. 0/token interface to exchange token in the server. boot Opt for this solution from Tuya's smart app development portfolio and enable communication between your SDK-based app and the cloud. Based on the public cloud deployed across the world, the Tuya Developer Platform processes more than 100 million device requests and interactions on a daily basis and interconnects smart Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API). It divides into several function groups to give developers a clear insight into the implementation for different features, includes the user registration process, home management for different users The application can be an OEM app created on the Tuya Developer Platform or self-developed based on Tuya’s client SDK. Dive deeper with a full set of services and capabilities, for example, Custom Domain Name, SSL/TLS Certificate, Smart Life App SDK, Extension SDK, and UI BizBundle. There are 63 other projects in the npm registry using tuyapi. This topic describes the reference documents for the OpenAPIs currently available on the Tuya Developer Platform. This is done using Tuya's web API, meaning that for this module to work you will need a cloud developer account on Tuya's website. 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. Note: Exercise caution when debugging APIs, because the platform uses the authorization key (access ID and access secret) of the current project to get a temporary token and make an API call to online resources. Security Data security User device security Tuya provides an end-to-end five-layer security mechanism Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team. This topic describes the related APIs of authorization management. 7. Based on the public cloud deployed across the world, the Tuya Developer Platform processes more than 100 million device requests and interactions on a daily basis and interconnects smart Tuya Inc. Tuya Cloud Access You can poll and manage Tuya devices using the Cloud class and functions. I have been struggling with connecting to Tuya cloud API. Cloud API Setup The Tuya integration integrates all Powered by Tuya devices you have added to the Tuya Smart and Tuya Smart Life apps. Contribute to make-all/tuya-local development by creating an account on GitHub. The device buyer binds the application with the devices, and thus gets the device data. tuya. Tuya Inc. If you have already signed up for the developer account at iot. Panel SDK provides methods for App SDK-based capabilities, such as device control, timing tasks, and event monitoring, and methods for jumping to SmartLife app modules, such as a scenario module, a network configuration module, and a user center. Debugging APIs: Tuya Developer Platform provides API Explorer to assist your business development and debugging. GitHub is where people build software. Is this page helpful? Feedback Prev Doc Production Test SDK Reference I got it working with Tuya API. Latest version: 7. The caller uses the client_id, secret signature provided by Tuya to call the /v1. The Tuya integration integrates all Powered by Tuya devices you have added to the Tuya Smart and Tuya Smart Life apps. Be aware of the restrictions before enabling any automation that makes frequent calls. Jun 21, 2024 · Subscribe to API services: Make sure that you have subscribed to the required API services before you make API requests. Tuya Open Platform—API Reference Tuya provides a set of HTTP APIs and signature verification logic. My first plan was to somehow execute this phyton script on the cloud but I don't know how and I thought it would be a dumb solution because I think we can directly control the device via Tuya that is on the cloud already. Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team. You can make API requests and use programming languages like JavaScript to implement customized development. Can i access a Tuya platform device without Tuya App and directly via SDKs or APIs Alternatively, can i connect a Tuya device to ewelink app. You must set the values of the required parameters in the request headers. - jasonacox/tinytuya An easy-to-use API for devices that use Tuya's cloud services. However, devices available in my country are mostly Tuya platform compatible. service; 2 import com. Not in any way affiliated with Tuya Inc. 🌨 🎁 A NodeJS wrapper for Tuya’s cloud API. boot. Documentation: https://tuyaapi. Application scenario such as: factory calls cloud api over the cloud to obtain device, user data, etc. EasyTuya is a package containing nearly all needed functionality for interacting with your Tuya powered IOT devices through Python. With the Homebridge plugin of Tuya, you can easily control smart devices connected to Tuya Developer Platform using HomeKit. I configured my develo Tuya Developer Platform is committed to building interconnection standards to facilitate smart development for all walks of brand owners, OEM manufacturers, developers, retailers, and other IoT participants. A practical guide for developers and product teams. - tuya/tuya-home-assistant local handling for Tuya devices. General Services: Tuya provides common general basic services for IoT SaaS scenarios. For the region parameter, choose the two-letter country code from us, eu, and cn that is geographically closest to you. This topic describes how to use Postman to make API requests and control de {"success":false,"errorCode":"MOVED_PERMANENTLY","errorMsg":"MOVED_PERMANENTLY"} On the command line, run tuya-cli link --api-key <your api key> --api-secret <your api secret> --schema <your schema/Channel ID> --ssid <your WiFi name> --password <your WiFi password> --region us. With diversified devices and industries, Tuya IoT Development Platform opens basic IoT capabilities like device management, AI TuyAPI A collection of projects related to reverse-enginnering Tuya devices. Full instructions for this and general setup can be found below. Working with Tuya Cloud API. A guide to Cloud automation for beginners, get started with REST! You can check API calls and troubleshoot issues with API Explorer. For example, Postman can be used to get device information or control devices. Testing in postman gives me this result: The things I have done: I connected the device to Tuya developer account. {"success":false,"errorCode":"MOVED_PERMANENTLY","errorMsg":"MOVED_PERMANENTLY"} The following table lists the common request header parameters used in the API requests to cloud development. For example, SMS, email, weather forecast, and many other services allow you to get the desired capabilities with ease. 1 package com. Contribute to rospogrigio/localtuya development by creating an account on GitHub. With Tuya Cloud Development Platform, you can get access to calling OpenAPI of Tuya IoT Platform. Version history Starting from June 2023, cloud service APIs have been upgraded and integrated, helping deliver an optimized experience Cloud Service API Build your IoT solution with productive developer tools and open cloud APIs for IoT basics and industry services, including device management, smart scene, and data analytics. js. Start using tuyapi in your project by running `npm i tuyapi`. api. {"success":false,"errorCode":"MOVED_PERMANENTLY","errorMsg":"MOVED_PERMANENTLY"} Tuya-Community / tuya-os-api-examples Public Notifications You must be signed in to change notification settings Fork 4 Star 6 During project development, if you need to request server-side APIs for dat Panel SDK provides quick and complete solutions to connect Tuya products. github. Tuya Developer Platform is committed to building interconnection standards to facilitate smart development for all walks of brand owners, OEM manufacturers, developers, retailers, and other IoT participants. tuya-connector provides capabilities to sign a request, refresh, store, and renew a token, and encapsulate common APIs, helping you quickly connect to Tuya's open platform. CAUTION: The free Tuya IoT Developer (Trial) account allows a very limited number of Cloud API calls. You can put all the focus on business logic without taking care of This sample demonstrates the use of Tuya Android Smart Life App SDK to build an IoT App from scratch. In todays video we are looking at how to setup a Tuya Cloud Project. It works fine on the Tuya App, but it doesn’t work with the official Home Assistant integration, showns as “unsupported”: Despite that, when I check the device logs on Tuya Cloud platform, it have all the data that I need: So, I just need a way to get this data from Tuya’s API. And the posts in this series are de Local support for Tuya devices in Home Assistant. Also, you can use Postman to make API requests. Making request For more information, see API Request. 1, last published: 6 months ago. This tutorial demonstrates how to install the official Homebridge plugin of Tuya and how to control smart devices using HomeKit. open. sample. We will be running through all steps required including creating a developer account, se Tuya Smart provides general basic capabilities required for the development of IoT applications, allowing developers to enjoy one-stop subscriptions and use of cloud products, reducing access thresholds. This topic describes the cloud service APIs that apply to the custom development of industry scenes. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects. This topic describes how to set the Postman environment variables that are used in the API operations of the Developer Platform. ability. Create a cloud project and grant it access to specific cloud services Create a cloud project. Let’s go! Tuya Cloud setup The SmartLife app and Tuya app provided by Tuya are known as the all-in-one app and are available to users from all walks of life. io/cloud/. Partners Tuya allows you to integrate with multiple platforms such as Amazon Alexa, Google Assistant, and Tencent’s WeChat. (NYSE: TUYA; HKEX: 2391) is a global leading AI cloud platform service provider with a mission to build an AIoT developer ecosystem enable everything to be smart. You need to implement the logic when you make the API requests. Tuya Cloud API SDK for node. Advantages Control smart devices across brands and categories. com and have registered your Tuya device (s) with that account you will have an “API key” and “API secret” from tuya. Tuya Developer Platform is a global platform that builds IoT development and interconnectivity standards to bridge the needs of brand owners, OEMs, retail chains, and more partners on the journey of smart development. Looking to control your Tuya devices using HTTP requests? Learn about using the Tuya Cloud API and explore local control options for seamless device management. Then, writing just a few lines of code will allow you to control smart devices Powered by Tuya Openness OpenAPI Tuya supports API requests over multiple protocols such as HTTP/HTTPS, MQTT, and WebSocket. Product dimension A device manufacturer can get a list of devices associated with a product. The Tuya Developer Platform provides API Explorer for you to debug the APIs quickly. - tuya/tuya-home-assistant tuya-connector helps you efficiently create cloud development projects regarding the OpenAPI or message subscription capabilities. Contribute to tuya/tuya-cloud-sdk-nodejs development by creating an account on GitHub. Perhaps Tuya is limiting the cloud API access to the respective companies who ordered custom devices. com. DeviceConnector ; 3 import com. (NYSE: TUYA; HKEX: 2391) is a global leading cloud platform service provider with a mission to build a smart solutions developer ecosystem and enable everything to be smart. ndzmg, smi9, egpzlb, xsrsd, iwoap, 8obl, ruun, 2sdbr, lg0lcf, 4xem,