0

NODE RED WITH ADAFRUIT MQTT NODE
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

NODE RED WITH ADAFRUIT MQTT NODE

by mani1292 on Sat Apr 20, 2019 12:38 am

hi all
i want to configure mqtt node with adafruit account but don't know how to configure topics can anyone help?

mani1292
 
Posts: 1
Joined: Sat Apr 20, 2019 12:36 am

Re: NODE RED WITH ADAFRUIT MQTT NODE

by franklin97355 on Sat Apr 20, 2019 2:09 am

What is it you are doing now and how is it responding?

franklin97355
 
Posts: 20975
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: NODE RED WITH ADAFRUIT MQTT NODE

by aesto1 on Thu May 23, 2019 12:21 pm

Hello, I tried configuring the mqtt node to communicate with adafruit, but unfortunately, it is not connecting. It keeps shows the connecting icon as shown in the screenshot below, but never manages to connect.

I followed the instructions on this link but can't succeed to make it work.

https://learn.adafruit.com/welcome-to-a ... umentation
Attachments
mqtt node.png
mqtt node.png (2.56 KiB) Viewed 225 times

aesto1
 
Posts: 3
Joined: Thu May 23, 2019 9:53 am

Re: NODE RED WITH ADAFRUIT MQTT NODE

by abachman on Thu May 23, 2019 2:45 pm

aesto1,


Make sure Node Red is not trying to subscribe or publish to any MQTT topics that you don't have access to. That will trigger a disconnect from Adafruit IO and could be causing your trouble here.


- adam b.

abachman
 
Posts: 319
Joined: Mon Feb 01, 2010 12:48 pm

Re: NODE RED WITH ADAFRUIT MQTT NODE

by aesto1 on Fri May 24, 2019 6:24 am

I don't have any other topics that Node-red is trying to access nor any other running nodes. Now I am just trying to configure the connection between adafruit and the mqtt node. I hade updated node red to the latest version, still isn't working.

Are there any other possible errors. Or there any tutorials that might be showing how exactly it is configured.
Thank you in advance.

aesto1
 
Posts: 3
Joined: Thu May 23, 2019 9:53 am

Re: NODE RED WITH ADAFRUIT MQTT NODE

by brubell on Fri May 24, 2019 9:21 am

aesto1 wrote:I don't have any other topics that Node-red is trying to access nor any other running nodes. Now I am just trying to configure the connection between adafruit and the mqtt node. I hade updated node red to the latest version, still isn't working.

Are there any other possible errors. Or there any tutorials that might be showing how exactly it is configured.
Thank you in advance.


The most recent MQTT API Docs for Adafruit IO are here: https://io.adafruit.com/api/docs/mqtt.h ... o-mqtt-api

We don't have any guides/client libraries about connecting Node RED with IO (a quick google search brings up this thread on the node red forums: https://discourse.nodered.org/t/mqtt-wi ... io/8599/11)

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

Please be positive and constructive with your questions and comments.