feature/InfluxDB-Connection-Update #1

Merged
klaute merged 39 commits from feature/InfluxDB-Connection-Update into master 2022-05-23 17:36:59 +02:00
2 changed files with 4 additions and 6 deletions
Showing only changes of commit fdc9ddbf31 - Show all commits

View file

@ -128,12 +128,6 @@ void setup()
#ifndef BATTERY_POWERED #ifndef BATTERY_POWERED
setupWebUpdater(DEVICE_NAME, WiFi.localIP().toString()); setupWebUpdater(DEVICE_NAME, WiFi.localIP().toString());
#endif #endif
#endif
#ifdef HOMEBRIDGE_WEBSTAT
#ifndef BATTERY_POWERED
hb_webstat_server_setup();
#endif
#endif #endif
//It's magic! leave in //It's magic! leave in

4
firmware/influxdb.ino Executable file → Normal file
View file

@ -2,6 +2,8 @@
#include "config_user.h" #include "config_user.h"
#if INFLUXDB_VERSION == 2
// Data point // Data point
Point sensor(DEVICE_NAME); Point sensor(DEVICE_NAME);
@ -103,3 +105,5 @@ void _writePoint() {
} }
} }
#endif // influxdb version 2 check