My iot:bit elecfreak board can not subscribe topics and publish data from microbit to topics on thingspeak mqtt broker.
2 次查看(过去 30 天)
显示 更早的评论

I have created a mqtt device from thingspeak platform and obtained the MQTT Credentials (clientid, username and password).
I download the Iot extension to my microbit plaform to be used for my elecfreak iot:bit board and try to use its MQTT function.
However I failed to subscribe data from and publish data to the topics from thingspeak mqtt broker.
1 个评论
Christopher Stapels
2022-2-15
Have you enabled that device to be able to publish and subscribe to the channels you want data from in the ThingSpeak devices interface? Is the "when Topic:" Clause in the middle the subscribe setting? If so your syntax needs to have subscribe in it. See the subscribe doc for feed and field for the correct syntax.
Do you have a paid ThingSpeak account? If you are a free user, you can only publish to a channel once every 15 seconds.
回答(0 个)
社区
更多回答在 ThingSpeak Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Write Data to Channel 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!