Projects/IoT & Electronics/ESP8266 Talking to AWS IoT Usi...
July 13, 2018
3 min read
IoT & Electronics

ESP8266 Talking to AWS IoT Using MQTT

📺 Watch the Video View on YouTube --- Arduino library connecting to the AWS IoT service from an ESP8266 using websockets and MQTT. GitHub: debsahu/es...

📺 Watch the Video

View on YouTube


Arduino library connecting to the AWS IoT service from an ESP8266 using websockets and MQTT.

GitHub: debsahu/esp8266-arduino-aws-iot-ws

⚠️ ⚠️ ⚠️ This is no longer maintained and obsolete, there is better way to do this: follow instructions from here Still want to use this, follow instructions below ⚠️ ⚠️ ⚠️

Arduino Library derived from joekickass/esp8266-arduino-aws-iot-ws to work with Arduino

Dependencies

Headers from joekickass/esp8266-arduino-aws-iot-ws

Library for connecting to the AWS IoT service from an ESP8266 using websockets. Authenticates using AWS IAM credentials and sigV4.

Based on the work of AWS labs, basically using its SigV4 implementation and a fork by Sander van de Graaf. The fork is reflected in the License.

Inspired by Fábio Toledos work on aws-mqtt-websockets, but using libraries accessible through the PlatformIO library manager. This is actually the main reason for creating the library.

Adds MQTT functionality using the Paho library. It is fairly easy to replace with another MQTT client, e.g. PubSubClient.

Attributions

Big thanks to Fábio Toledo for his work on aws-mqtt-websockets. Any credit should be directed to him and the authors of the libraries used in this project.

The library uses code from the following projects. License information can be found in the NOTICE file:

In the case of missing license information, I took the liberty of adding it.

Explore More