⚠️ ⚠️ ⚠️ 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
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 |
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.
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:
- AWS labs - aws-sdk-arduino
- Sander van de Graaf - aws-sdk-arduino
- Fábio Toledo - aws-mqtt-websockets
- Serge Zaitsev - JSMN
- Paho MQTT client
- Stephan Brumme - SHA256
In the case of missing license information, I took the liberty of adding it.