Smart Home APIs

Last Updated on : 2022-09-16 07:33:02download

This topic describes the cloud service APIs that apply to smart home scenes. For more information about Tuya’s open APIs, see Cloud Services API Reference.

IoT Core

Provide Tuya’s core device connection and management capabilities, helping you manage numerous smart devices within Tuya’s ecosystem. You can control the devices based on the data reported by the devices and the instructions sent by the cloud. This way, you can quickly implement IoT applications. This service offers basic APIs such as device management, device control, asset management, and user management. For more information, see IoT Core.

Smart home cloud services

Service name Description
Smart Home Scene Linkage Provide scene automation capabilities on the smart home app, and enable multiple devices to simultaneously perform different actions when a preset trigger condition is activated. For example, this condition can be associated with any device, time, or environment.
Data Dashboard Service Provide an overview of device data under a smart home app.
Smart Home Data Profile Provide panoramic user profile information of your app. You can make API requests to get the user details of the segments you have created, and connect them to your own system or third-party marketing systems.
Smart Home Content Management Provide APIs related to content management of an OEM app, respecting banners categories, and multilingual management.
Customer Feedback View and process user feedback from apps developed with Tuya Smart Life App SDK, such as the Smart Life app and OEM apps.
App Push Notification Service App push lets you edit and send push notifications to all apps in the Tuya ecosystem and reach global users worldwide anytime.
Voice Message Service You can call APIs from the cloud, make a phone call from the carrier’s network to a specified number, and play the audio files converted from text. The alert and notification service is also provided.

Generic cloud services

Service name Description
Authorization Token Management Provide APIs related to the authorization token management of the Cloud Development Platform. You can use cloud application authorization keys, including Access ID/Client ID and Access Secret/Client Secret, to get tokens to access other business APIs.
Device Log Query Based on device IDs, query the device operation log, device status log, and details, and quickly check and trace device exceptions.
Device OTA Update Provide OpenAPI related to the remote over-the-air (OTA) update of device firmware.
Device Location Service Based on the geographic information system (GIS), provide capabilities such as device positioning, route playback, and geofencing. You can take advantage of Tuya’s device-to-cloud connectivity and build IoT-driven capabilities for outdoor applications.
Weather Service Query real-time weather and weather forecasts for the next seven days through latitude and longitude. This service is seamlessly integrated into a variety of industry applications.
Email Service This is a cost-effective, flexible, and extensible email service that allows emails from applications to global users.
Voice Message Service You can call APIs from the cloud, make a phone call from the carrier’s network to a specified number, and play the audio files converted from text. The alert and notification service is also provided.
Short Message Service This is a messaging service between applications and users. By virtue of Tuya IoT Development Platform, you can provide message services for global users.
Country and City Info Provide APIs to query multilingual information about countries and cities.
Device Cloud-to-Cloud Integration Service Provide APIs for device registration, activation, going online, and device-cloud data communication, facilitating the integration of third-party business systems into the platform.

Vertical resource capabilities

Service name Description
Smart Lock Open APIs Provide open capabilities of smart locks, allowing you to implement lock services on your on-premises servers.
IR Control Hub Open Service Enable you to connect universal IR remote controls to Tuya IoT Development Platform, and thus remotely control the smart devices across brands and categories, achieving diversified functions.
Robot Vacuum Open APIs Provide application developers with the APIs to get the map data, cleaning records, and other data of a robot vacuum.
Video Cloud Storage Provide access to the cloud storage and management capabilities of videos of IoT devices, and integrate video cloud storage into the applications.
IoT Video Live Stream Easily stream media contents gathered by IoT devices to the web or mobile applications through protocols like WebRTC, RTSP, or HLS, in order to quickly build media solutions.
Voice Control of Smart Devices Provide APIs to control smart devices by using smart speakers.
Text-to-Speech Service Synthesize short text into speech and push it to Tuya smart voice devices for audio broadcast. This API only applies to mainland China.