Page 1 of 1

Cant connect to adafruit io MQTT

Posted: 27 Aug 2023, 17:17
by Affinite
I cannot get my ESP to connect to the Adafruit IO MQTT broker
I am using OpenHab MQTT as the (only enabled) controller on my ESP
I have used my Adafruit IO username as the OpenHab controller User name and my adafruit io key as the Password but the controller will not connect

To test that my adafruit IO account is working I can send topic/values to it using NodeRed on a Raspberry pi.
(At the moment I connect my ESP OpenHab controller to the Hive MQTT broker and send my topic/value. I also have an Raspberry Pi which subscribes to the topic on the Hive broker and then publishes it to the Adafruit IO broker.)
That works but its obviously just a work around so if anyone could give configuration details for the ESPEASY OpenHAB Controller to connect to the Adafruit IO broker I'd be very grateful.
Thanks

Re: Cant connect to adafruit io MQTT

Posted: 27 Aug 2023, 18:57
by Ath
Does the broker accept http:// (vs. https://) connections? As ESPEasy doesn't yet support https, though PR #3788 is adding that. There is a recent build run on that PR, so if you have a spare ESP32 available (AFAIK, not available on ESP8266 for speed, memory and .bin size limitations), you can try that for yourself ;)

Re: Cant connect to adafruit io MQTT

Posted: 29 Aug 2023, 13:14
by Affinite
Ath
Thanks - I'll look into http: