"old" version of the sensor node for: adafruit huzzah, nodeMCU, ESP-07S or other boards.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Jannik Beyerstedt 06e6b8111b More docs, change influxdb domain name, tweak low battery threshold 3 years ago
.clang-format [CODE, TIDY] make use of RTC user memory + restructure code 5 years ago
.editorconfig [CODE, TIDY] make use of RTC user memory + restructure code 5 years ago
LICENSE first commit 5 years ago
Makefile first commit 5 years ago
README.md More docs, change influxdb domain name, tweak low battery threshold 3 years ago
esp8266-sensornode.ino More docs, change influxdb domain name, tweak low battery threshold 3 years ago
makeEspArduino.mk first commit 5 years ago
rtc-helpers.cpp More docs, change influxdb domain name, tweak low battery threshold 3 years ago
rtc-helpers.hpp [CODE, TIDY] make use of RTC user memory + restructure code 5 years ago

README.md

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