Rebooting every 15 minutes - Different Problem - resolved

Rather than adding to the last post about rebooting every 15 sec, I thought this was really a different problem. Here’s the last bit of my log:

SD initialized.
9/30/20 03:15:13z Real Time Clock is running. Unix time 1601435713
9/30/20 03:15:13z Reset reason: Software/System restart
9/30/20 03:15:13z Trace: 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:4, 18:5, 1:6, 1:3, 1:4, 1:5[21], 21:0, 21:1, 21:10, 21:20, 21:21, 21:22
9/30/20 03:15:13z ESP8266 ChipID: 6195317
9/30/20 03:15:13z IoTaWatt 5.0, Firmware version 02_05_09
9/30/20 03:15:13z SPIFFS mounted.
9/29/20 23:15:13 Local time zone: -5:00
9/29/20 23:15:13 Using Daylight Saving Time (BST) when in effect.
9/29/20 23:15:13 device name: IotaWatt
9/29/20 23:15:13 HTTP server started
9/29/20 23:15:13 timeSync: service started.
9/29/20 23:15:13 statService: started.
9/29/20 23:15:14 dataLog: service started.
9/29/20 23:15:14 dataLog: Last log entry 09/29/20 23:15:10
9/29/20 23:15:18 influxDB: started, url=HTTP://localhost:8086, db=iotawatt, interval=10
9/29/20 23:15:19 Updater: service started. Auto-update class is MINOR
9/29/20 23:15:19 WiFi connected. SSID=ATT6AbiV3A, IP=192.168.1.100, channel=6, RSSI -70db
9/29/20 23:15:19 MDNS responder started for hostname IotaWatt
9/29/20 23:15:19 LLMNR responder started for hostname IotaWatt
9/29/20 23:15:20 Updater: Auto-update is current for class MINOR.
9/29/20 23:16:15 historyLog: service started.
9/29/20 23:16:15 historyLog: Last log entry 09/29/20 23:15:00
9/29/20 23:30:19 Incomplete HTTP request detected, id 7, restarting.

** Restart **

SD initialized.
9/30/20 03:30:21z Real Time Clock is running. Unix time 1601436621
9/30/20 03:30:21z Reset reason: Software/System restart
9/30/20 03:30:21z Trace: 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:2, 18:3, 18:4, 18:5, 1:6, 1:3, 1:4, 1:5[21], 21:0, 21:1, 21:10, 21:20, 21:21, 21:22
9/30/20 03:30:21z ESP8266 ChipID: 6195317
9/30/20 03:30:21z IoTaWatt 5.0, Firmware version 02_05_09
9/30/20 03:30:21z SPIFFS mounted.
9/29/20 23:30:21 Local time zone: -5:00
9/29/20 23:30:21 Using Daylight Saving Time (BST) when in effect.
9/29/20 23:30:21 device name: IotaWatt
9/29/20 23:30:21 HTTP server started
9/29/20 23:30:21 timeSync: service started.
9/29/20 23:30:21 statService: started.
9/29/20 23:30:22 dataLog: service started.
9/29/20 23:30:22 dataLog: Last log entry 09/29/20 23:30:15
9/29/20 23:30:26 influxDB: started, url=HTTP://localhost:8086, db=iotawatt, interval=10
9/29/20 23:30:27 Updater: service started. Auto-update class is MINOR
9/29/20 23:30:27 WiFi connected. SSID=ATT6AbiV3A, IP=192.168.1.100, channel=6, RSSI -70db
9/29/20 23:30:27 MDNS responder started for hostname IotaWatt
9/29/20 23:30:27 LLMNR responder started for hostname IotaWatt
9/29/20 23:30:28 Updater: Auto-update is current for class MINOR.
9/29/20 23:31:23 historyLog: service started.
9/29/20 23:31:23 historyLog: Last log entry 09/29/20 23:30:00
9/29/20 23:45:27 Incomplete HTTP request detected, id 7, restarting.

** Restart **

SD initialized.
9/30/20 03:45:29z Real Time Clock is running. Unix time 1601437529
9/30/20 03:45:29z Reset reason: Software/System restart
9/30/20 03:45:29z Trace: 1:5[7], 7:0, 7:5, 1:6, 1:1[3], 1:2[4], 9:0[4], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:4, 1:5[7], 7:0, 7:5, 1:6, 1:3, 1:4, 1:5[21], 21:0, 21:1, 21:10, 21:20, 21:21, 21:22
9/30/20 03:45:29z ESP8266 ChipID: 6195317
9/30/20 03:45:29z IoTaWatt 5.0, Firmware version 02_05_09
9/30/20 03:45:29z SPIFFS mounted.
9/29/20 23:45:29 Local time zone: -5:00
9/29/20 23:45:29 Using Daylight Saving Time (BST) when in effect.
9/29/20 23:45:29 device name: IotaWatt
9/29/20 23:45:29 HTTP server started
9/29/20 23:45:29 timeSync: service started.
9/29/20 23:45:29 statService: started.
9/29/20 23:45:30 dataLog: service started.
9/29/20 23:45:30 dataLog: Last log entry 09/29/20 23:45:25
9/29/20 23:45:34 influxDB: started, url=HTTP://localhost:8086, db=iotawatt, interval=10
9/29/20 23:45:35 Updater: service started. Auto-update class is MINOR
9/29/20 23:45:35 WiFi connected. SSID=ATT6AbiV3A, IP=192.168.1.100, channel=6, RSSI -69db
9/29/20 23:45:35 MDNS responder started for hostname IotaWatt
9/29/20 23:45:35 LLMNR responder started for hostname IotaWatt
9/29/20 23:45:36 Updater: Auto-update is current for class MINOR.
9/29/20 23:46:31 historyLog: service started.
9/29/20 23:46:31 historyLog: Last log entry 09/29/20 23:45:00

You can see it’s rebooting every 15 sec but in my case this started happening after trying to install InfluxDB. I’m sure the last line before the restart is a clue to what’s going on but I’m at a complete loss as to what’s wrong with my InfluxDB install. The service seems to be running fine. I can get in to it and create a database but there appears to be no data flowing from the IotaWatt to InfluxDB. I did see the post here about the incomplete HTTP request, but again, there doesn’t appear to be any data flowing to InfluxDB. Any thoughts?

Dave

I think this is related to the use of localhost to address the influx instance. Can you try using the actual IP address of the device hosting influx?

Looks like that did the trick! There’s lots of data in the database now. See the log below. The InfluxDB restarts at the bottom of the log are a result of hitting the Save button on the Edit InfluxDB Service screen, but you can see it’s moving the data over. Now I guess it’s time to get Grafana working.

SD initialized.
9/30/20 18:46:33z Real Time Clock is running. Unix time 1601491593
9/30/20 18:46:33z Reset reason: Software/System restart
9/30/20 18:46:33z Trace: 9:9, 1:2, 1:3, 1:4, 1:5[7], 7:0, 7:7, 7:7, 7:7, 7:7, 7:71, 7:71, 7:71, 7:7, 7:7, 1:6, 1:1[1], 1:2[2], 9:0[2], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 10:2, 10:3
9/30/20 18:46:33z ESP8266 ChipID: 6195317
9/30/20 18:46:33z IoTaWatt 5.0, Firmware version 02_05_09
9/30/20 18:46:33z SPIFFS mounted.
9/30/20 14:46:33 Local time zone: -5:00
9/30/20 14:46:33 Using Daylight Saving Time (BST) when in effect.
9/30/20 14:46:33 device name: IotaWatt
9/30/20 14:46:33 HTTP server started
9/30/20 14:46:33 timeSync: service started.
9/30/20 14:46:33 statService: started.
9/30/20 14:46:34 dataLog: service started.
9/30/20 14:46:34 dataLog: Last log entry 09/30/20 14:46:30
9/30/20 14:46:38 influxDB: started, url=HTTP://192.168.1.64:8086, db=iotawatt, interval=10
9/30/20 14:46:39 Updater: service started. Auto-update class is MINOR
9/30/20 14:46:39 WiFi connected. SSID=ATT6AbiV3A, IP=192.168.1.100, channel=6, RSSI -54db
9/30/20 14:46:39 MDNS responder started for hostname IotaWatt
9/30/20 14:46:39 LLMNR responder started for hostname IotaWatt
9/30/20 14:46:39 influxDB: Start posting at 09/27/20 13:16:20
9/30/20 14:46:40 Updater: Auto-update is current for class MINOR.
9/30/20 14:47:35 historyLog: service started.
9/30/20 14:47:35 historyLog: Last log entry 09/30/20 14:46:00
9/30/20 14:49:36 influxDB: Restart. Last post 09/27/20 23:52:00
9/30/20 14:49:36 influxDB: started, url=HTTP://192.168.1.64:8086, db=iotawatt, interval=10
9/30/20 14:49:37 influxDB: Start posting at 09/27/20 23:52:10
9/30/20 14:51:25 influxDB: Restart. Last post 09/28/20 06:22:00
9/30/20 14:51:25 influxDB: started, url=HTTP://192.168.1.64:8086, db=iotawatt, interval=10
9/30/20 14:51:25 influxDB: Start posting at 09/28/20 06:22:10

1 Like