0

Force HTTP
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Force HTTP

by nelsencd on Mon Jun 25, 2018 9:51 pm

I am creating a project with an ESP8266 and the esp8266-weather-station-color project from ThingPulse. I am trying to add some functionality to it where I use io.adafruit.com. I was trying to use AdafruitIO.h but when it makes the request over https it crashes my ESP8266. I tried to just make an https request outside of the Adafruit library and it also crashes. When I make the request over http, it works correctly. So is there anyway that I can force using HTTP instead of HTTPS when using the AdafuirIO.h library? Thanks.

nelsencd
 
Posts: 2
Joined: Fri Jun 22, 2018 12:44 pm

Re: Force HTTP

by brubell on Tue Jun 26, 2018 9:58 am

You could use the Adafruit IO Arduino Library (https://github.com/adafruit/Adafruit_IO_Arduino) which has the ability to communicate over both HTTP and HTTPs.

Could you link your code and explain a bit more about your setup so that I can assist you better?

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

Re: Force HTTP

by nelsencd on Tue Jun 26, 2018 12:33 pm

That is the library that I am using, but I want it to use HTTP instead of HTTPS. I can send the code later.

nelsencd
 
Posts: 2
Joined: Fri Jun 22, 2018 12:44 pm

Please be positive and constructive with your questions and comments.