Clear Filters
Clear Filters

Error when trying to use the thingspeak-arduino ESP32 Eaxmples - WriteSingl​eFieldSecu​re.ino

10 views (last 30 days)
When I try compile and run the example file
WriteSingleFieldSecure.ino
I get the following error:
Compilation error: 'WiFi' was not declared in this scope
If I add
#include <WiFi.h>
at the top, it compiles but the code does not work.
This is the output I get:
09:41:36.694 -> WARNING: This library doesn't support SSL connection to ThingSpeak. Default HTTP Connection used.
09:41:36.831 -> Attempting to connect to SSID: My-SSID
09:41:36.831 -> .
09:41:41.838 -> Connected.
09:41:41.884 -> Problem updating channel. HTTP error code -301
09:42:01.864 -> Problem updating channel. HTTP error code -301
Additionally I tried the example file
WriteMultipleFieldsSecure.ino
but got similar results.
I would like to be able to write fields securely to ThingSpeak using ESP32. How do I do this?

Answers (0)

Categories

Find more on Write Data to Channel in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!