Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

debsahu/esp8266-arduino-aws-iot-ws

Repository files navigation

AWS IoT Websockets


⚠️ ⚠️ ⚠️ 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

ESP8266 Amazon IoT

Dependencies

Library Link Use
arduinoWebSockets https://github.com/Links2004/arduinoWebSockets websocket comm impl
PahoMQTT https://projects.eclipse.org/projects/technology.paho/downloads mqtt comm impl
ArduinoJSON 6.5.0-beta https://github.com/bblanchon/ArduinoJson/releases data

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.

Architecture

class diagram

Releases

No releases published

Packages

No packages published