System becomes unavailable on network

Hi.

Been using the IoTaWatt for a couple of months. Maybe every couple of weeks it becomes unavailable on my network. Power on / off fixes the issue.

I have changed power supplies + micro usb cable - no change.

Should I try a new micro SD card? What is the process for setting up a new card?

Other thoughts?

Thanks! Andrew

9/02/22 07:28:12 dataLog: service started.
9/02/22 07:28:12 dataLog: Last log entry 08/26/22 09:38:15
9/02/22 07:28:12 historyLog: service started.
9/02/22 07:28:12 historyLog: Last log entry 08/26/22 09:38:00
9/02/22 07:28:13 Updater: Auto-update is current for class MINOR.
9/02/22 10:28:48 Updater: Invalid response from server. HTTPcode: -4

** Restart **

SD initialized.
9/03/22 01:51:55z Real Time Clock is running. Unix time 1662169915 
9/03/22 01:51:55z Reset Reason: Power-fail restart.
9/03/22 01:51:55z ESP8266 ID: 15875855, RTC PCF8523 (68)
9/03/22 01:51:55z IoTaWatt 5.0, Firmware version 02_07_05
9/03/22 01:51:55z SPIFFS mounted.
9/03/22 13:51:55 Local time zone: +12:00, using DST/BST when in effect.
9/03/22 13:51:55 device name: IotaWatt
9/03/22 13:51:58 Connecting with WiFiManager.
9/03/22 13:52:03 HTTP server started
9/03/22 13:52:03 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=11, RSSI -54db
9/03/22 13:52:03 MDNS responder started for hostname IotaWatt
9/03/22 13:52:03 LLMNR responder started for hostname IotaWatt
9/03/22 13:52:03 timeSync: service started.
9/03/22 13:52:03 statService: started.
9/03/22 13:52:03 Updater: service started. Auto-update class is MINOR
9/03/22 13:52:03 dataLog: service started.
9/03/22 13:52:03 dataLog: Last log entry 09/02/22 12:42:10
9/03/22 13:52:04 historyLog: service started.
9/03/22 13:52:04 historyLog: Last log entry 09/02/22 12:42:00
9/03/22 13:52:05 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
9/03/22 06:00:22z Real Time Clock is running. Unix time 1662184822 
9/03/22 06:00:22z Reset Reason: Power-fail restart.
9/03/22 06:00:22z ESP8266 ID: 15875855, RTC PCF8523 (68)
9/03/22 06:00:22z IoTaWatt 5.0, Firmware version 02_07_05
9/03/22 06:00:22z SPIFFS mounted.
9/03/22 18:00:22 Local time zone: +12:00, using DST/BST when in effect.
9/03/22 18:00:22 device name: IotaWatt
9/03/22 18:00:25 Connecting with WiFiManager.
9/03/22 18:02:38 Did not connect after power-fail. Restarting to reset WiFi.

** Restart **

SD initialized.
9/03/22 06:14:51z Real Time Clock is running. Unix time 1662185691 
9/03/22 06:14:51z Reset Reason: Power-fail restart.
9/03/22 06:14:51z ESP8266 ID: 15875855, RTC PCF8523 (68)
9/03/22 06:14:51z IoTaWatt 5.0, Firmware version 02_07_05
9/03/22 06:14:51z SPIFFS mounted.
9/03/22 18:14:51 Local time zone: +12:00, using DST/BST when in effect.
9/03/22 18:14:51 device name: IotaWatt
9/03/22 18:14:54 Connecting with WiFiManager.
9/03/22 18:14:59 HTTP server started
9/03/22 18:14:59 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=2, RSSI -57db
9/03/22 18:14:59 MDNS responder started for hostname IotaWatt
9/03/22 18:14:59 LLMNR responder started for hostname IotaWatt
9/03/22 18:14:59 timeSync: service started.
9/03/22 18:14:59 statService: started.
9/03/22 18:14:59 Updater: service started. Auto-update class is MINOR
9/03/22 18:14:59 dataLog: service started.
9/03/22 18:14:59 dataLog: Last log entry 09/03/22 16:07:50
9/03/22 18:14:59 historyLog: service started.
9/03/22 18:15:00 historyLog: Last log entry 09/03/22 16:07:00
9/03/22 18:15:01 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
9/13/22 13:18:42z Real Time Clock is running. Unix time 1663075122 
9/13/22 13:18:42z Reset Reason: Power-fail restart.
9/13/22 13:18:42z ESP8266 ID: 15875855, RTC PCF8523 (68)
9/13/22 13:18:42z IoTaWatt 5.0, Firmware version 02_07_05
9/13/22 13:18:42z SPIFFS mounted.
9/14/22 01:18:42 Local time zone: +12:00, using DST/BST when in effect.
9/14/22 01:18:42 device name: IotaWatt
9/14/22 01:18:45 Connecting with WiFiManager.
9/14/22 01:20:54 Did not connect after power-fail. Restarting to reset WiFi.

** Restart **

SD initialized.
9/13/22 13:20:55z Real Time Clock is running. Unix time 1663075255 
9/13/22 13:20:55z Reset reason: Software/System restart
9/13/22 13:20:55z Trace:  34:5, 34:5, 34:5, 34:6[1], 34:10[1], 34:5, 34:5, 34:5, 34:6[3], 34:10[1], 34:30, 34:10[4], 34:5, 34:5, 34:5, 34:6[1], 34:10[2], 34:5, 34:5, 34:5, 34:6[1], 34:10[3], 11:31[3], 11:30[3], 11:35, 11:36, 11:35, 11:40, 11:45, 11:50, 11:55, 11:70
9/13/22 13:20:55z ESP8266 ID: 15875855, RTC PCF8523 (68)
9/13/22 13:20:55z IoTaWatt 5.0, Firmware version 02_07_05
9/13/22 13:20:55z SPIFFS mounted.
9/14/22 01:20:55 Local time zone: +12:00, using DST/BST when in effect.
9/14/22 01:20:55 device name: IotaWatt
9/14/22 01:20:55 HTTP server started
9/14/22 01:20:55 timeSync: service started.
9/14/22 01:20:55 statService: started.
9/14/22 01:20:55 dataLog: service started.
9/14/22 01:20:55 dataLog: Last log entry 09/04/22 03:32:25
9/14/22 01:21:00 historyLog: service started.
9/14/22 01:21:00 historyLog: Last log entry 09/04/22 03:32:00
9/14/22 01:21:01 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -53db
9/14/22 01:21:01 MDNS responder started for hostname IotaWatt
9/14/22 01:21:01 LLMNR responder started for hostname IotaWatt
9/14/22 01:21:01 Updater: service started. Auto-update class is MINOR
9/14/22 01:21:02 Updater: Auto-update is current for class MINOR.
9/15/22 01:18:06 WiFi disconnected.
9/15/22 01:19:09 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -55db
9/15/22 01:19:14 WiFi disconnected.
9/15/22 01:21:17 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -55db
9/15/22 21:25:32 Updater: Invalid response from server. HTTPcode: -4
9/16/22 01:21:17 WiFi disconnected.
9/16/22 01:22:20 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -55db
9/17/22 01:22:19 WiFi disconnected.
9/17/22 01:23:23 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -55db

** Restart **

SD initialized.
9/18/22 08:16:04z Real Time Clock is running. Unix time 1663488964 
9/18/22 08:16:04z Reset Reason: Power-fail restart.
9/18/22 08:16:04z ESP8266 ID: 15875855, RTC PCF8523 (68)
9/18/22 08:16:04z IoTaWatt 5.0, Firmware version 02_07_05
9/18/22 08:16:04z SPIFFS mounted.
9/18/22 20:16:04 Local time zone: +12:00, using DST/BST when in effect.
9/18/22 20:16:04 device name: IotaWatt
9/18/22 20:16:07 Connecting with WiFiManager.
9/18/22 20:16:12 HTTP server started
9/18/22 20:16:12 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -54db
9/18/22 20:16:12 MDNS responder started for hostname IotaWatt
9/18/22 20:16:12 LLMNR responder started for hostname IotaWatt
9/18/22 20:16:12 timeSync: service started.
9/18/22 20:16:12 statService: started.
9/18/22 20:16:12 Updater: service started. Auto-update class is MINOR
9/18/22 20:16:13 dataLog: service started.
9/18/22 20:16:13 dataLog: Last log entry 09/17/22 14:24:45
9/18/22 20:16:13 historyLog: service started.
9/18/22 20:16:13 historyLog: Last log entry 09/17/22 14:24:00
9/18/22 20:16:14 Updater: Auto-update is current for class MINOR.
9/19/22 01:24:33 WiFi disconnected.
9/19/22 01:25:36 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -55db
9/20/22 01:25:36 WiFi disconnected.
9/20/22 01:26:39 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -55db
9/20/22 06:19:39 Updater: Invalid response from server. HTTPcode: -4
9/21/22 01:26:42 WiFi disconnected.
9/21/22 01:27:45 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
9/22/22 01:27:47 WiFi disconnected.
9/22/22 01:29:52 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
9/23/22 01:29:52 WiFi disconnected.
9/23/22 01:30:55 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -58db
9/24/22 01:30:55 WiFi disconnected.
9/24/22 01:31:57 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -58db
9/24/22 20:30:16 Updater: Invalid response from server. HTTPcode: -14
9/25/22 01:31:58 WiFi disconnected.
9/25/22 01:33:00 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
9/26/22 02:33:05 WiFi disconnected.
9/26/22 02:34:08 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
9/26/22 15:34:26 Updater: Invalid response from server. HTTPcode: -4
9/28/22 02:34:08 WiFi disconnected.
9/28/22 02:35:10 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
9/29/22 02:35:17 WiFi disconnected.
9/29/22 02:37:23 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -59db
9/30/22 02:37:23 WiFi disconnected.
9/30/22 02:38:25 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
10/01/22 02:38:25 WiFi disconnected.
10/01/22 02:39:27 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -59db
10/01/22 02:39:28 WiFi disconnected.
10/01/22 02:40:30 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -57db
10/02/22 02:40:30 WiFi disconnected.
10/02/22 02:41:32 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -56db

** Restart **

SD initialized.
10/02/22 07:23:36z Real Time Clock is running. Unix time 1664695416 
10/02/22 07:23:36z Reset Reason: Power-fail restart.
10/02/22 07:23:36z ESP8266 ID: 15875855, RTC PCF8523 (68)
10/02/22 07:23:36z IoTaWatt 5.0, Firmware version 02_07_05
10/02/22 07:23:36z SPIFFS mounted.
10/02/22 20:23:36 Local time zone: +12:00, using DST/BST when in effect.
10/02/22 20:23:36 device name: IotaWatt
10/02/22 20:23:39 Connecting with WiFiManager.
10/02/22 20:23:44 HTTP server started
10/02/22 20:23:44 WiFi connected. SSID=Banana, IP=192.168.0.94, channel=10, RSSI -58db
10/02/22 20:23:44 MDNS responder started for hostname IotaWatt
10/02/22 20:23:44 LLMNR responder started for hostname IotaWatt
10/02/22 20:23:44 timeSync: service started.
10/02/22 20:23:44 statService: started.
10/02/22 20:23:44 Updater: service started. Auto-update class is MINOR
10/02/22 20:23:44 dataLog: service started.
10/02/22 20:23:44 dataLog: Last log entry 10/02/22 18:59:30
10/02/22 20:23:44 historyLog: service started.
10/02/22 20:23:44 historyLog: Last log entry 10/02/22 18:59:00
10/02/22 20:23:45 Updater: Auto-update is current for class MINOR.

These problems are always WiFi related. It is not related to your SD card. Looking at your message log I see that for the first two weeks it was connected on channel 2 and worked solid. On Sept 14 your router switched to channel 10 and that’s when your problems started. Your RSSI is healthy but there are other factors that can cause disconnects and poor communication.

From your timezone UTC+12 I’m guessing you are in NZ. I don’t know the approved channels there but channels 1,6 and 11 are non-overlapping and the preferred in North America. All of the others have sone overlap with adjacent channels can be subject to problems. You might try fixing your router to one of those, or channel 2 that was working well early on.

Yep, in NZ - we can use channel 1-13. I have now fixed to channel 2 - will see how that goes… if it disconnects again I will try channel 1, 6 or 11.
Thanks, Andrew