Skip to content

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

License

Notifications You must be signed in to change notification settings

wnasich/nodemcu-collector

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages