tencent cloud

IoT Hub

Release Notes and Announcements
Release Notes
Product Introduction
Overview
Features
Strengths
Use Cases
Use Limits
Basic Concepts
Getting Started
Quick Start
Scenario 1: Device Interconnection
Scenario 2: Device Status Reporting and Setting
MQTT.fx Connection Guide
Console Guide
Product Management
Rule Engine
Sub-account Access to IoT Hub
Firmware Upgrade
Resource Management
Certificate Management
Developer Manual
Feature Components
Signature Algorithm
Device Authentication
Device Connection Protocol
Gateway Subdevice
Message Communication
Device Shadow
Device Firmware Upgrade
Remote Device Configuration
Resource Management
Device Log Reporting
NTP Service
Device Connection Manual
Device Connection Overview
Connection Based on SDK for C
Connection Based on SDK for Android
Connection Based on SDK for Java
Connection Based on SDK for Python
API Documentation
History
Introduction
API Category
Making API Requests
Device Shadow APIs
Device APIs
CA Certificate APIs
Product APIs
Data Types
Error Codes
FAQs
General
Device Connection and Reporting
Rule Engine
Console
IoT Hub Policy
Privacy Policy
Data Privacy And Security Agreement
Glossary

Console Operation Steps

PDF
Focus Mode
Font Size
Last updated: 2024-12-27 09:54:58

Creating Door Product and Device

1. Log in to the IoT Hub console and click Products on the left sidebar.
2. On the product list page, click Create Product.
3. Create a door product (Door), select the authentication method, enter the product description, and click Confirm.

Note:
For more information on authentication method, see Device Connection Preparations.
When Custom is selected as the data format, the parsing may fail, resulting in garbled characters. In such cases, you are advised to create the product again and select JSON as the data format.
4. After successful creation, you can view the basic information of the product.
5. Click the door product (Door), select the Devices tab, and create a device (door1).
Note:
A device key will be returned after device creation under asymmetric encryption, and will be used for device communication. The key will not be stored in the IoT Hub backend. Keep it properly.
6. Click Manage to view the device information.
Certificate authentication:

Key authentication:


Creating Air Conditioner Product and Device

1. Log in to the IoT Hub console and click Products on the left sidebar.
2. On the product list page, click Create Product.
3. Create an air conditioner product (AirConditioner), select the authentication method, enter the product description, and click Confirm.

4. After successful creation, you can view the basic information of the product.
5. Create a device (airConditioner1) on the Devices tab page.
6. Click Manage to view the device information.
Device information

In the device information page, device certificate and device private key are used for MQTT over TLS asymmetric encryption. Symmetric key is used for symmetric encryption (for the differences between the two communication methods, see Feature Components - Device Connection).
Note:
The creation of the above resources can be done by the backend through RESTful APIs. For more information, please see API Overview.

Creating Rule

1. Log in to the IoT Hub console and click Rule Engine on the left sidebar.
2. On the rule engine page, click Create Rule, enter the rule name, and click Confirm.
Rule Name: it can contain up to 32 letters, digits, and underscores (the name cannot be modified once confirmed).
Rule Description: 0–256 characters. This can be modified.

3. After the rule is created successfully, you will be automatically redirected to the rule details page.

Then, you can write different forwarding rules.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback