Connect esp8266 with AWS IOT

Harshil Makwana picture Harshil Makwana · Mar 27, 2018 · Viewed 7.9k times · Source

I am using https://github.com/Schm1tz1/aws-sdk-arduino-esp8266 default repository inside arduino sdk.

But It's sample code wont update shadow thing on AWS IOT. I configured everything correctly, Can some one help me on it?

Answer

raph84 picture raph84 · Mar 14, 2019

I have put quite some time on this last month. All the examples I had found had an issue or another. It must be because library Core ESP8266 for Arduino has been updated not long ago; SSL implementation has changed...

I have been to figure out what was wrong, fix it, and make it work. I use the ESP8266 and connect to AWS IoT using MQTT and x509 certificate for authentication.

Here is the walkthrough I have put together: https://raphberube.com/blog/2019/02/18/Making-the-ESP8266-work-with-AWS-IoT.html

If you stumble on this I hope it will be useful for you.