Reboot while viewing webpage

My Iotawatt has started to reboot when I open the graph page. The WiFi appears to drop and reconnect according to my Unifi instance. I do have Emoncms and PV Output uploading and have started using HA integration. Could I be hitting it a bit hard perhaps?

SD initialized.
10/24/22 09:57:53z Real Time Clock is running. Unix time 1666605473
10/24/22 09:57:53z Reset reason: Exception
10/24/22 09:57:53z Trace: 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:1[4], 1:2, 9:0, 9:0, 8:4, 8:6, 8:8, 8:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
10/24/22 09:57:53z ESP8266 ID: 6308217, RTC PCF8523 (68)
10/24/22 09:57:53z IoTaWatt 5.0, Firmware version 02_07_05
10/24/22 09:57:53z SPIFFS mounted.
10/24/22 17:57:53 Local time zone: +8:00
10/24/22 17:57:53 device name: IotaWatt
10/24/22 17:57:53 HTTP server started
10/24/22 17:57:53 emoncms: Starting, interval:5, url:http://192.168.1.200
10/24/22 17:57:53 timeSync: service started.
10/24/22 17:57:53 statService: started.
10/24/22 17:57:53 dataLog: service started.
10/24/22 17:57:54 dataLog: Last log entry 10/24/22 17:57:50
10/24/22 17:57:58 historyLog: service started.
10/24/22 17:57:58 historyLog: Last log entry 10/24/22 17:57:00
10/24/22 17:57:59 WiFi connected. SSID=Richo IOT, IP=10.0.0.10, channel=5, RSSI -59db
10/24/22 17:57:59 MDNS responder started for hostname IotaWatt
10/24/22 17:57:59 LLMNR responder started for hostname IotaWatt
10/24/22 17:57:59 Updater: service started. Auto-update class is BETA
10/24/22 17:57:59 emoncms: Start posting at 10/24/22 17:57:45
10/24/22 17:58:01 Updater: Auto-update is current for class BETA.
10/24/22 17:58:02 PVoutput: started

I don’t think so. My home unit uploads to Emoncms, influxV1, influxV2, and PVoutput, as well as handles HA queries. My hunch is that it has more to do with the WiFi disconnects.

The exception is related to heap memory depletion. Almost all cases of this is related to unusual WiFi activity. Your RSSI is good, but I question the use of channel 5 vs one of the non-overlapping channels 1, 6 and 11.

At the time of the exception, the unit is checking the status of an upload to Emoncms. If you can recreate this problem with some regularity, it would be helpful to stop the Emoncms uploader from the status display and try to get it to fail. When you subsequently restart it, it will upload the backlog.

I would like to see more message log to get a better idea what is going on in general.

Fair call on the wifi. Will try that first. What’s the best way to get you the message log for a peruse?

You can download the most recent 20,000 characters with the URL:

http://iotawatt.local/iotawatt/iotamsgs.txt?textpos=-20000

The text will show in your browser window. You can save it from your browser to a file and then use the upload button in the forum to upload it.

image

If you would like to keep it private, upload it in a Private Message.

Interesting. Logs attached. No apparent reboots after the channel change so far. :slight_smile:
Iotawatt.txt (19.5 KB)