Skip to content

ESP8266 firmware for sending data to InfluxDB

License

Notifications You must be signed in to change notification settings

tkouba/FluxTemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP-FLUX-TEMP

ESP-FLUX-TEMP is firmware for sending temperature to InfluxDB time series data platform. Firmware supports on-premise InfluxDB version 2.x and cloud-native service.

Prototype board with sensors

Features

  • ESP8266 platform (Wemos D1 Lite)
  • Runtime configuration via web browser, using WiFi Manager. Configuration captive portal is started automatically when configured WiFi is not available.
  • Compile time features selection (see config.h)
    • Use file secrets.h for secret default values (configuration of InfluxDB connection parameters)
    • Use built-in LED for blinking every measure and for other statuses such as configuration fail
    • Use "configuration" button for start AP mode and configuration portal. Useful for "testing" and "roaming" solution.
    • Use DHT sensor. Tested on DHT11 sensor for temperature and humidity measurement.
    • Use BMP280 temperature and air pressure sensor.
    • Use DS18B20 sensor.
    • Planned BME280 sensor.

Limitations

  • Only InfluxDB version 2.x is supported
  • Skip server certificate validation (currently not planned, but may be in the future)
  • No internal web server (and not planned)
  • Not optimized for power consume (deep sleep and etc, but may be in the future)

Schematic diagram

Schematic diagram

or browsable version on Circuit Diagram

Full schematic with all features connected to Wemos D1 Mini. Choose compile time feature and required hardware.

Libraries

The following external libraries are required:

Other resources

  • Time zones for server certificate validation. Remember it for far future.

Credits

About

ESP8266 firmware for sending data to InfluxDB

Resources

License

Stars

Watchers

Forks