Skip to content

A temperature sensor based on esp8266 and nodemcu

Notifications You must be signed in to change notification settings

drio/librato-esp8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project

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.

Hardware

  • Adafruit's esp8266 reakout
  • Bread board
  • Jumper wires
  • power adaptor or batteries
  • dht11 temperature and humidity sensor

Repo structure

.
├── 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.

About

A temperature sensor based on esp8266 and nodemcu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published