Subscribe to MQTT broker with node-red | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Subscribe to MQTT broker with node-red
No permission to create posts
August 9, 2019
5:16 am
Avatar
dtuiot
New Member
Members
Forum Posts: 3
Member Since:
August 9, 2019
sp_UserOfflineSmall Offline

Sorry, for duplicating post, but for some reason, we can't access our post...

We have data in thingspeak, and we want to retrieve this data by subscribing to the MQTT broker with node-red. For some reason, we're disconnecting all the time, which in high probability means that we have filled out the MQTT node wrong. Anyone with experience in subscribing to MQTT who can help us?

Screenshots of how we have configured the MQTT node will be attached, so you can see what we have done, and maybe you can find the error.

Skærmbillede-2019-08-09-kl.-10.48.46-1.pngImage Enlarger

Skærmbillede-2019-08-09-kl.-10.59.03-3.pngImage Enlarger

Skærmbillede-2019-08-09-kl.-10.59.27-1.pngImage Enlarger

Skærmbillede-2019-08-09-kl.-11.01.12-1.pngImage Enlarger

August 9, 2019
11:22 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 867
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

You showed the username and password as blank. was that or security or is that what you have in those fields? See
https://www.mathworks.com/help/thingspeak/subscribetoachannelfeed.html
or the image here
https://www.mathworks.com/help/thingspeak/mqtt-basics.html

The password needs to be your MQTT API key. The username can be any unique string you like.

Let us know if that works if you get a chance.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Team_mafia, icXu, emorphistechno, VTVMART, manimozhi, adamhebrew

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457