Ubidots可以将一个Nodemcu数据发送到另一个nodemcu吗?

问题描述 投票:0回答:1

我试图将多个Nodemcu与Ubidots连接起来,最后添加一个可以从其他从设备读取所有内容的主设备。我可以直接从Ubidots物联网平台进行操作吗?

server mqtt iot esp8266 nodemcu
1个回答
0
投票

是,您可以直接用Ubidots完成。我建议您使用MQTT作为通信协议来管理数据。请查看Ubidots Docs以获取详细信息。

您必须将publish example用于从属节点,并且从主节点,必须使用subscribe example从不同变量中获取值。

code of this project可以作为您同时订阅多个变量的参考。

© www.soinside.com 2019 - 2024. All rights reserved.