Here you should have everything you need to quickly prototype a temperature and humidity sensor based on the esp8266 and the nodemcu firmware. We will persist the measurements using librato as a backend.
- Adafruit's esp8266 reakout
- Bread board
- Jumper wires
- power adaptor or batteries
- dht11 temperature and humidity sensor
.
├── README.md
├── esptool
├── firmware
│ └── nodemcu-master-10-modules-2016-01-12-15-28-14-integer.bin
This directory contains the necessary software to flash the chip
with nodemcu. If you want to build your own firmware you
can do it [locally](https://hub.docker.com/r/marcelstoer/nodemcu-build/)
or use this online [tool](http://nodemcu-build.com/).
├── luatool
│ ├── luatool.py
│ ├── run.sh
│ └── src
│ ├── librato-ssl.lua
│ └── librato-statsd.lua
We will use the luatool to send our lua scripts to the chip. One of
the scripts uses [statsd](https://github.com/etsy/statsd) to aggregate
and send data to librato. The other version uses a custom made proxy
in python that supports payload signing.
├── proxy-librato
│ ├── app.py
│ ├── curlit.sh
│ └── play.py
This is the python proxy I was referring to above.
└── statsd
└── config.js
This is an example configuration for statsd.