Writing to field with SSL, HTTPS, 443

John Sparv on 7 Jan 2022
Latest activity Edit by Vinod on 7 Jan 2022

Hello! A few years ago i could write data to my thingspeak field with this code on arduino with ESP8266.

However today when i try this i only get errors. Instead I have to use this code. it is almost the same but connecting without SSL on port 80 instead.

Has anything changed on thingspeaks side? What do i do wrong? Here is a link to the full code if thats needed: https://github.com/kjellcompany/Arduino_701/blob/master/Thingspeak/Thingspeak.ino

Vinod
Vinod on 7 Jan 2022 (Edited on 7 Jan 2022)

Your device needs to be capable of TLS 1.2 to make secure connections to ThingSpeak. I've seen issues where the firmware of the ESP8266 needs to be updated to handle TLS 1.2 connections.

Take a look at this instructable for more information.

Tags

No tags entered yet.