0

我尝试通过 mqtt 将数据发送到 thingsboard。mqtt 节点显示连接状态,但数据未传输到 thingsboard。尽管数据是 json 格式,但数据不会在 thingsboard 中接收。任何帮助都会更有帮助。

样本发送数据:

{    "main-door": "closed",    "main-light": "OFF"}
4

1 回答 1

1

您需要遵循https://thingsboard.io/docs/getting-started-guides/helloworld/#pushing-data-using-mqtt-coap-or-http上的负载格式的 Thingsboard 规则

你没有说你要发布哪个主题。

于 2018-12-14T20:55:26.997 回答