Solutions Introduction

img

After the device is connected to the Internet, third-party client (App) developers of the hardware manufacturer or device buyer can use the OpenAPI or SDK provided by the Tuya open platform for rapid native application (Android / iOS) and web application development (such as : Applets, SaaS backend, cloud platforms, etc.);

For all IoT devices connected to Tuya Cloud, the device control capability is authorized to call through the cloud API. Developers can implement the development of internal business logic by calling APIs. Device status monitoring is opened in the form of message queues to meet The three-party developers’ monitoring of the device status is used to achieve the linkage between different devices.

Tuya Smart Platform has realized the ability of cross-chip platform and cross-communication platform. Tuya Smart supports up to 7 mainstream communication protocols, including Wi-Fi, BLE, BLE mesh, Zigbee, NB-IoT, GPRS, and Sub-G. Wi-Fi supports 2.4G & 5G dual-frequency connection technology;

The Tuya open platform supports the opening of devices of different categories and different communication capabilities to support the application of makers and manufacturers in various home, business and urban scenarios.

The Tuya Open Platform provides various integrate modes based on Tuya’s mature IoT services, combining different docking scenarios:

Multi-dimensional data association methods:

Integration solutions

Solution 1: OEM App & Simple mode

Architecture
image-20190804155412279

Features:

Based on the Tuya OEM App, the Tuya cloud can be integrated on demand, and instructions can be sent to the device through partner Cloud to the Tuya cloud ;

Both the device and the App are connected to the Tuya cloud, and all requests for devices and Apps are sent to the Tuya cloud;

The generated user and device data are attributed to the partner. The customer can manage user data and device data based on the Tuya OpenAPI, execute timing, scene, and obtain analysis data,etc.

Tuya offers you

Public OEM App or App Custom Development Solution;

Provides a standard instruction set based on categories to control different types of equipment under the same category in the Tuya platform;

Provides standard OpenAPI management user & device data, provides message queue for partner to obtain real-time data of devices.

Advantages:

Low access cost and fast development time, can quickly support the access of multi-category devices under the Tuya platform;

Can fully utilize all the features of the Tuya platform;

Quickly bring products to market;

Data can be obtained from the Tuya platform for various analyses and complex scene development as needed.

Scenarios:

Partner won`t develop App;

Partner want to get their own user and device data, do their own internal control platform or get through with their internal system.

Solution 2: Full SDK & Simple mode

Architecture

image-20190804155917585

Features:

The App can connect directly to the partner own cloud;

App can use the partner`s own user system, and the user system can be directly stored in the partner’s platform. Before using the Tuya device service, only one virtual user can be mApped synchronously. The partner can not reveal the real user privacy data of the platform;

Based on the partner’s own development App, embed Tuya’s full sdk (For example:distribution network, panel control, scene control, etc.);

The link between the partner App and the Tuya cloud is implemented via the sdk package;

Require partner develop device panel/app UI or use Tuya public device UI;

Based on the SDK, device status can be fed back to the App in real time.

Tuya offers you:

Provide full-featured App SDK;

Provide OpenAPI to complete user integrate, device discovery, device control and other functions;

Provides a standard instruction set based on categories to control different types of equipment under the same category in the Tuya platform;

Provide message queue for partner to receive real-time data from devices.

Advantages:

Partner can develop their own App according to their own needs;

Customers can build their own user systems;

The App is based entirely on the full version of the Tuya SDK, which can take full advantage of the various capabilities provided by the Tuya SDK, such as: distribution network, device control, home management, scene management, upgrade management, etc., and reduce the difficulty of App development.

Scenarios:

Partner have their own App development team and need to use their own user system;

The App needs to connect to the customer’s own cloud platform and allows device-related services to connect to the Tuya cloud;

App can rely on Tuya full version SDK.

Solution 3: miniSDK & Simple mode

Architecture

image-20190804160242984

Features:

Based on the partner own App, embed in Tuya’s mini sdk (only includes the distribution network package: ssid, password and user token obtained from the cloud);

Require partner develop panels/apps by themselves;;

Device status changes can’t be pushed to the App directly, the pushing ability to rely on the partner’s own cloud.

Tuya offers you:

Provide the mini App SDK;

Provide OpenAPI to complete user integration, device discovery, device control and other functions of the API;

Provide OpenAPI to complete user integration, device discovery, device control and other functions;

Provides a standard instruction set based on categories to control different types of equipment under the same category in the Tuya platform;

Provide message queue for partner to receive real-time data from devices.

Advantages:

Customer self-developed App, App low intrusive and all the request through partner cloud.

Disadvantages:

App development workload;

Device status changes cannot be pushed to the App in real time, requiring the customer to have notification capabilities;

The control link is too long, and the real-time control experience is not comparable to the schemes 1, 2.

Scenarios:

The App is developed by the client and requires its own user system and has strict requirements on the SDK size. Partner don’t want the App to connect directly to the Tuya;

The partner is not sensitive to the real-time status of the device, or the partner has its own message push channel to meet the real-time receiving capability of the device status.