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.
Locked
User avatar
Jzrewqxs
 
Posts: 1
Joined: Sat May 15, 2021 8:04 am

Mosquitto version 2.0.10 broker settings

Post by Jzrewqxs »

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.

User avatar
brubell
Learn User Page
 
Posts: 2011
Joined: Fri Jul 17, 2015 10:33 pm

Re: Mosquitto version 2.0.10 broker settings

Post by brubell »

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

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”