IoTaWatt seems to require daily rebooting to access


#1

Hello, I installed IoTaWatt last Thursday and I’m very pleased. It’s been quite accurate and convenient to use the basic functionality. I’m monitoring mains and 8 other circuits including an electric car which I’m trying to track more closely (it is our biggest consumer of course).

However, in the last two days I have been unable to access iotawatt.local. Unplugging the power supply for a few seconds seems to fix it but I’m tired of running down there to reboot.

Any ideas?


#2

That’s not normal. Could you post the message logplease?


#3

ESP8266 ChipID: 2518015
IoTaWatt revision 4.8, firmware version 02_03_21
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.

** Restart **

SD initialized.
Real Time Clock not initialized.
Reset reason: External System
Trace: 5:100[82], 8:31[213], 40:193[114], 137:174[150], 250:77[5], 132:214[79], 121:164[151], 25:128[16], 183:217[214], 33:163[22], 246:229[98], 147:206[215], 130:145[103], 76:126[137], 243:125[124], 144:78[250], 103:78[29], 0:27[249], 218:95[68], 183:214[167], 48:1[89], 73:231[247], 220:25[116], 1:104[39], 221:0[149], 14:189[157], 12:161[13], 14:216[58], 59:56[166], 33:103[34], 165:203[217], 27:197[110]
ESP8266 ChipID: 2518015
IoTaWatt revision 4.8, firmware version 02_03_21
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.
RTC not running, waiting for WiFi.
MDNS responder started for hostname IotaWatt
LLMNR responder started for hostname IotaWatt
HTTP server started
WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
timeSync: service started.
statService: started.
Updater: service started. Auto-update class is MINOR
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
3/22/19 00:28:28z timeSync: RTC initalized to NTP time
3/22/19 00:28:28z dataLog: service started.
3/22/19 00:28:28z dataLog: New current log created.
3/22/19 00:28:29z Updater: Auto-update is current for class MINOR.
3/22/19 00:30:28z historyLog: service started.
3/22/19 00:30:28z historyLog: first entry 03/22/19 00:29:00

** Restart **

SD initialized.
3/22/19 00:37:28z Real Time Clock is running. Unix time 1553215048
3/22/19 00:37:28z Power failure detected.
3/22/19 00:37:28z Reset reason: External System
3/22/19 00:37:28z ESP8266 ChipID: 2518015
3/22/19 00:37:28z IoTaWatt revision 4.8, firmware version 02_03_21
3/22/19 00:37:28z SPIFFS mounted.
3/21/19 19:37:29 Local time zone: -6:00
3/21/19 19:37:29 Using Daylight Saving Time (BST) when in effect.
3/21/19 19:37:29 device name: IotaWatt
3/21/19 19:37:32 Connecting with WiFiManager.
3/21/19 19:37:36 MDNS responder started for hostname IotaWatt
3/21/19 19:37:36 LLMNR responder started for hostname IotaWatt
3/21/19 19:37:36 HTTP server started
3/21/19 19:37:36 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -60db
3/21/19 19:37:36 timeSync: service started.
3/21/19 19:37:36 statService: started.
3/21/19 19:37:36 Updater: service started. Auto-update class is MINOR
3/21/19 19:37:36 dataLog: service started.
3/21/19 19:37:36 dataLog: Last log entry 03/21/19 19:37:10
3/21/19 19:37:36 historyLog: service started.
3/21/19 19:37:36 historyLog: Last log entry 03/21/19 19:37:00
3/21/19 19:37:38 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/24/19 15:14:26z Real Time Clock is running. Unix time 1553440466
3/24/19 15:14:26z Power failure detected.
3/24/19 15:14:26z Reset reason: External System
3/24/19 15:14:26z ESP8266 ChipID: 2518015
3/24/19 15:14:26z IoTaWatt revision 4.8, firmware version 02_03_21
3/24/19 15:14:26z SPIFFS mounted.
3/24/19 10:14:27 Local time zone: -6:00
3/24/19 10:14:27 Using Daylight Saving Time (BST) when in effect.
3/24/19 10:14:27 device name: IotaWatt
3/24/19 10:14:30 Connecting with WiFiManager.
3/24/19 10:14:35 MDNS responder started for hostname IotaWatt
3/24/19 10:14:35 LLMNR responder started for hostname IotaWatt
3/24/19 10:14:35 HTTP server started
3/24/19 10:14:36 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
3/24/19 10:14:36 timeSync: service started.
3/24/19 10:14:36 statService: started.
3/24/19 10:14:36 Updater: service started. Auto-update class is MINOR
3/24/19 10:14:36 dataLog: service started.
3/24/19 10:14:36 dataLog: Last log entry 03/24/19 10:14:15
3/24/19 10:14:36 historyLog: service started.
3/24/19 10:14:36 historyLog: Last log entry 03/24/19 10:14:00
3/24/19 10:14:37 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/24/19 23:52:01z Real Time Clock is running. Unix time 1553471521
3/24/19 23:52:01z Power failure detected.
3/24/19 23:52:01z Reset reason: External System
3/24/19 23:52:01z ESP8266 ChipID: 2518015
3/24/19 23:52:01z IoTaWatt revision 4.8, firmware version 02_03_21
3/24/19 23:52:01z SPIFFS mounted.
3/24/19 18:52:02 Local time zone: -6:00
3/24/19 18:52:02 Using Daylight Saving Time (BST) when in effect.
3/24/19 18:52:02 device name: IotaWatt
3/24/19 18:52:05 Connecting with WiFiManager.
3/24/19 18:52:11 MDNS responder started for hostname IotaWatt
3/24/19 18:52:11 LLMNR responder started for hostname IotaWatt
3/24/19 18:52:11 HTTP server started
3/24/19 18:52:11 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
3/24/19 18:52:11 timeSync: service started.
3/24/19 18:52:11 statService: started.
3/24/19 18:52:11 Updater: service started. Auto-update class is MINOR
3/24/19 18:52:11 dataLog: service started.
3/24/19 18:52:11 dataLog: Last log entry 03/24/19 18:51:55
3/24/19 18:52:11 historyLog: service started.
3/24/19 18:52:11 historyLog: Last log entry 03/24/19 18:51:00
3/24/19 18:52:13 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/25/19 03:10:36z Real Time Clock is running. Unix time 1553483436
3/25/19 03:10:36z Power failure detected.
3/25/19 03:10:36z Reset reason: External System
3/25/19 03:10:36z ESP8266 ChipID: 2518015
3/25/19 03:10:36z IoTaWatt revision 4.8, firmware version 02_03_21
3/25/19 03:10:36z SPIFFS mounted.
3/24/19 22:10:37 Local time zone: -6:00
3/24/19 22:10:37 Using Daylight Saving Time (BST) when in effect.
3/24/19 22:10:37 device name: IotaWatt
3/24/19 22:10:40 Connecting with WiFiManager.
3/24/19 22:10:44 MDNS responder started for hostname IotaWatt
3/24/19 22:10:44 LLMNR responder started for hostname IotaWatt
3/24/19 22:10:44 HTTP server started
3/24/19 22:10:44 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -54db
3/24/19 22:10:44 timeSync: service started.
3/24/19 22:10:44 statService: started.
3/24/19 22:10:44 Updater: service started. Auto-update class is MINOR
3/24/19 22:10:44 dataLog: service started.
3/24/19 22:10:44 dataLog: Last log entry 03/24/19 22:10:30
3/24/19 22:10:44 historyLog: service started.
3/24/19 22:10:44 historyLog: Last log entry 03/24/19 22:10:00
3/24/19 22:10:46 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/25/19 14:18:35z Real Time Clock is running. Unix time 1553523515
3/25/19 14:18:35z Power failure detected.
3/25/19 14:18:35z Reset reason: External System
3/25/19 14:18:35z ESP8266 ChipID: 2518015
3/25/19 14:18:35z IoTaWatt revision 4.8, firmware version 02_03_21
3/25/19 14:18:35z SPIFFS mounted.
3/25/19 09:18:36 Local time zone: -6:00
3/25/19 09:18:36 Using Daylight Saving Time (BST) when in effect.
3/25/19 09:18:36 device name: IotaWatt
3/25/19 09:18:39 Connecting with WiFiManager.
3/25/19 09:18:44 MDNS responder started for hostname IotaWatt
3/25/19 09:18:44 LLMNR responder started for hostname IotaWatt
3/25/19 09:18:44 HTTP server started
3/25/19 09:18:44 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -56db
3/25/19 09:18:44 timeSync: service started.
3/25/19 09:18:48 statService: started.
3/25/19 09:18:48 Updater: service started. Auto-update class is MINOR
3/25/19 09:18:48 dataLog: service started.
3/25/19 09:18:48 dataLog: Last log entry 03/25/19 09:18:30
3/25/19 09:18:48 historyLog: service started.
3/25/19 09:18:48 historyLog: Last log entry 03/25/19 09:18:00
3/25/19 09:18:49 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/26/19 11:43:48z Real Time Clock is running. Unix time 1553600628
3/26/19 11:43:48z Power failure detected.
3/26/19 11:43:48z Reset reason: External System
3/26/19 11:43:48z ESP8266 ChipID: 2518015
3/26/19 11:43:48z IoTaWatt revision 4.8, firmware version 02_03_21
3/26/19 11:43:48z SPIFFS mounted.
3/26/19 06:43:49 Local time zone: -6:00
3/26/19 06:43:49 Using Daylight Saving Time (BST) when in effect.
3/26/19 06:43:49 device name: IotaWatt
3/26/19 06:43:52 Connecting with WiFiManager.
3/26/19 06:43:58 MDNS responder started for hostname IotaWatt
3/26/19 06:43:58 LLMNR responder started for hostname IotaWatt
3/26/19 06:43:58 HTTP server started
3/26/19 06:43:58 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -59db
3/26/19 06:43:58 timeSync: service started.
3/26/19 06:43:58 statService: started.
3/26/19 06:43:58 Updater: service started. Auto-update class is MINOR
3/26/19 06:43:58 dataLog: service started.
3/26/19 06:43:58 dataLog: Last log entry 03/26/19 06:43:35
3/26/19 06:43:58 historyLog: service started.
3/26/19 06:43:58 historyLog: Last log entry 03/26/19 06:43:00
3/26/19 06:44:00 Updater: Auto-update is current for class MINOR.


#4

That all looks perf3ctly normal. WiFi signal is strong. Notwithstanding the restarts, logging has been fine and you should have no significant gaps in your data.

I’m at a loss to explain why you can’t get to the web-server. The IoTaWatt is running normal.

What kind of device and browser are you using? Do you happen to have an IOS device that you could try when the IoTaWatt.local doesn’t seem to work?

Also, the IP assigned has been 192.168.0.10. Could you try accessing with that instead of the .local url?

Id like to establish if this is an addressing problem vs web-server problem.


#5

I am accessing it using an iphone. I’ve also used the Chrome browser on my PC.

I can access iotawatt on either device using the IP address also, but currently iotawatt.local is working. I will try the IP the next time iotawatt.local doesn’t work.

Thanks!


#6

Hi @overeasy, today I couldn’t access it again through iotawatt.local so I tried the IP and it still didn’t work using either device.


#7

Would it be too inconvenient to reboot your router?


#8

Not at all :slight_smile:. Rebooting the router also fixed the issue, at least for now.


#9

could you post the message log?


#10

ESP8266 ChipID: 2518015
IoTaWatt revision 4.8, firmware version 02_03_21
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.

** Restart **

SD initialized.
Real Time Clock not initialized.
Reset reason: External System
Trace: 5:100[82], 8:31[213], 40:193[114], 137:174[150], 250:77[5], 132:214[79], 121:164[151], 25:128[16], 183:217[214], 33:163[22], 246:229[98], 147:206[215], 130:145[103], 76:126[137], 243:125[124], 144:78[250], 103:78[29], 0:27[249], 218:95[68], 183:214[167], 48:1[89], 73:231[247], 220:25[116], 1:104[39], 221:0[149], 14:189[157], 12:161[13], 14:216[58], 59:56[166], 33:103[34], 165:203[217], 27:197[110]
ESP8266 ChipID: 2518015
IoTaWatt revision 4.8, firmware version 02_03_21
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.
RTC not running, waiting for WiFi.
MDNS responder started for hostname IotaWatt
LLMNR responder started for hostname IotaWatt
HTTP server started
WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
timeSync: service started.
statService: started.
Updater: service started. Auto-update class is MINOR
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
timesync: Kiss-o’-Death, code RATE, ip: 50.205.244.23
3/22/19 00:28:28z timeSync: RTC initalized to NTP time
3/22/19 00:28:28z dataLog: service started.
3/22/19 00:28:28z dataLog: New current log created.
3/22/19 00:28:29z Updater: Auto-update is current for class MINOR.
3/22/19 00:30:28z historyLog: service started.
3/22/19 00:30:28z historyLog: first entry 03/22/19 00:29:00

** Restart **

SD initialized.
3/22/19 00:37:28z Real Time Clock is running. Unix time 1553215048
3/22/19 00:37:28z Power failure detected.
3/22/19 00:37:28z Reset reason: External System
3/22/19 00:37:28z ESP8266 ChipID: 2518015
3/22/19 00:37:28z IoTaWatt revision 4.8, firmware version 02_03_21
3/22/19 00:37:28z SPIFFS mounted.
3/21/19 19:37:29 Local time zone: -6:00
3/21/19 19:37:29 Using Daylight Saving Time (BST) when in effect.
3/21/19 19:37:29 device name: IotaWatt
3/21/19 19:37:32 Connecting with WiFiManager.
3/21/19 19:37:36 MDNS responder started for hostname IotaWatt
3/21/19 19:37:36 LLMNR responder started for hostname IotaWatt
3/21/19 19:37:36 HTTP server started
3/21/19 19:37:36 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -60db
3/21/19 19:37:36 timeSync: service started.
3/21/19 19:37:36 statService: started.
3/21/19 19:37:36 Updater: service started. Auto-update class is MINOR
3/21/19 19:37:36 dataLog: service started.
3/21/19 19:37:36 dataLog: Last log entry 03/21/19 19:37:10
3/21/19 19:37:36 historyLog: service started.
3/21/19 19:37:36 historyLog: Last log entry 03/21/19 19:37:00
3/21/19 19:37:38 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/24/19 15:14:26z Real Time Clock is running. Unix time 1553440466
3/24/19 15:14:26z Power failure detected.
3/24/19 15:14:26z Reset reason: External System
3/24/19 15:14:26z ESP8266 ChipID: 2518015
3/24/19 15:14:26z IoTaWatt revision 4.8, firmware version 02_03_21
3/24/19 15:14:26z SPIFFS mounted.
3/24/19 10:14:27 Local time zone: -6:00
3/24/19 10:14:27 Using Daylight Saving Time (BST) when in effect.
3/24/19 10:14:27 device name: IotaWatt
3/24/19 10:14:30 Connecting with WiFiManager.
3/24/19 10:14:35 MDNS responder started for hostname IotaWatt
3/24/19 10:14:35 LLMNR responder started for hostname IotaWatt
3/24/19 10:14:35 HTTP server started
3/24/19 10:14:36 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
3/24/19 10:14:36 timeSync: service started.
3/24/19 10:14:36 statService: started.
3/24/19 10:14:36 Updater: service started. Auto-update class is MINOR
3/24/19 10:14:36 dataLog: service started.
3/24/19 10:14:36 dataLog: Last log entry 03/24/19 10:14:15
3/24/19 10:14:36 historyLog: service started.
3/24/19 10:14:36 historyLog: Last log entry 03/24/19 10:14:00
3/24/19 10:14:37 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/24/19 23:52:01z Real Time Clock is running. Unix time 1553471521
3/24/19 23:52:01z Power failure detected.
3/24/19 23:52:01z Reset reason: External System
3/24/19 23:52:01z ESP8266 ChipID: 2518015
3/24/19 23:52:01z IoTaWatt revision 4.8, firmware version 02_03_21
3/24/19 23:52:01z SPIFFS mounted.
3/24/19 18:52:02 Local time zone: -6:00
3/24/19 18:52:02 Using Daylight Saving Time (BST) when in effect.
3/24/19 18:52:02 device name: IotaWatt
3/24/19 18:52:05 Connecting with WiFiManager.
3/24/19 18:52:11 MDNS responder started for hostname IotaWatt
3/24/19 18:52:11 LLMNR responder started for hostname IotaWatt
3/24/19 18:52:11 HTTP server started
3/24/19 18:52:11 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
3/24/19 18:52:11 timeSync: service started.
3/24/19 18:52:11 statService: started.
3/24/19 18:52:11 Updater: service started. Auto-update class is MINOR
3/24/19 18:52:11 dataLog: service started.
3/24/19 18:52:11 dataLog: Last log entry 03/24/19 18:51:55
3/24/19 18:52:11 historyLog: service started.
3/24/19 18:52:11 historyLog: Last log entry 03/24/19 18:51:00
3/24/19 18:52:13 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/25/19 03:10:36z Real Time Clock is running. Unix time 1553483436
3/25/19 03:10:36z Power failure detected.
3/25/19 03:10:36z Reset reason: External System
3/25/19 03:10:36z ESP8266 ChipID: 2518015
3/25/19 03:10:36z IoTaWatt revision 4.8, firmware version 02_03_21
3/25/19 03:10:36z SPIFFS mounted.
3/24/19 22:10:37 Local time zone: -6:00
3/24/19 22:10:37 Using Daylight Saving Time (BST) when in effect.
3/24/19 22:10:37 device name: IotaWatt
3/24/19 22:10:40 Connecting with WiFiManager.
3/24/19 22:10:44 MDNS responder started for hostname IotaWatt
3/24/19 22:10:44 LLMNR responder started for hostname IotaWatt
3/24/19 22:10:44 HTTP server started
3/24/19 22:10:44 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -54db
3/24/19 22:10:44 timeSync: service started.
3/24/19 22:10:44 statService: started.
3/24/19 22:10:44 Updater: service started. Auto-update class is MINOR
3/24/19 22:10:44 dataLog: service started.
3/24/19 22:10:44 dataLog: Last log entry 03/24/19 22:10:30
3/24/19 22:10:44 historyLog: service started.
3/24/19 22:10:44 historyLog: Last log entry 03/24/19 22:10:00
3/24/19 22:10:46 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/25/19 14:18:35z Real Time Clock is running. Unix time 1553523515
3/25/19 14:18:35z Power failure detected.
3/25/19 14:18:35z Reset reason: External System
3/25/19 14:18:35z ESP8266 ChipID: 2518015
3/25/19 14:18:35z IoTaWatt revision 4.8, firmware version 02_03_21
3/25/19 14:18:35z SPIFFS mounted.
3/25/19 09:18:36 Local time zone: -6:00
3/25/19 09:18:36 Using Daylight Saving Time (BST) when in effect.
3/25/19 09:18:36 device name: IotaWatt
3/25/19 09:18:39 Connecting with WiFiManager.
3/25/19 09:18:44 MDNS responder started for hostname IotaWatt
3/25/19 09:18:44 LLMNR responder started for hostname IotaWatt
3/25/19 09:18:44 HTTP server started
3/25/19 09:18:44 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -56db
3/25/19 09:18:44 timeSync: service started.
3/25/19 09:18:48 statService: started.
3/25/19 09:18:48 Updater: service started. Auto-update class is MINOR
3/25/19 09:18:48 dataLog: service started.
3/25/19 09:18:48 dataLog: Last log entry 03/25/19 09:18:30
3/25/19 09:18:48 historyLog: service started.
3/25/19 09:18:48 historyLog: Last log entry 03/25/19 09:18:00
3/25/19 09:18:49 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/26/19 11:43:48z Real Time Clock is running. Unix time 1553600628
3/26/19 11:43:48z Power failure detected.
3/26/19 11:43:48z Reset reason: External System
3/26/19 11:43:48z ESP8266 ChipID: 2518015
3/26/19 11:43:48z IoTaWatt revision 4.8, firmware version 02_03_21
3/26/19 11:43:48z SPIFFS mounted.
3/26/19 06:43:49 Local time zone: -6:00
3/26/19 06:43:49 Using Daylight Saving Time (BST) when in effect.
3/26/19 06:43:49 device name: IotaWatt
3/26/19 06:43:52 Connecting with WiFiManager.
3/26/19 06:43:58 MDNS responder started for hostname IotaWatt
3/26/19 06:43:58 LLMNR responder started for hostname IotaWatt
3/26/19 06:43:58 HTTP server started
3/26/19 06:43:58 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -59db
3/26/19 06:43:58 timeSync: service started.
3/26/19 06:43:58 statService: started.
3/26/19 06:43:58 Updater: service started. Auto-update class is MINOR
3/26/19 06:43:58 dataLog: service started.
3/26/19 06:43:58 dataLog: Last log entry 03/26/19 06:43:35
3/26/19 06:43:58 historyLog: service started.
3/26/19 06:43:58 historyLog: Last log entry 03/26/19 06:43:00
3/26/19 06:44:00 Updater: Auto-update is current for class MINOR.
3/27/19 09:03:04 WiFi disconnected.
3/27/19 09:03:58 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=1, RSSI -67db
3/28/19 19:14:53 WiFi disconnected.
3/28/19 19:16:06 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=1, RSSI -57db


#11

Thanks,
Do you know if you were able to access between 9am this morning and 7pm?

UPDATE: Actually, that would be 9:00am yesterday.


#12

I could access IoTaWatt this morning (~6:30am) but not tonight when I tried at 6:30 pm. Wifi was working all day as far as I know, and I’m sure it was working just before I tried at 6:30pm because I was online. That wifi interrupt at 7:14pm was when I rebooted the router per your suggestion.


#13

And I could access yesterday also, not exactly sure when but I’ve been playing with my new toy a lot, probably around 6:30am and several times throughout the day.


#14

I’m fishing here, as this isn’t a known issue. You say you have been using it a lot. Does it stop working while you are using it, or do you discover this after not using it for some time.

Another question is have you had any transactions that don’t seem to complete and could the problem be related to anything like that?


#15

It has never stopped responding while using it. In fact it seems to be only after a long time of not accessing it.

Maybe it has to do with setting up outputs, which I have been doing about once a day… or switching between devices. I just rebooted iotawatt an hour ago and it works. I’ll try to stick to just the iphone and not change anything for awhile and see if it resolved. Otherwise would a full reset help? It’s almost the end of the month, it wouldn’t hurt to sync with the energy bill.


#16

Doubt it.

Not sure what a full reset is, but again, I doubt it.

If you mean sync the kWh count with the meter, you can do that anytime by creating a total kWh output with a constant added in. Not very useful IMO, as feeding the data to a spreadsheet (coming soon) will give you a lot more flexibility there.

One fairly unique thing about your installation is that you are not uploading anywhere. That should not be a problem, but when you are uploading, it helps to pinpoint exactly when communications stops. PVoutput is a simple cloud service supported by IoTaWatt. You can setup a free account and configuring your IoTaWatt to upload is very simple. You can do “consumption only” if you don’t have PV. Having that ticking away every five minutes might change things. Worth a try.


#17

Thanks @overeasy, I tried the do nothing approach and was still unable to connect after awhile. It seemed like it would stop working only after not using it for awhile, but once I used it and tried again in a few minutes and it wouldn’t connect. Reboot of either IoTaWatt or my wifi router always enables me to reconnect locally again (for awhile).

I set up a PVoutput account and that has been working without a hitch through several failed attempts at connecting locally. Even while I can’t connect to IoTaWatt I can see that it is uploading to PVoutput. This didn’t, however, solve the problem of not being able to connect locally after some time (seems like 12-36 hours).

Any ideas? I’m not very knowledgeable about networking, but could my antivirus software be blocking it? It’s only supposed to scan once per week (and it only runs on my computer) so that seems unlikely. And then why would rebooting help?


#18

3/24/19 10:14:36 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
3/24/19 10:14:36 timeSync: service started.
3/24/19 10:14:36 statService: started.
3/24/19 10:14:36 Updater: service started. Auto-update class is MINOR
3/24/19 10:14:36 dataLog: service started.
3/24/19 10:14:36 dataLog: Last log entry 03/24/19 10:14:15
3/24/19 10:14:36 historyLog: service started.
3/24/19 10:14:36 historyLog: Last log entry 03/24/19 10:14:00
3/24/19 10:14:37 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/24/19 23:52:01z Real Time Clock is running. Unix time 1553471521
3/24/19 23:52:01z Power failure detected.
3/24/19 23:52:01z Reset reason: External System
3/24/19 23:52:01z ESP8266 ChipID: 2518015
3/24/19 23:52:01z IoTaWatt revision 4.8, firmware version 02_03_21
3/24/19 23:52:01z SPIFFS mounted.
3/24/19 18:52:02 Local time zone: -6:00
3/24/19 18:52:02 Using Daylight Saving Time (BST) when in effect.
3/24/19 18:52:02 device name: IotaWatt
3/24/19 18:52:05 Connecting with WiFiManager.
3/24/19 18:52:11 MDNS responder started for hostname IotaWatt
3/24/19 18:52:11 LLMNR responder started for hostname IotaWatt
3/24/19 18:52:11 HTTP server started
3/24/19 18:52:11 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -57db
3/24/19 18:52:11 timeSync: service started.
3/24/19 18:52:11 statService: started.
3/24/19 18:52:11 Updater: service started. Auto-update class is MINOR
3/24/19 18:52:11 dataLog: service started.
3/24/19 18:52:11 dataLog: Last log entry 03/24/19 18:51:55
3/24/19 18:52:11 historyLog: service started.
3/24/19 18:52:11 historyLog: Last log entry 03/24/19 18:51:00
3/24/19 18:52:13 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/25/19 03:10:36z Real Time Clock is running. Unix time 1553483436
3/25/19 03:10:36z Power failure detected.
3/25/19 03:10:36z Reset reason: External System
3/25/19 03:10:36z ESP8266 ChipID: 2518015
3/25/19 03:10:36z IoTaWatt revision 4.8, firmware version 02_03_21
3/25/19 03:10:36z SPIFFS mounted.
3/24/19 22:10:37 Local time zone: -6:00
3/24/19 22:10:37 Using Daylight Saving Time (BST) when in effect.
3/24/19 22:10:37 device name: IotaWatt
3/24/19 22:10:40 Connecting with WiFiManager.
3/24/19 22:10:44 MDNS responder started for hostname IotaWatt
3/24/19 22:10:44 LLMNR responder started for hostname IotaWatt
3/24/19 22:10:44 HTTP server started
3/24/19 22:10:44 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -54db
3/24/19 22:10:44 timeSync: service started.
3/24/19 22:10:44 statService: started.
3/24/19 22:10:44 Updater: service started. Auto-update class is MINOR
3/24/19 22:10:44 dataLog: service started.
3/24/19 22:10:44 dataLog: Last log entry 03/24/19 22:10:30
3/24/19 22:10:44 historyLog: service started.
3/24/19 22:10:44 historyLog: Last log entry 03/24/19 22:10:00
3/24/19 22:10:46 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/25/19 14:18:35z Real Time Clock is running. Unix time 1553523515
3/25/19 14:18:35z Power failure detected.
3/25/19 14:18:35z Reset reason: External System
3/25/19 14:18:35z ESP8266 ChipID: 2518015
3/25/19 14:18:35z IoTaWatt revision 4.8, firmware version 02_03_21
3/25/19 14:18:35z SPIFFS mounted.
3/25/19 09:18:36 Local time zone: -6:00
3/25/19 09:18:36 Using Daylight Saving Time (BST) when in effect.
3/25/19 09:18:36 device name: IotaWatt
3/25/19 09:18:39 Connecting with WiFiManager.
3/25/19 09:18:44 MDNS responder started for hostname IotaWatt
3/25/19 09:18:44 LLMNR responder started for hostname IotaWatt
3/25/19 09:18:44 HTTP server started
3/25/19 09:18:44 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -56db
3/25/19 09:18:44 timeSync: service started.
3/25/19 09:18:48 statService: started.
3/25/19 09:18:48 Updater: service started. Auto-update class is MINOR
3/25/19 09:18:48 dataLog: service started.
3/25/19 09:18:48 dataLog: Last log entry 03/25/19 09:18:30
3/25/19 09:18:48 historyLog: service started.
3/25/19 09:18:48 historyLog: Last log entry 03/25/19 09:18:00
3/25/19 09:18:49 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
3/26/19 11:43:48z Real Time Clock is running. Unix time 1553600628
3/26/19 11:43:48z Power failure detected.
3/26/19 11:43:48z Reset reason: External System
3/26/19 11:43:48z ESP8266 ChipID: 2518015
3/26/19 11:43:48z IoTaWatt revision 4.8, firmware version 02_03_21
3/26/19 11:43:48z SPIFFS mounted.
3/26/19 06:43:49 Local time zone: -6:00
3/26/19 06:43:49 Using Daylight Saving Time (BST) when in effect.
3/26/19 06:43:49 device name: IotaWatt
3/26/19 06:43:52 Connecting with WiFiManager.
3/26/19 06:43:58 MDNS responder started for hostname IotaWatt
3/26/19 06:43:58 LLMNR responder started for hostname IotaWatt
3/26/19 06:43:58 HTTP server started
3/26/19 06:43:58 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=11, RSSI -59db
3/26/19 06:43:58 timeSync: service started.
3/26/19 06:43:58 statService: started.
3/26/19 06:43:58 Updater: service started. Auto-update class is MINOR
3/26/19 06:43:58 dataLog: service started.
3/26/19 06:43:58 dataLog: Last log entry 03/26/19 06:43:35
3/26/19 06:43:58 historyLog: service started.
3/26/19 06:43:58 historyLog: Last log entry 03/26/19 06:43:00
3/26/19 06:44:00 Updater: Auto-update is current for class MINOR.
3/27/19 09:03:04 WiFi disconnected.
3/27/19 09:03:58 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=1, RSSI -67db
3/28/19 19:14:53 WiFi disconnected.
3/28/19 19:16:06 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=1, RSSI -57db

** Restart **

SD initialized.
3/29/19 13:56:47z Real Time Clock is running. Unix time 1553867807
3/29/19 13:56:47z Power failure detected.
3/29/19 13:56:47z Reset reason: External System
3/29/19 13:56:47z ESP8266 ChipID: 2518015
3/29/19 13:56:47z IoTaWatt revision 4.8, firmware version 02_03_21
3/29/19 13:56:47z SPIFFS mounted.
3/29/19 08:56:48 Local time zone: -6:00
3/29/19 08:56:48 Using Daylight Saving Time (BST) when in effect.
3/29/19 08:56:48 device name: IotaWatt
3/29/19 08:56:51 Connecting with WiFiManager.
3/29/19 08:56:56 MDNS responder started for hostname IotaWatt
3/29/19 08:56:56 LLMNR responder started for hostname IotaWatt
3/29/19 08:56:56 HTTP server started
3/29/19 08:56:57 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=1, RSSI -57db
3/29/19 08:56:57 timeSync: service started.
3/29/19 08:56:57 statService: started.
3/29/19 08:56:57 Updater: service started. Auto-update class is MINOR
3/29/19 08:56:57 dataLog: service started.
3/29/19 08:56:57 dataLog: Last log entry 03/29/19 08:56:40
3/29/19 08:56:57 historyLog: service started.
3/29/19 08:56:57 historyLog: Last log entry 03/29/19 08:56:00
3/29/19 08:56:58 Updater: Auto-update is current for class MINOR.
3/30/19 07:59:16 WiFi disconnected.
3/30/19 08:00:11 WiFi connected. SSID=Konkle, IP=192.168.0.10, channel=1, RSSI -59db
3/30/19 08:00:31 Updater: Invalid response from server. HTTPcode: -4
3/30/19 08:01:00 WiFi disconnected.
3/30/19 08:01:53 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -58db
3/30/19 08:02:19 WiFi disconnected.
3/30/19 08:03:09 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -58db
3/30/19 08:29:18 WiFi disconnected.
3/30/19 08:30:15 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -60db
3/30/19 18:43:30 WiFi disconnected.
3/30/19 18:44:27 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -62db
3/30/19 19:06:53 PVoutput: started
3/30/19 19:06:53 PVoutput: Fatal response
3/30/19 19:06:53 PVoutput: Stopped.
3/30/19 19:37:25 WiFi disconnected.
3/30/19 19:38:22 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -62db
3/30/19 19:39:06 WiFi disconnected.
3/30/19 19:39:58 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -62db
3/30/19 20:02:19 Restart command received.

** Restart **

SD initialized.
3/31/19 01:02:21z Real Time Clock is running. Unix time 1553994141
3/31/19 01:02:21z Reset reason: Software/System restart
3/31/19 01:02:21z Trace: 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:1[2], 1:2[3], 9:0[3], 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
3/31/19 01:02:21z ESP8266 ChipID: 2518015
3/31/19 01:02:21z IoTaWatt revision 4.8, firmware version 02_03_21
3/31/19 01:02:21z SPIFFS mounted.
3/30/19 20:02:22 Local time zone: -6:00
3/30/19 20:02:22 Using Daylight Saving Time (BST) when in effect.
3/30/19 20:02:22 device name: IotaWatt
3/30/19 20:02:22 MDNS responder started for hostname IotaWatt
3/30/19 20:02:22 LLMNR responder started for hostname IotaWatt
3/30/19 20:02:22 HTTP server started
3/30/19 20:02:22 timeSync: service started.
3/30/19 20:02:23 statService: started.
3/30/19 20:02:23 dataLog: service started.
3/30/19 20:02:23 dataLog: Last log entry 03/30/19 20:02:15
3/30/19 20:02:23 historyLog: service started.
3/30/19 20:02:23 historyLog: Last log entry 03/30/19 20:02:00
3/30/19 20:02:28 Updater: service started. Auto-update class is MINOR
3/30/19 20:02:28 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -62db
3/30/19 20:02:29 Updater: Auto-update is current for class MINOR.
3/30/19 20:02:32 PVoutput: started
3/30/19 20:02:32 PVoutput: System MicroWatt, interval 5, freeload mode
3/30/19 20:02:32 PVoutput: Start status beginning 03/30/19 00:05:00
3/30/19 20:04:23 PVoutput: System MicroWatt, interval 5, freeload mode
3/30/19 20:04:24 PVoutput: Reload status beginning 03/24/19 00:05:00
3/30/19 20:05:15 PVoutput: Transaction Rate-Limit exceeded. Waiting until 21:00
3/31/19 14:47:38 WiFi disconnected.
3/31/19 14:48:42 WiFi connected. SSID=Konkle, IP=192.168.0.3, channel=1, RSSI -60db
3/31/19 14:49:29 WiFi disconnected.
3/31/19 14:50:22 WiFi connected. SSID=Konkle, IP=192.168.0.4, channel=1, RSSI -61db


#19

Very perplexing. So just to document where we are with this:

  • The IoTaWatt always works initially after power up.

  • After some time, usually hours not minutes, it ceases to respond to attempts to access by either IoTaWatt.local or the IP.

  • It does not respond to http://iotawatt.com

  • It does not respond to http://192.168.0.10

  • It continues to upload to PVoutput every 5 minutes, even when not responding as above.

  • Resetting the router will restore communication.

So the WiFi is still working. That pretty much rules out some kind of hardware failure. That resetting the router, which is an external stimulus, fixes the problem indicates to me that there isn’t any state in the IoTaWatt firmware that is causing it to not respond. I checked the code that recognizes the disconnect and reconnect to be sure it wasn’t resetting any other state.

That leaves maybe something in the router, or something in the low level ESP8266 WiFi code that gets hung up. I’m not a big fan of ping to test WiFi health, but in this case it might reveal something useful. Can you try to ping the IP the next time it hangs?


#20

Exactly right. I’ll try to ping it next time I can’t access (it works now) but in the meantime I noticed that it restarted itself yesterday right after my last post. Here is the log starting where it left off the last time I posted it:

3/31/19 15:05:48 Incomplete HTTP request detected, id 7, restarting.

** Restart **

SD initialized.
3/31/19 20:05:50z Real Time Clock is running. Unix time 1554062750
3/31/19 20:05:50z Reset reason: Software/System restart
3/31/19 20:05:50z Trace: 1:5[22], 22:0, 22:1, 22:0, 22:120, 22:2, 1: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:4, 1:5[22], 22:0, 22:1, 22:0, 22:120, 22:2, 1:6, 1:3, 1:4, 1:5[21]
3/31/19 20:05:50z ESP8266 ChipID: 2518015
3/31/19 20:05:50z IoTaWatt revision 4.8, firmware version 02_03_21
3/31/19 20:05:50z SPIFFS mounted.
3/31/19 15:05:51 Local time zone: -6:00
3/31/19 15:05:51 Using Daylight Saving Time (BST) when in effect.
3/31/19 15:05:51 device name: IotaWatt
3/31/19 15:05:51 MDNS responder started for hostname IotaWatt
3/31/19 15:05:51 LLMNR responder started for hostname IotaWatt
3/31/19 15:05:51 HTTP server started
3/31/19 15:05:51 timeSync: service started.
3/31/19 15:05:52 statService: started.
3/31/19 15:05:52 dataLog: service started.
3/31/19 15:05:52 dataLog: Last log entry 03/31/19 15:05:45
3/31/19 15:05:52 historyLog: service started.
3/31/19 15:05:52 historyLog: Last log entry 03/31/19 15:05:00
3/31/19 15:05:54 Updater: service started. Auto-update class is MINOR
3/31/19 15:05:54 WiFi connected. SSID=Konkle, IP=192.168.0.4, channel=1, RSSI -57db
3/31/19 15:05:55 Updater: Auto-update is current for class MINOR.
3/31/19 15:06:01 PVoutput: started
3/31/19 15:06:01 PVoutput: System MicroWatt, interval 5, freeload mode
3/31/19 15:06:01 PVoutput: Start status beginning 03/31/19 14:45:00