平台消息分为上行下行两大类:

上行消息
设备平台
由设备发给平台,如果您设置了接收的url地址,云平台会将这些消息实时推送到这个地址;
如设备上下线、命令应答、事件(用户按下按钮)、状态上报(温度、功率等)
下行消息
平台设备
由您通过HTTP请求发出,云平台来响应您的请求,并立即向设备下发命令。
如控制设备、修改设备分组等属性、创建定时任务等

接口采用HTTP协议,使用任何可进行HTTP请求的编程语言均可; 接口调用的方法也完全一致,对于不同的设备,调用方式可复用,仅命令不同。因此:

如仅控制设备:
可封装一个函数,将设备ID(整形)和命令(数组)作为参数传入
如需其他管理操作:
可封装一个类,将设备控制、分组、定时任务等做为类的方法

ThingBoot is a provider of open and private intelligent-device solutions:

For factories: we supply a proven, full-featured IoT platform plus R&D support for smart-hardware development, and share real end-market demand leads.

For end customers: we deliver the simplest possible device onboarding—supporting both open-cloud and private deployments (public network or LAN). Unified APIs and protocols, with volume-product incentives.


Quick links

Please contact me
Please leave your contact information, and the engineer will get in touch with you promptly.

If you need urgent assistance, you may contact the on-duty engineer at: