Can I subscribe my channel(s) with MQTT with a free license?

조회 수: 4 (최근 30일)
Johan Vervaet
Johan Vervaet 2021년 12월 1일
댓글: Johan Vervaet 2022년 2월 6일
I am using a free license for publishing data with MQTT on ThingSpeak which works very good,
according to the format: channels/<channelID>/publish/fields/field<fieldnumber>.
Can I subscribe my channel(s) with MQTT with a free license with the format:
channels/<channelID>/subscribe/fields/field<fieldnumber>.
Or is there any restriction?
Thanks for your answer and best regards.
  댓글 수: 2
Fred Ettner
Fred Ettner 2022년 2월 6일
Johan, I'm trying unsuccesfuly to do the same. What micropython MQTT library areyou using?
Johan Vervaet
Johan Vervaet 2022년 2월 6일
Hello Fred,
I have tried the following even on different micropython versions on ESP32:
1) import upip, upip.install('micropython-umqtt.simple'), upip.install('micropython-umqtt.robust'), or
2) import upip, upip.install('micropython-umqtt.simple2'), upip.install('micropython-umqtt.robust2').
Unfortunately unsuccessfull with the subscribe format channels/<channelID>/subscribe/fields/field<fieldnumber>.
Regards.

댓글을 달려면 로그인하십시오.

답변 (1개)

Vinod
Vinod 2021년 12월 31일
Yes. Even a free license enables you to publish and subscribe to ThingSpeak channels. Note that you may still only publish to a channel once every 15 seconds with a free license.
  댓글 수: 4
Johan Vervaet
Johan Vervaet 2022년 1월 3일
Hello Vinod,
I appreciate your answer very much, but unfortunately I am not using ESP8266 on arduino.
I am using ESP32 on Thonny IDE with micropython: do you have any information for that environment?
Thanks and best regards.
Vinod
Vinod 2022년 1월 3일
I'm not familiar with that environment, unfortunately. Have you tried subscribing to your channel using a desktop client like mqttx and publishing data to it?

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 Read Data from Channel에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by