ESA2GJK1DH1K Basics: Ali cloud platform of Things: test cloud platform to show the client sent me a message

 

 

 

Now here empty

 

 

 

 

Have no data custom

 

 

 

 

 

 

 

Now it is pass up the temperature data, so that the temperature data shown here

 

You publish theme / sys / a1m7er1nJbQ / Mqtt / thing / event / property / post

发布的消息   {"method":"thing.event.property.post","id":"1111","params":{"temp":22},"version":"1.0.0"}

 

Try

 

 

 

 

 

 

 

 

 

Now explain released under the theme

 

 

The theme is actually released

 

 

 

 

We did not pay attention to those topics of

Remember these things do not own

{
"ProductKey": "a1m7er1nJbQ",
"DeviceName": "Mqtt",
"DeviceSecret": "7GUrQwgDUcXWV3EIuLwdEvmRPWcl7VsU"
}

 

/ Sys / (own ProductKey) / (own DeviceName) / thing / event / property / post

 

 

Now released under the instructions news

 

{"method":"thing.event.property.post","id":"1111","params":{"temp":22},"version":"1.0.0"}

 

"method":"thing.event.property.post"   固定

"id":"1111"     id的字段值随意自己写

"params":{"temp":22}    这个temp可不是乱写哈,和上一节保持一致

 

 

 

 

 

 

 

"version":"1.0.0"   字段值随意

 

 

 

现有的云平台也就是这么回事吧,就是看着说明点点鼠标,稍微敲敲键盘

昨天有人打电话问我的时候,我就说:只要学了我的自己搭建的教程,其他皆是浮云

 

Guess you like

Origin www.cnblogs.com/yangfengwu/p/11828851.html