0

Mosquitto version 2.0.10 broker settings
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Mosquitto version 2.0.10 broker settings

by Jzrewqxs on Sat May 15, 2021 8:28 am

I'm trying to setup my local mosquitto to retreive all feeds on my Adafruit IO. This worked last year, but stopped when Mosquitto upgraded to version 2 last year. Does anyone have a working configuration for Mosquitto 2.0?

My current config is:

connection adafruit
address io.adafruit.com:1883
remote_username <Adafruit IO Username>
remote_password <Adafruit IO Key>
clientid <Random Code>
start_type automatic
cleansession false
bridge_attempt_unsubscribe false
notifications false
try_private false
topic # in 0

I'm running mosquiito via docker so it as been a little difficult seeing what is going on, I do see this message though:
1621080905: Connecting bridge adafruit (io.adafruit.com:1883)

Thank you in advance for any ideas you have.

Jzrewqxs
 
Posts: 1
Joined: Sat May 15, 2021 8:04 am

Re: Mosquitto version 2.0.10 broker settings

by brubell on Mon May 17, 2021 9:38 am

Are you able to connect to adafruit io from Mosquitto, in general? Remove any code which auto-initializes subscriptions

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

Please be positive and constructive with your questions and comments.