Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.79 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.79 KB

nodemcu-collector

Collect measurements from sensors connected to NodeMCU and transmit them to InfluxDB.

This project is intended as starting point for projects where you have to collect data from a set of sensors connected to ESP8266 and any othe IoT platform that support NodeMCU firmware.

Requirements

Assumptions

  • You want collect data from sensors without interaction
  • You need the most fiability as possible. It means support wifi or influxdb shutdowns with minor data loss.
  • You supply energy to module using a mini UPS device.

Installation

  • Clone or Download this repository
  • Edit config.lua and config_local.lua according to your environment
  • Upload all these files to NodeMCU module and reset it
  • Inspect output of serial console of module, you should see a succesful wifi connection info.
  • Start sending basic measurements to InfluxDB, type on console: require('main')
  • Check data captured on InfluxDB. You will get these measurements: node_heap, wifi_signal, node_event

Donations

Bitcoin : 187w4iNVHX44y2PC96AuhP286aUKNjcrXV
Litecoin: LVutsPn9jaoC6SScdxsGMM2uAMvPbjNZXq
PIVX    : D81ZZt8jAvWQFaLhtx3f4ntstUCCYBcdne