0

Node Red and MQTT
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Node Red and MQTT

by gadjet on Mon Jan 21, 2019 7:04 pm

Hi,
I've just created an account with you and would like to use Node Red to post data.

I cannot use the service as I do other services I've used as the server just disconnects, I understand that it is because the message I send is not formed correctly.

Could you give an example of how the topic should be set up in the MQTT node, I've tried to follow your FAQ but I cannot get the format right because it keeps disconnecting.

Thanks for you help.

gadjet
 
Posts: 2
Joined: Mon Jan 21, 2019 6:51 pm

Re: Node Red and MQTT

by brubell on Wed Jan 23, 2019 7:21 pm

Can you provide some output from NODE RED?
Which FAQ page were you following, what's your configuration in NODE RED?

brubell
 
Posts: 336
Joined: Fri Jul 17, 2015 10:33 pm

Re: Node Red and MQTT

by gadjet on Thu Jan 24, 2019 2:28 am

brubell wrote:Can you provide some output from NODE RED?
Which FAQ page were you following, what's your configuration in NODE RED?


Thanks, I think I've sorted it, in the example user/feeds/feedname I was replacing "feeds" with my dashboard name, once I figured out it should stay as feeds it started to work although it looks like only some values got through to the dashboard.

gadjet
 
Posts: 2
Joined: Mon Jan 21, 2019 6:51 pm

Please be positive and constructive with your questions and comments.