IoTaWatt seems to require daily rebooting to access


#21

That’s a big clue. It happens almost exactly 15 minutes after the previous disconnect/reconnect. This is a watchdog timer in IoTaWatt that checks for client requests that never complete. The timeout interval is 15 minutes.

This indicates to me that the low-level IP code didn’t properly clean up and reset when WiFi disconnected. Now that you are running PVoutput, it has been detected with client requests.

Lets wait for the ping test after the next webserver stoppage. I’m guessing it will work.


#22

I’ve been able to access since last time, as late as 5:20PM today (over two full days of uninterrupted access). But at 7:38PM today it didn’t work. I ping’d the IP. 4 packets sent, 4 received, 0 lost. “Destination host unreachable” each time. I did it 3 times with the same response.
Anything I should do before I reboot the wifi?


#23

No, but after it’s working again, could you ping again and see if you still get the “Destination host unreachable”?


#24

OK. I ping’d again while it was working, same response (“Destination host unreachable”).

Here is the latest log, it looks like it restarted itself because of a FW upgrade but that was while it was still accessible.

4/02/19 09:09:43 Updater: Update from 02_03_21 to 02_04_00
4/02/19 09:09:43 Updater: download 02_04_00
4/02/19 09:09:50 Updater: Release downloaded 6681ms, size 670392
4/02/19 09:09:57 Updater: Update downloaded and signature verified
4/02/19 09:10:03 Updater: firmware upgraded to version 02_04_00
4/02/19 09:10:03 Firmware updated, restarting.

** Restart **

SD initialized.
4/02/19 14:10:11z Real Time Clock is running. Unix time 1554214211
4/02/19 14:10:11z Reset reason: Software/System restart
4/02/19 14:10:11z Trace: 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:4, 1:5[19], 1: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:4, 1:5[5]
4/02/19 14:10:11z ESP8266 ChipID: 2518015
4/02/19 14:10:11z IoTaWatt 4.x, Firmware version 02_04_00
4/02/19 14:10:11z Updater: Installing update files for version 02_04_00
4/02/19 14:10:11z Updater: Installing GRAPH.JS
4/02/19 14:10:11z Updater: Installing INDEX.HTM
4/02/19 14:10:12z Updater: Installing TABLES.TXT
4/02/19 14:10:12z Updater: Installing CNFSTYLE.CSS
4/02/19 14:10:12z Updater: Installing EDIT.HTM
4/02/19 14:10:12z Updater: Installing GRAPH.HTM
4/02/19 14:10:13z Updater: Installation complete.
4/02/19 14:10:13z SPIFFS mounted.
4/02/19 09:10:14 Local time zone: -6:00
4/02/19 09:10:14 Using Daylight Saving Time (BST) when in effect.
4/02/19 09:10:14 device name: IotaWatt
4/02/19 09:10:14 MDNS responder started for hostname IotaWatt
4/02/19 09:10:14 LLMNR responder started for hostname IotaWatt
4/02/19 09:10:14 HTTP server started
4/02/19 09:10:14 timeSync: service started.
4/02/19 09:10:14 statService: started.
4/02/19 09:10:14 dataLog: service started.
4/02/19 09:10:14 dataLog: Last log entry 04/02/19 09:09:50
4/02/19 09:10:14 historyLog: service started.
4/02/19 09:10:14 historyLog: Last log entry 04/02/19 09:09:00
4/02/19 09:10:15 WiFi connected. SSID=Konkle, IP=192.168.0.4, channel=1, RSSI -61db
4/02/19 09:10:15 Updater: service started. Auto-update class is MINOR
4/02/19 09:10:16 Updater: Auto-update is current for class MINOR.
4/02/19 09:10:24 PVoutput: started
4/02/19 09:10:24 PVoutput: System MicroWatt, interval 5, freeload mode
4/02/19 09:10:24 PVoutput: Start status beginning 04/02/19 09:05:00
4/02/19 20:57:02 WiFi disconnected.
4/02/19 20:58:05 WiFi connected. SSID=Konkle, IP=192.168.0.4, channel=11, RSSI -54db