Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Feather S2 adafruit IO connection example circuitpython
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.

Feather S2 adafruit IO connection example circuitpython

by chronos450 on Thu Jan 14, 2021 12:11 am

I can connect to the internet through wifi with the feather S2 but connection to the Adafruit IO MQTT broker always says can not connect to Adafruit IO using examples with the Adafruit_IO library bundle. All of the examples I have seen for this have been using an ESP32. I was wanting to see if anyone had an example using an ESP32-S2 "i.e. Feather S2" using circuitpython with the "adafruit library bundle" connecting to io.adafruit.com .

chronos450
 
Posts: 2
Joined: Wed Jan 13, 2021 10:55 pm

Re: Feather S2 adafruit IO connection example circuitpython

by brubell on Fri Jan 15, 2021 11:19 am

I have used the ESP32-S2 Metro and MagTag to connect to Adafruit IO.

Are you using Arduino and the Adafruit IO Arduino library?

If so, Could you post your `config.h` file? please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

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

Re: Feather S2 adafruit IO connection example circuitpython

by chronos450 on Fri Jan 15, 2021 1:41 pm

I use micro-python & circuit-python on my esp32s2 so I don't have a config.h. I have all of the Adafruit libraries and helper files but I am just running into a problem with their circuit-python mini-mqtt module. I use the wifi.radio to connect to my network and I seem to be having an issue with the MQTT initialization.

chronos450
 
Posts: 2
Joined: Wed Jan 13, 2021 10:55 pm

Re: Feather S2 adafruit IO connection example circuitpython

by brubell on Wed Jan 20, 2021 11:46 am

The MQTT library for CircuitPython, MiniMQTT, is not yet working on ESP32-S2.

Please see issue: https://github.com/adafruit/Adafruit_Ci ... /issues/43

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

Please be positive and constructive with your questions and comments.