The Anjielo TUYA facial recognition video intercom system can publicize device events (incoming calls, door lock unlocking, facial recognition) via Tuya Cloud OpenAPI/Webhook.

The Anjielo Smart Technology TUYA Face Recognition Video Intercom System fully supports sharing access control events with third-party building management platforms through the Tuya Cloud interface.

The specific technical implementation path is as follows:

Data Opening Mechanism (Cloud-to-Cloud Integration): Our devices are based on the Tuya IoT platform and support a standard "cloud-to-cloud integration" mode. You do not need to operate the hardware; instead, you connect to your platform through the Tuya Cloud development platform.

Proactive Query: You can proactively obtain device status, personnel information, or historical access records by calling Tuya's OpenAPI.

Event Push (Core): For your most important "real-time" needs (such as incoming calls, door unlocking), the system supports message subscription (Webhook). When an event occurs, Tuya Cloud will proactively push the data (HTTP POST) to your specified server address, without requiring you to poll.

Specific event data that can be made public: According to Tuya's official device function definition, the following data can be made public through the cloud interface:

Access events: Includes the door opening method (face, password, card, remote), the URL of the face capture image when opening the door, the user ID, and whether it was successful. For example, the `way` field will return 4 when opening the door with face recognition.

Video intercom/call events: Supports callbacks for doorbell calls, answers, hang-ups, and missed calls.

Access control alarms: Includes tamper alarms, loitering alarms, and multiple unlocking attempts alarms.

For development and debugging, it is recommended to proceed as follows:

Create a "Cloud Development" project on the Tuya IoT platform and obtain the Access ID and Access Secret for interface authentication.

Configure message subscription: In the Cloud Development project, set your HTTP server receiving endpoint and subscribe to relevant messages such as "Access Control Records" and "Device Alarms".

Use the OpenAPI to obtain a device list or capture image attachments.

The entry point for Tuya's official cloud-to-cloud integration technical documentation is as follows. Due to the length and continuous updating of the core documentation, it is recommended to directly access the Tuya Developer Platform. Below, Anjielo Smart Technology has compiled the most crucial direct access paths and document index for your reference:

I. Core Documentation Entry Points
* **Cloud-to-Cloud Connectivity Main Documentation (Your primary entry point)**

Documentation Address: https://developer.tuya.com/cn/docs/iot/cloud_cloud_connection

Summary: Introduces the overall architecture and core processes of Cloud-to-Cloud Connectivity (Product Creation → Function Definition → Device Development → API Integration → Debugging and Verification), and how third-party business systems can access the Tuya ecosystem through OpenAPI.

* **Message Subscription Service Documentation (The core of event push implementation)**

Documentation Address: https://developer.tuya.com/cn/docs/iot/integrate-mq

Summary: Detailed explanation of how to use the Tuya Pulsar SDK to receive messages reported by devices (including access control events, alarm events, etc.), including Java sample code, environment configuration, and common error handling.

Cloud Access Service API List

The main Cloud Access documentation contains complete API debugging tools and interface descriptions, including southbound access capabilities such as device registration, device online, and attribute reporting.

II. Key Documents for Access Control Scenarios

The following are specialized documents directly related to your smart intercom access control system:

Smart Intercom Access Control Access Documentation (Android Version)

Documentation Address: https://developer.tuya.com/cn/docs/iot/smart-access-control

Core Content:

Access Event Reporting Interface: Includes the `way` field (door opening method: 1 card/2 password/4 face/9 remote, etc.), `imageId` (captured image ID)

Video Call Flow: Call, answer, and hang-up status callbacks

Resident/Face/Access Card/QR Code/Password Management Interfaces

Cloud Smart Intercom iOS Documentation

Documentation Address: https://developer.tuya.com/cn/docs/iot/smart-access-control r.tuya.com/cn/docs/app-development/ios-saas-smart-community-speaker

Core Content: Communication protocol between the App and access control devices, call status enumeration (calling in progress, device disconnected, timeout disconnected, answered, etc.)

III. Development Tools and Auxiliary Resources
* tuya-connector open-source tool (for quick cloud-to-cloud integration)

GitHub address: https://github.com/tuya/tuya-connector

Function: Provides annotation-based HTTP client and message subscription client, simplifying underlying processing such as signing, encryption/decryption, and caching, allowing you to call OpenAPI as if it were a local method.

Signature Verification Specification (Essential for Security)

All callback requests on the Tuya platform carry HMAC-SHA256 signatures, which need to be verified on your server side.

Key parameters: client-id, timestamp, sign, payload

Signature verification formula: String to be signed = client-id + timestamp + payload

Developer tool entry

Tuya IoT Development Platform Homepage: https://developer.tuya.com/

After logging in, go to "Cloud Development" → "Cloud Project" to obtain Access ID and Access Secret

IV. Suggested Reading Order

If this is your first time working with cloud-to-cloud integration, we recommend reading in the following order:

First, read the main document "Cloud-to-Cloud Access" → Understand the overall process and activation steps

Next, read "Message Subscription Service" → Master the event push mechanism (this is key to real-time doorbell call and access events)

Finally, read "Visual Intercom Access Control Access" → Compare with specific data points (DP points) and interface parameters

Use tuya-connector → Quickly build a demo for verification

V. Technical Support Channels

If you encounter specific problems during integration, you can get help through the following channels:

Tuya Developer Forum: https://tuyaos.com/ (Official technical support and community discussions available)

Submit a support ticket: After logging into the Tuya Developer Platform, submit a technical support ticket through the console.

블로그로 돌아가기

댓글 남기기