"old" version of the sensor node for: adafruit huzzah, nodeMCU, ESP-07S or other boards.
Find a file
2020-04-18 12:14:18 +02:00
.clang-format [CODE, TIDY] make use of RTC user memory + restructure code 2018-08-08 00:11:22 +02:00
.editorconfig [CODE, TIDY] make use of RTC user memory + restructure code 2018-08-08 00:11:22 +02:00
esp8266-sensornode.ino add keller config 2020-04-18 12:14:18 +02:00
LICENSE first commit 2018-08-07 16:49:36 +02:00
makeEspArduino.mk first commit 2018-08-07 16:49:36 +02:00
Makefile first commit 2018-08-07 16:49:36 +02:00
README.md More docs, change influxdb domain name, tweak low battery threshold 2020-04-18 11:31:45 +02:00
rtc-helpers.cpp More docs, change influxdb domain name, tweak low battery threshold 2020-04-18 11:31:45 +02:00
rtc-helpers.hpp [CODE, TIDY] make use of RTC user memory + restructure code 2018-08-08 00:11:22 +02:00

Readme

Author: Jannik Beyerstedt
license: GNU GPL v3

Dependencies

This repository also provides a Makefile, but it does not work currently. So the only option to compile and upload is via the Arduino IDE:

  • Install ESP8266 Arduino Board Support from Boards Manager
  • Select you board and upload port
  • Compile and upload. (push the reset button just before the upload starts to wake the chip from deep sleep.)

Settings

All configuration is currently done with preprocessor constants in the code itself.

  • NODENAME: User friendly name of the node (used for the influxDB measurements)
  • BOARD: Board type (see line 17 ff.) for the right battery settings
  • DB_HOSTNAME: Host/ domain name of your influxDB (port is fixed to 8086)
  • DB_PASSWD: HTTP BasicAuth string used to sign in

Battery Lifespan

  • ESP12: About 6 months