IoTaWatt restarting every day or so

Hello!

I have recently purchased an IoTaWatt and have it all set up with no problems. Except that I notice in the Message Log that it restarts a couple of times a day or so. I just wanted to see if there was anything I could look at to see why. I attach the message log and would really appreciate any pointers!
Thanks
James

11/22/21 22:51:25z Real Time Clock is running. Unix time 1637621485
11/22/21 22:51:25z Reset reason: Exception
11/22/21 22:51:25z Trace: 31:2[5], 31:120, 21:100[31], 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
11/22/21 22:51:25z ESP8266 ID: 16307851, RTC PCF8523
11/22/21 22:51:25z IoTaWatt 5.0, Firmware version 02_06_06
11/22/21 22:51:25z SPIFFS mounted.
11/22/21 22:51:25z Local time zone: +0:00, using DST/BST when in effect.
11/22/21 22:51:25z device name: IotaWatt
11/22/21 22:51:25z HTTP server started
11/22/21 22:51:25z emoncms: Starting, interval:10, url:
11/22/21 22:51:25z influxDB_v1: Starting, interval:10, url:
11/22/21 22:51:25z timeSync: service started.
11/22/21 22:51:25z statService: started.
11/22/21 22:51:25z dataLog: service started.
11/22/21 22:51:25z dataLog: Last log entry 11/22/21 22:51:20
11/22/21 22:51:29z WiFi connected. SSID=BFH, IP=192.168.1.135, channel=1, RSSI -68db
11/22/21 22:51:29z MDNS responder started for hostname IotaWatt
11/22/21 22:51:29z LLMNR responder started for hostname IotaWatt
11/22/21 22:51:29z Updater: service started. Auto-update class is MINOR
11/22/21 22:51:29z emoncms: Start posting at 11/22/21 22:51:10
11/22/21 22:51:30z historyLog: service started.
11/22/21 22:51:30z historyLog: Last log entry 11/22/21 22:51:00
11/22/21 22:51:30z influxDB_v1: Start posting at 11/22/21 22:51:10
11/22/21 22:51:32z Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
11/22/21 23:24:15z Real Time Clock is running. Unix time 1637623455
11/22/21 23:24:15z Reset reason: Exception
11/22/21 23:24:15z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
11/22/21 23:24:15z ESP8266 ID: 16307851, RTC PCF8523
11/22/21 23:24:15z IoTaWatt 5.0, Firmware version 02_06_06
11/22/21 23:24:15z SPIFFS mounted.
11/22/21 23:24:15z Local time zone: +0:00, using DST/BST when in effect.
11/22/21 23:24:15z device name: IotaWatt
11/22/21 23:24:15z HTTP server started
11/22/21 23:24:15z emoncms: Starting, interval:10, url:
11/22/21 23:24:15z influxDB_v1: Starting, interval:10, url:
11/22/21 23:24:15z timeSync: service started.
11/22/21 23:24:15z statService: started.
11/22/21 23:24:15z dataLog: service started.
11/22/21 23:24:16z dataLog: Last log entry 11/22/21 23:24:10
11/22/21 23:24:20z historyLog: service started.
11/22/21 23:24:20z historyLog: Last log entry 11/22/21 23:24:00
11/22/21 23:24:20z WiFi connected. SSID=BFH, IP=192.168.1.135, channel=1, RSSI -70db
11/22/21 23:24:20z MDNS responder started for hostname IotaWatt
11/22/21 23:24:20z LLMNR responder started for hostname IotaWatt
11/22/21 23:24:20z Updater: service started. Auto-update class is MINOR
11/22/21 23:24:20z emoncms: Start posting at 11/22/21 23:24:00
11/22/21 23:24:22z influxDB_v1: Start posting at 11/22/21 23:24:00
11/22/21 23:24:23z Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
11/23/21 00:31:44z Real Time Clock is running. Unix time 1637627504
11/23/21 00:31:44z Reset reason: Exception
11/23/21 00:31:44z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
11/23/21 00:31:44z ESP8266 ID: 16307851, RTC PCF8523
11/23/21 00:31:44z IoTaWatt 5.0, Firmware version 02_06_06
11/23/21 00:31:44z SPIFFS mounted.
11/23/21 00:31:44z Local time zone: +0:00, using DST/BST when in effect.
11/23/21 00:31:44z device name: IotaWatt
11/23/21 00:31:44z HTTP server started
11/23/21 00:31:44z emoncms: Starting, interval:10, url:
11/23/21 00:31:44z influxDB_v1: Starting, interval:10, url:
11/23/21 00:31:44z timeSync: service started.
11/23/21 00:31:44z statService: started.
11/23/21 00:31:44z dataLog: service started.
11/23/21 00:31:45z dataLog: Last log entry 11/23/21 00:31:40
11/23/21 00:31:49z historyLog: service started.
11/23/21 00:31:49z historyLog: Last log entry 11/23/21 00:31:00
11/23/21 00:31:49z WiFi connected. SSID=BFH, IP=192.168.1.135, channel=1, RSSI -72db
11/23/21 00:31:49z MDNS responder started for hostname IotaWatt
11/23/21 00:31:49z LLMNR responder started for hostname IotaWatt
11/23/21 00:31:49z Updater: service started. Auto-update class is MINOR
11/23/21 00:31:49z emoncms: Start posting at 11/23/21 00:31:30
11/23/21 00:31:50z Updater: Auto-update is current for class MINOR.
11/23/21 00:31:50z influxDB_v1: Start posting at 11/23/21 00:31:30

** Restart **

SD initialized.
11/23/21 05:47:04z Real Time Clock is running. Unix time 1637646424
11/23/21 05:47:04z Reset reason: Exception
11/23/21 05:47:04z Trace: 31:2[3], 32:60, 32:60, 32:60, 32:62, 32:63, 31:1, 1:6[6], 1:1[7], 1:2[8], 9:0[8], 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[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
11/23/21 05:47:04z ESP8266 ID: 16307851, RTC PCF8523
11/23/21 05:47:04z IoTaWatt 5.0, Firmware version 02_06_06
11/23/21 05:47:04z SPIFFS mounted.
11/23/21 05:47:04z Local time zone: +0:00, using DST/BST when in effect.
11/23/21 05:47:04z device name: IotaWatt
11/23/21 05:47:04z HTTP server started
11/23/21 05:47:04z emoncms: Starting, interval:10, url:
11/23/21 05:47:04z influxDB_v1: Starting, interval:10, url:
11/23/21 05:47:04z timeSync: service started.
11/23/21 05:47:04z statService: started.
11/23/21 05:47:04z dataLog: service started.
11/23/21 05:47:04z dataLog: Last log entry 11/23/21 05:47:00
11/23/21 05:47:09z historyLog: service started.
11/23/21 05:47:09z historyLog: Last log entry 11/23/21 05:47:00
11/23/21 05:47:09z WiFi connected. SSID=BFH, IP=192.168.1.135, channel=1, RSSI -73db
11/23/21 05:47:09z MDNS responder started for hostname IotaWatt
11/23/21 05:47:09z LLMNR responder started for hostname IotaWatt
11/23/21 05:47:09z Updater: service started. Auto-update class is MINOR
11/23/21 05:47:09z emoncms: Start posting at 11/23/21 05:46:50
11/23/21 05:47:11z Updater: Auto-update is current for class MINOR.
11/23/21 05:47:11z influxDB_v1: Start posting at 11/23/21 05:46:50

** Restart **

SD initialized.
11/23/21 05:56:23z Real Time Clock is running. Unix time 1637646983
11/23/21 05:56:23z Reset reason: Exception
11/23/21 05:56:23z Trace: 31:2[5], 31:120, 21:100[31], 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
11/23/21 05:56:23z ESP8266 ID: 16307851, RTC PCF8523
11/23/21 05:56:23z IoTaWatt 5.0, Firmware version 02_06_06
11/23/21 05:56:23z SPIFFS mounted.
11/23/21 05:56:23z Local time zone: +0:00, using DST/BST when in effect.
11/23/21 05:56:23z device name: IotaWatt
11/23/21 05:56:23z HTTP server started
11/23/21 05:56:23z emoncms: Starting, interval:10, url:
11/23/21 05:56:23z influxDB_v1: Starting, interval:10, url:
11/23/21 05:56:23z timeSync: service started.
11/23/21 05:56:23z statService: started.
11/23/21 05:56:23z dataLog: service started.
11/23/21 05:56:24z dataLog: Last log entry 11/23/21 05:56:20
11/23/21 05:56:28z historyLog: service started.
11/23/21 05:56:28z historyLog: Last log entry 11/23/21 05:56:00
11/23/21 05:56:28z WiFi connected. SSID=BFH, IP=192.168.1.135, channel=1, RSSI -73db
11/23/21 05:56:28z MDNS responder started for hostname IotaWatt
11/23/21 05:56:28z LLMNR responder started for hostname IotaWatt
11/23/21 05:56:28z Updater: service started. Auto-update class is MINOR
11/23/21 05:56:28z emoncms: Start posting at 11/23/21 05:56:00
11/23/21 05:56:29z influxDB_v1: Start posting at 11/23/21 05:56:00
11/23/21 05:56:31z Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
11/24/21 14:32:34z Real Time Clock is running. Unix time 1637764354
11/24/21 14:32:34z Reset reason: Exception
11/24/21 14:32:34z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
11/24/21 14:32:34z ESP8266 ID: 16307851, RTC PCF8523
11/24/21 14:32:34z IoTaWatt 5.0, Firmware version 02_06_06
11/24/21 14:32:34z SPIFFS mounted.
11/24/21 14:32:34z Local time zone: +0:00, using DST/BST when in effect.
11/24/21 14:32:34z device name: IotaWatt
11/24/21 14:32:34z HTTP server started
11/24/21 14:32:34z emoncms: Starting, interval:10, url:
11/24/21 14:32:34z influxDB_v1: Starting, interval:10, url:
11/24/21 14:32:34z timeSync: service started.
11/24/21 14:32:34z statService: started.
11/24/21 14:32:34z dataLog: service started.
11/24/21 14:32:35z dataLog: Last log entry 11/24/21 14:32:30
11/24/21 14:32:39z historyLog: service started.
11/24/21 14:32:39z historyLog: Last log entry 11/24/21 14:32:00
11/24/21 14:32:39z WiFi connected. SSID=BFH, IP=192.168.1.135, channel=1, RSSI -73db
11/24/21 14:32:39z MDNS responder started for hostname IotaWatt
11/24/21 14:32:39z LLMNR responder started for hostname IotaWatt
11/24/21 14:32:39z Updater: service started. Auto-update class is MINOR
11/24/21 14:32:39z emoncms: Start posting at 11/24/21 14:32:10
11/24/21 14:32:41z Updater: Auto-update is current for class MINOR.
11/24/21 14:32:42z influxDB_v1: Start posting at 11/24/21 14:32:10

Firmware version: 02_06_06


Running time: 7h 38m 54s
free Heap: 23536
772 samples per AC cycle
31.7 AC cycles sampled/second
50.0 Hz

Data Logs
|Current Log:|10/27/2021 16:57:35 - 11/24/2021 22:11:25|119.2 MB|
|History Log:|10/27/2021 16:58:00 - 11/24/2021 22:11:00|9.935 MB|

The trace indicates it’s happening in the emoncms uploader. Can you post your emoncms configuration display, and verify that it’s the emoncms upload that is causing the problem by stopping the emoncms uploader using the stop button in the status display, then wait a day or so to see if the restarts stop.

Thanks for your rapid response! emoncms config as follows:

Edit Emoncms Service
Node:
IotaWatt
post interval(sec):
10
bulk send:
1
upload history from:
dd/mm/yyyy
server URL:
http://192.168.1.134
api key:
••••••••••••••••••••••••••••••••
Specifying userid triggers secure encrypted protocol.
Emoncms userid
Emoncms inputs
edit 1 = VoltRef
edit 2 = I1_MeterTail
edit 3 = I2_SitRoomRing
edit 4 = I3_Hob
edit 5 = I4_DB3_south
edit 6 = I5_DB2_north
edit 7 = I6_SitRoomLights
edit 8 = I7_KRing1_west
edit 9 = I8_KRing2_east
edit 10 = I9_Oven1
edit 11 = I10_Oven2
edit 12 = I11_NorthRing1
edit 13 = Input_12
edit 14 = Input_13
edit 15 = Input_14
add

I have stopped it as you describe and will report back

Thanks
J

Hello again
Stopping the emoncms uploader stopped my iotawatt restarting.
Is there anything in the settings for the emoncms uploader that I can change for the better?
Thanks
J

Can you post a screenshot of your Emoncms setup please? You can upmost it in a private message.

I’m running 10.8.5 which is the latest version as far as I can tell:

James