Internet of Things
Tuya by Maxmel Tech
17 min
tuya is a global ai and iot cloud platform enabling smart device development, connectivity, and management integrating tuya with make com allows users to automate and orchestrate smart device workflows, enhancing iot automation and data driven solutions for businesses and developers 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 an active tuya developer account, create your account on tuya app installation to install this app, you need admin, owner, or app developer permissions organizations go to the make integration page click the install button 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 oauth 2 0,api key (client id and client secret) oauth 2 0 instructions you need to generate your token login to your platform using your credentials navigate to the project details section to locate your credentials create or select a cloud project as needed ensure the project is configured for oauth 2 0 authorization and has the necessary api permissions locate and note the client id and secret for your project initiate the oauth 2 0 authorization process to obtain the user authorization code use the client id, secret, and user authorization code to retrieve the access token api key (client id and client secret) instructions you need to retrieve your client id and client secret for api authentication login to your platform using your credentials navigate to the developer platform access your cloud project details locate the client id and client secret associated with your cloud project 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 page 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 set up a rule that connects or links data between two sources based on specified conditions this module allows you to define how records from one dataset should be matched and associated with records from another, helping to keep your information organized and synchronized delete scene linkage rules remove several linkage rules at once from a chosen space enable / disable automation turn a specific automation rule on or off, allowing you to easily control whether that rule is active or inactive get device details fetch comprehensive details about a particular device, including its specific attributes and current status get device operation log retrieve detailed event logs for a specific device, filtered by the types of events you choose this helps you track and review particular activities or incidents related to that device get device state retrieve detailed information about the current status of a specific device by using its device id get device status retrieve the latest status information for a specific device, giving you up to date details about its current condition or activity get device status reporting log retrieves the logs that detail the status updates reported by the 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 set up for that space make an api call allows you to make a custom api request to the service, using your authorized connection this lets you access specific features or data that may not be available in the standard modules modify scene linkage rule update the selected linkage rule to change how records are matched or connected according to your preferences this module lets you customize the criteria used to link data, helping you fine tune how information is related within your workflow send commands to device send control commands this module allows you to remotely operate and manage your device by sending specific control commands use it to trigger actions, adjust settings, or control features on your connected device directly from your scenario trigger a scene run a specific scene that you’ve set up in advance, allowing you to automate a series of actions or tasks with just one click 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