Noduino Cloud
来自Jack's Lab
(版本间的差异)
(→Device) |
(→Debug Notes) |
||
| 第34行: | 第34行: | ||
<br><br> | <br><br> | ||
| − | == | + | == Reference == |
| + | |||
| + | * https://www.nginx.com/blog/nginx-and-iot-adding-protocol-awareness-for-mqtt/#018streamnginScriptandMQTT | ||
| + | * https://opensourceforu.com/2016/09/coap-get-started-with-iot-protocols/ | ||
<br><br> | <br><br> | ||
2019年5月14日 (二) 09:25的版本
目录 |
1 HTTPS API
2 MQTT
2.1 H5 UI
subscribe: dev2app/DEV_ID
Received Message:
{"m":"status","d":"on","t":"2015-12-30T00:00:00+08:00"}
{"m":"status","d":{"r":255,"g":255,"b":255,"w":255,"s":1},"t":"1542193113"}
{"m":online","d":"170505113018","t":"1542193113"}
{"m":"airkiss_nff_on","d":"1","t":"1542193114"}
{"m":"alexa_on","d":"1","t":"1542193114"}
{"m":"grad_on","d":"1","t":"1542193114"}
{"m":"voice_name","d":"Living Room Light","t":"1542193114"}
{"m":"offline","d":"Device Offline","t":"1542193114"}
2.2 Device
2.3 Server
3 Reference
- https://www.nginx.com/blog/nginx-and-iot-adding-protocol-awareness-for-mqtt/#018streamnginScriptandMQTT
- https://opensourceforu.com/2016/09/coap-get-started-with-iot-protocols/