Yes. I also have InfluxDB1 running though I’ve tried manually stopping v1 so v2 is the only one running, same problem. InfluxDB2 full setup below.
I believe if the upload could resume from the last data uploaded it would eventually catch up to the most recent data. Message log as requested below. I’m not sure why there is the error regarding InfluxDB2 being invalid?
Message Log
6/28/21 20:40:33z IoTaWatt 5.0, Firmware version 02_06_04
6/28/21 20:40:33z SPIFFS mounted.
6/29/21 06:40:33 Local time zone: +10:00
6/29/21 06:40:33 Using Daylight Saving Time (BST) when in effect.
6/29/21 06:40:33 device name: IoTaWatt
6/29/21 06:40:33 HTTP server started
6/29/21 06:40:33 influxDB_v1: Starting, interval:10, url:http://192.168.10.109:8086
6/29/21 06:40:33 influxDB_v2: Starting, interval:5, url:http://192.168.10.253:8086
6/29/21 06:40:34 timeSync: service started.
6/29/21 06:40:34 statService: started.
6/29/21 06:40:34 dataLog: service started.
6/29/21 06:40:36 dataLog: Last log entry 06/29/21 06:40:30
6/29/21 06:40:39 historyLog: service started.
6/29/21 06:40:39 historyLog: Last log entry 06/29/21 06:40:00
6/29/21 06:40:40 WiFi connected. SSID=WiFi, IP=192.168.10.196, channel=2, RSSI -41db
6/29/21 06:40:40 MDNS responder started for hostname IoTaWatt
6/29/21 06:40:40 LLMNR responder started for hostname IoTaWatt
6/29/21 06:40:40 Updater: service started. Auto-update class is ALPHA
6/29/21 06:40:42 Updater: Auto-update is current for class ALPHA.
6/29/21 06:40:42 influxDB_v2: Start posting 01/01/21 01:00:05
6/29/21 06:40:44 Heap memory has degraded below safe minimum, restarting.
** Restart **
SD initialized.
6/28/21 20:40:45z Real Time Clock is running. Unix time 1624912845
6/28/21 20:40:45z Reset reason: Software/System restart
6/28/21 20:40:45z Trace: 20:7, 20:8, 20:9, 20:91, 1:6[6], 1:1, 1:2[1], 9:0[1], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[21], 1:6[4], 21:0, 21:1, 21:10, 21:10
6/28/21 20:40:45z ESP8266 ChipID: 6196660
6/28/21 20:40:45z IoTaWatt 5.0, Firmware version 02_06_04
6/28/21 20:40:45z SPIFFS mounted.
6/29/21 06:40:45 Local time zone: +10:00
6/29/21 06:40:45 Using Daylight Saving Time (BST) when in effect.
6/29/21 06:40:45 device name: IoTaWatt
6/29/21 06:40:45 HTTP server started
6/29/21 06:40:45 influxDB_v1: Starting, interval:10, url:http://192.168.10.109:8086
6/29/21 06:40:45 influxDB_v2: Starting, interval:5, url:http://192.168.10.253:8086
6/29/21 06:40:46 timeSync: service started.
6/29/21 06:40:46 statService: started.
6/29/21 06:40:46 dataLog: service started.
6/29/21 06:40:48 dataLog: Last log entry 06/29/21 06:40:40
6/29/21 06:40:51 historyLog: service started.
6/29/21 06:40:51 historyLog: Last log entry 06/29/21 06:40:00
6/29/21 06:40:52 WiFi connected. SSID=WiFi, IP=192.168.10.196, channel=2, RSSI -42db
6/29/21 06:40:52 MDNS responder started for hostname IoTaWatt
6/29/21 06:40:52 LLMNR responder started for hostname IoTaWatt
6/29/21 06:40:52 Updater: service started. Auto-update class is ALPHA
6/29/21 06:40:53 influxDB_v2: Start posting 01/01/21 01:00:05
6/29/21 06:40:59 Updater: Auto-update is current for class ALPHA.
6/29/21 06:41:00 Heap memory has degraded below safe minimum, restarting.
** Restart **
SD initialized.
6/28/21 20:41:01z Real Time Clock is running. Unix time 1624912861
6/28/21 20:41:01z Reset reason: Software/System restart
6/28/21 20:41:01z Trace: 31:120, 21:100[31], 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[5], 31:120, 21:100[31], 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[3], 1:5[21], 1:6[4], 21:0, 21:1, 21:10, 21:10
6/28/21 20:41:01z ESP8266 ChipID: 6196660
6/28/21 20:41:01z IoTaWatt 5.0, Firmware version 02_06_04
6/28/21 20:41:01z SPIFFS mounted.
6/29/21 06:41:01 Local time zone: +10:00
6/29/21 06:41:01 Using Daylight Saving Time (BST) when in effect.
6/29/21 06:41:01 device name: IoTaWatt
6/29/21 06:41:01 HTTP server started
6/29/21 06:41:01 influxDB_v1: Starting, interval:10, url:http://192.168.10.109:8086
6/29/21 06:41:02 influxDB_v2: Starting, interval:5, url:http://192.168.10.253:8086
6/29/21 06:41:02 timeSync: service started.
6/29/21 06:41:02 statService: started.
6/29/21 06:41:02 dataLog: service started.
6/29/21 06:41:04 dataLog: Last log entry 06/29/21 06:41:00
6/29/21 06:41:07 historyLog: service started.
6/29/21 06:41:07 historyLog: Last log entry 06/29/21 06:40:00
6/29/21 06:41:08 WiFi connected. SSID=WiFi, IP=192.168.10.196, channel=2, RSSI -42db
6/29/21 06:41:08 MDNS responder started for hostname IoTaWatt
6/29/21 06:41:08 LLMNR responder started for hostname IoTaWatt
6/29/21 06:41:08 Updater: service started. Auto-update class is ALPHA
6/29/21 06:41:09 influxDB_v2: Start posting 01/01/21 01:00:05
6/29/21 06:41:10 Updater: Auto-update is current for class ALPHA.
6/29/21 06:41:17 influxDB_v1: Start posting at 06/29/21 06:40:00
6/29/21 07:41:20 Heap memory has degraded below safe minimum, restarting.
** Restart **
SD initialized.
6/28/21 21:41:21z Real Time Clock is running. Unix time 1624916481
6/28/21 21:41:21z Reset reason: Software/System restart
6/28/21 21:41:21z Trace: 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[5], 31:120, 21:100[31], 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[21], 1:6[4], 21:0, 21:1, 21:10, 21:10
6/28/21 21:41:21z ESP8266 ChipID: 6196660
6/28/21 21:41:21z IoTaWatt 5.0, Firmware version 02_06_04
6/28/21 21:41:21z SPIFFS mounted.
6/29/21 07:41:21 Local time zone: +10:00
6/29/21 07:41:21 Using Daylight Saving Time (BST) when in effect.
6/29/21 07:41:21 device name: IoTaWatt
6/29/21 07:41:21 HTTP server started
6/29/21 07:41:21 influxDB_v1: Starting, interval:10, url:http://192.168.10.109:8086
6/29/21 07:41:22 influxDB_v2: Starting, interval:5, url:http://192.168.10.253:8086
6/29/21 07:41:22 timeSync: service started.
6/29/21 07:41:22 statService: started.
6/29/21 07:41:22 dataLog: service started.
6/29/21 07:41:24 dataLog: Last log entry 06/29/21 07:41:20
6/29/21 07:41:27 historyLog: service started.
6/29/21 07:41:27 historyLog: Last log entry 06/29/21 07:41:00
6/29/21 07:41:28 WiFi connected. SSID=WiFi, IP=192.168.10.196, channel=2, RSSI -42db
6/29/21 07:41:28 MDNS responder started for hostname IoTaWatt
6/29/21 07:41:28 LLMNR responder started for hostname IoTaWatt
6/29/21 07:41:28 Updater: service started. Auto-update class is ALPHA
6/29/21 07:41:29 influxDB_v2: Start posting 01/01/21 01:00:05
6/29/21 07:41:30 Updater: Auto-update is current for class ALPHA.
6/29/21 07:41:32 Heap memory has degraded below safe minimum, restarting.
** Restart **
SD initialized.
6/28/21 21:41:33z Real Time Clock is running. Unix time 1624916493
6/28/21 21:41:33z Reset reason: Software/System restart
6/28/21 21:41:33z Trace: 20:9, 20:10, 20:12, 20:14, 1:6[6], 1:1[6], 1:2[7], 9:0[7], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[21], 1:6[4], 21:0, 21:1, 21:10, 21:10
6/28/21 21:41:33z ESP8266 ChipID: 6196660
6/28/21 21:41:33z IoTaWatt 5.0, Firmware version 02_06_04
6/28/21 21:41:33z SPIFFS mounted.
6/29/21 07:41:33 Local time zone: +10:00
6/29/21 07:41:33 Using Daylight Saving Time (BST) when in effect.
6/29/21 07:41:33 device name: IoTaWatt
6/29/21 07:41:33 HTTP server started
6/29/21 07:41:33 influxDB_v1: Starting, interval:10, url:http://192.168.10.109:8086
6/29/21 07:41:34 influxDB_v2: Starting, interval:5, url:http://192.168.10.253:8086
6/29/21 07:41:34 timeSync: service started.
6/29/21 07:41:34 statService: started.
6/29/21 07:41:34 dataLog: service started.
6/29/21 07:41:36 dataLog: Last log entry 06/29/21 07:41:30
6/29/21 07:41:39 historyLog: service started.
6/29/21 07:41:39 historyLog: Last log entry 06/29/21 07:41:00
6/29/21 07:41:40 WiFi connected. SSID=WiFi, IP=192.168.10.196, channel=2, RSSI -41db
6/29/21 07:41:40 MDNS responder started for hostname IoTaWatt
6/29/21 07:41:40 LLMNR responder started for hostname IoTaWatt
6/29/21 07:41:40 Updater: service started. Auto-update class is ALPHA
6/29/21 07:41:41 influxDB_v2: Start posting 01/01/21 01:00:05
6/29/21 07:41:44 Updater: Auto-update is current for class ALPHA.
6/29/21 07:41:51 influxDB_v1: Start posting at 06/29/21 07:41:00
6/29/21 10:42:11 Heap memory has degraded below safe minimum, restarting.
** Restart **
SD initialized.
6/29/21 00:42:12z Real Time Clock is running. Unix time 1624927332
6/29/21 00:42:12z Reset reason: Software/System restart
6/29/21 00:42:12z Trace: 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[3], 1:5[21], 1:6[4], 21:0, 21:1, 21:10, 21:10
6/29/21 00:42:12z ESP8266 ChipID: 6196660
6/29/21 00:42:12z IoTaWatt 5.0, Firmware version 02_06_04
6/29/21 00:42:12z SPIFFS mounted.
6/29/21 10:42:12 Local time zone: +10:00
6/29/21 10:42:12 Using Daylight Saving Time (BST) when in effect.
6/29/21 10:42:12 device name: IoTaWatt
6/29/21 10:42:12 HTTP server started
6/29/21 10:42:12 influxDB_v1: Starting, interval:10, url:http://192.168.10.109:8086
6/29/21 10:42:13 influxDB_v2: Starting, interval:5, url:http://192.168.10.253:8086
6/29/21 10:42:13 timeSync: service started.
6/29/21 10:42:13 statService: started.
6/29/21 10:42:13 dataLog: service started.
6/29/21 10:42:15 dataLog: Last log entry 06/29/21 10:42:10
6/29/21 10:42:18 historyLog: service started.
6/29/21 10:42:18 historyLog: Last log entry 06/29/21 10:42:00
6/29/21 10:42:18 WiFi connected. SSID=WiFi, IP=192.168.10.196, channel=2, RSSI -41db
6/29/21 10:42:18 MDNS responder started for hostname IoTaWatt
6/29/21 10:42:18 LLMNR responder started for hostname IoTaWatt
6/29/21 10:42:19 Updater: service started. Auto-update class is ALPHA
6/29/21 10:42:20 influxDB_v2: Start posting 01/01/21 01:00:05
6/29/21 10:42:22 Updater: Auto-update is current for class ALPHA.
6/29/21 10:42:27 influxDB_v1: Start posting at 06/29/21 10:41:40
6/29/21 10:53:45 influxDB_v2: Config parse failed
6/29/21 10:53:45 influxDB_v2: Invalid configuration.
6/29/21 10:53:46 influxDB_v2: stopped, Last post 01/01/21 06:18:35
Ah, I see! I tried to read through the documentation to see if I was missing something but perhaps this isn’t documented yet?
That is something I have thought of doing to resolve the problem, though my InfluxDB1 config is only slightly smaller and it doesn’t have any issue uploading, even stopped it for a few weeks while I was testing and when resumed experienced no issue uploading from the IoTaWatt.
I do like having all the data possible in Influx so I can graph it in Grafana. But fair point regarding uploading kWh. I’d ideally like to upload the Watts and Amps for each measurement.