7-color LED controlled by AWS IoT
The IoT Thing is the physical hardware that uses a particular board, a RGB LED, and a button. It reads the state from AWS IoT and changes its local state to match, turning on/off the LED and setting a specific color. It also reports the current state back up to AWS IoT.
The software is written in mJS and runs using Mongoose-OS. The following boards/architectures have been tested:
- esp8266
- Adafruit Feather Huzzah
The Browser Client is a static website that connects to AWS IoT to get the reported state and to set a desired state. The buttons allow for on/off control as well as changing the color via the desired state of the thing shadow.
The Alexa skill allows voice commands to turn on/off the led and/or change the color.
NOTE: My previous Alexa skill was not a Smart Home skill and built on node.js v4.3, which has been deprecated by AWS Lambda.