Internet of Things
Tuya
16 min
 tuya is a global ai cloud platform that helps developers and businesses create, integrate, and manage smart iot products at scale integrating with make com enables streamlined automation and management of connected devices and data across diverse industries and use cases this is ai generated content based on official tuya documentation the content may still contain errors—please verify important information if you have questions, contact tuya support directly how to get support on tuya tuya is a community developed application and is subjected to the developer's terms and conditions, which may include applicable fees make does not maintain or support this integration for assistance, please https //f make com/r/reachout?app name=tuya\&app slug=tuya community\&app unique id=tuya of32vl requirements to use the tuya app in make, you must have a registered developer account and an authorized api access, create your account on tuya app installation to install this app, you need admin, owner, or app developer permissions organizations start by installing the app from the make integration page click the install button and follow the on screen instructions to complete the setup connect tuya and {{product name}} to get started, you must first create a connection between tuya and {{product name}} , allowing the two services to communicate you can connect using the following method oauth2 0 oauth2 0 instructions you need to generate your token login to your platform using your credentials navigate to the developer settings or api section create a new application configure the application, specifying the required scopes (permissions) for the data you wish to access note the generated client id and client secret initiate the oauth 2 0 flow, typically by redirecting the user to an authorization endpoint with your client id, requested scopes, and a redirect uri the user grants permission, and the platform redirects them back to your specified redirect uri with an authorization code some community developers require an additional specific api key retrieve the required api key from the community developer's dashboard, generally found under settings/api for more info, please https //f make com/r/reachout?app name=tuya\&app slug=tuya community\&app unique id=tuya of32vl create the connection in {{product name}} log in in your make account , add the tuya module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection optional in the connection name field, enter a name for the connection enter the authentication credentials you copied from your tuya or follow the on screen instructions to create the connection you must also enter any required third party api keys obtained earlier for detailed information on connecting an application, see connect an application tuya modules after connecting to the tuya app, you can choose from a list of available modules to build your {{scenario plural lowercase}} create scene linkage rules establish a linkage rule to define how different data entities are connected or related to each other this module helps you specify the conditions and logic for linking records across datasets, making it easier to manage and analyze related information delete scene linkage rules remove several linkage rules at once from the space you choose this module lets you quickly delete multiple linkage rules from a specific space in your account enable / disable automation turn a specific automation rule on or off, allowing you to control whether that rule is currently active or inactive in your system get device details get comprehensive details about a particular device, including its specifications and current status get device operation log retrieve detailed event logs for a specific device, filtered by the types of events you choose get device state retrieve detailed information about the current status of a specific device by using its device id get device status retrieve detailed, up to date information about the current status of a specific device get device status reporting log retrieves detailed logs that show the reported status updates from your device get scene linkage rules this module retrieves a complete list of scene linkage rules associated with a specific space id, allowing you to view all the rules that connect different scenes within that space make an api call allows you to make a custom, authorized api request to the service, giving you flexibility to access specific data or perform actions not covered by the standard modules modify scene linkage rule update the selected linkage rule to change how data is connected or matched according to your requirements this module lets you fine tune the way records are linked, helping you ensure your data relationships are accurate and up to date send commands to device send control commands this module allows you to send specific instructions or commands to your device or service, enabling you to remotely manage its actions or settings directly from your scenario trigger a scene run a specific scene that you’ve set up in advance, triggering all the actions and settings you’ve configured for it templates you can look for more templates in make's template gallery , where you'll find thousands of pre created {{scenario plural lowercase}} tuya resources you can have access to more resources related to this app on the following links tuya topics on make community tuya website tuya documentation tuya api documentation tuya page on make