AliOS Things study notes (4)-ESP8266 docking with Tmall Wizard Part 1 (platform side)

1. Introduction

The Internet of Things platform for life is an Internet of Things cloud platform for the smart life field. It is a set of public cloud platforms built on the basis of Alibaba Cloud's IaaS and PaaS layer cloud products. The platform helps developers and solution providers in the service life field, providing functional design, embedded development and debugging, equipment security, cloud development, app development, operation management, data statistics, etc., from the full life cycle of product development to post operation service.
Association with Tmall Elf IoT
In July 2020, the Tmall Elf IoT open platform and Alibaba Cloud Life Internet of Things platform will be integrated. The integrated life IoT platform has become a unified consumer-grade smart device IoT platform within Alibaba Group, which can support the following two business forms:

  • Cloud products empowered by the smart life industry provide globalized and intelligent paid cloud services for global customers.
  • For the device access of the Tmall Elf IoT ecosystem, we will work with domestic equipment manufacturers to build an IoT ecosystem around the Tmall Elf.

The difference from the Internet of Things platform The
life Internet of Things platform and the Internet of Things platform are both cloud service platforms provided by Alibaba Cloud IoT.

  • The Internet of Things platform provides atomic device access capabilities, suitable for users with strong cloud development capabilities, and can be used in various industries.
  • The life IoT platform provides device access capabilities, mobile SDKs, and development-free public apps and interfaces. It is more suitable for consumer-level smart device developers. The development threshold is low and can quickly realize the intelligence of consumer-level devices. Such as smart home appliances, wearables, home improvement, etc.

Alibaba Cloud Life IoT Platform
Platform Project Management
Life IoT Platform Quick Start
Product and Equipment Management

Insert picture description here

2. Operation steps:

1. Create a project:

Projects not only make it easy for you to manage the product, but also allow multiple parties to work together.
Insert picture description here

2. Create products and define functions:

The product is equivalent to a collection of similar equipment, for example, the product can be a certain model of equipment. You can use the three dimensions of attributes, services and events
Insert picture description here

Insert picture description here

3. Define the function of the product:

The platform will construct a product data model based on the functions you define, which will be used for data communication between the cloud and the device.
For the convenience of testing, other attributes are deleted and only one 开关attribute is left .
Insert picture description here

4. Configure the App:

In the current Internet of Things field, consumers usually use App to bind and control devices. The platform provides App services, and you can easily realize human-computer interaction by configuring App parameter items.
Turn 使用公版App控制产品it on 天猫精灵and there will be options for smart speakers.
Insert picture description here

配网引导Select custom network configuration, and then configure as follows:
Insert picture description here

5. Add equipment:

Equipment refers to a specific equipment. Each device has its own device certificate, which is used to connect to the living IoT platform. The platform provides test equipment, and the certificate of the test equipment cannot be used for mass production, but only for debugging.
Choosing a chipESP8266
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

6. Development equipment:

The platform provides device-side SDK, and through simple development, the device can have the ability to go to the cloud.
Reference: ESP8266 docking with Tmall Genie Part 2 (device side)

7. Debugging equipment connected to the cloud:

After the public version of the App is connected to the device, debug the real device through the App and the console (cloud) to verify the device, cloud, and app, and the three-end uplink and downlink data communication.
Insert picture description here

Guess you like

Origin blog.csdn.net/p1279030826/article/details/113696633