Quick start overview

Updated at:

Learn how to connect a device to IoT Platform, report device data, subscribe to device messages, and send commands from the cloud.

Prerequisites

Scenario

A home thermostat connects to IoT Platform, reports temperature and humidity data, and exchanges messages through an API.

Message communication flow

Message communication flow

Steps ① through ④ in the diagram:

  1. The device reports data to IoT Platform.

    1. Create an Enterprise instance: Purchase an Enterprise Edition instance to connect devices and manage services.

    2. Create a product and a device: Create a product and device in the IoT Platform console to obtain the device certificate (ProductKey, DeviceName, and DeviceSecret) for identity authentication.

    3. Connect the device and report data: Connect the device to the Enterprise Edition instance over MQTT and report data using a Thing Specification Language (TSL) model.

  2. Forward data to Tablestore: Forward device data to Tablestore by using the rules engine.

  3. Subscribe to device messages on the server: Receive device data on your server over an AMQP channel.

  4. Send commands from the cloud: Call an IoT Platform API to send commands to the device.

Video demo