Some info on how to get started on NodeMCU & AWS
Clone or download
Latest commit 0e7ebc0 Oct 27, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Sep 9, 2016 Update Oct 27, 2016

How to get started on AWS IoT with NodeMCU for less than 5 euros

  • Start with the NodeMCU unplugged

  • Download NodeMCU Driver CH341SER_yourOS and install it

  • Connect the NodeMCU board to the USB port

ls /dev/tty* should show something like /dev/tty.wchusbserial1420

  • If you want to play around with LUA, download ESPlorer

  • Download Arduino IDE

  • Configure your Arduino IDE to support ESP8266

File>Preference and copy the URL below to Additional Board Manager URLs

Go to Tools > Boards > Board Manager. Look for esp8266 and hit install. Select NodeMCU 1.0 (ESP-12E Module)

  • Install AWS SDK as a Arduino Library

  • Install your sensor library if any (in our case a capacitive sensor)

  • Download and unzip it to your Arduino folder

  • Log in to your AWS Account and add a Thing. Call your thing ESPNODE

  • Edit keys.cpp and fill in your AWS Account and WIFI settings

  • Compile and run your Arduino sketch

  • Create a new Lambda

Rule for the trigger : SELECT * FROM '$aws/things/ESPNODE/shadow/update/accepted' WHERE state.reported.clic = 1