Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect esp8266 with AWS IOT

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?

like image 843
Harshil Makwana Avatar asked Nov 18 '25 20:11

Harshil Makwana


2 Answers

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.

like image 159
raph84 Avatar answered Nov 22 '25 04:11

raph84


I am able to develop code using ARDUINO IDE that connects ESP8266 with AWS IOT by using this repo:http://github.com/odelot/aws-mqtt-websockets

like image 24
Harshil Makwana Avatar answered Nov 22 '25 04:11

Harshil Makwana



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!