Strange connectivity problem

I have been searching the forum to see if there is a topic with a solution to my problem. I have used this iotawatt for several months with minimal issues. One day I noticed it stopped updating my influx database. Attempts to ping the unit (after trying to connect to the web page) failed.
The device shows a green light and no other signs of abnormal behavior. It will occasionally show up on my router as connected, but it clearly isn’t. The unit seems happy other than the fact that it clearly isn’t working.

I had another unit that had a failed SD card and this isn’t showing any signs of that. I disconnected it and brought it to where I can work on it.

Can anyone give me some ideas where I can begin to diagnose the issue?

Thank you, and my apologies for this being my first introduction to the forum.

If the LED is solid or glowing green, it is connected to WiFi. To determine anything more would require seeing the message log.

Why do you say it isn’t? When it shows up on the router as connected, if you see an IP address, try entering that into your browser rather than iotawatt.local.

There are two ways to access the message log without the browser interface:

  • Connect the IoTaWatt to a computer using a micro-usb cable and run a terminal emulator like PuTTy (115,200baud). The message log entries are sent to the serial port. Obtain a complete log from ** restart **.

  • Remove the SDcard and access with another computer. The file is /iotawatt/iotamsgs.txt. Post the last few restarts or upload the file to the forum if it’s not too big.

I can connect via the serial port but I can’t make it useful. I am sure I am doing something wrong. I pulled the SD card as you recommended and opened the itoamsgs.txt file…

I am shocked. It thinks everything is just fine. The restart logs indicate that it is connected to WIFI with no issues. It shows the IP address I am using. Below are the last several entries. By all indications, it should work fine. Yet there is no update to influx, I can’t access it via http, I can’t even ping it. My router is not showing any traffic in or out. I have another unit that works just fine on the main panel (after dealing with a failed SD card) This one has been in my shed and worked flawlessly up until recently.

Very odd. Any other ideas?

Thank you

Here are some log entries:
** Restart **

SD initialized.
3/27/23 18:02:40z Real Time Clock is running. Unix time 1679940160
3/27/23 18:02:40z Reset reason: Software Watchdog
3/27/23 18:02:40z Trace: 32:64, 32:65, 32:63, 32:64, 32:64, 32:65, 31:1, 1:6[6], 1:1[4], 1:2[5], 9:0[5], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 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[3], 32:60, 32:60, 32:60
3/27/23 18:02:40z ESP8266 ID: 14609626, RTC PCF8523 (68)
3/27/23 18:02:40z IoTaWatt 5.0, Firmware version 02_08_02
3/27/23 18:02:40z SPIFFS mounted.
3/27/23 17:32:40 Local time zone: +0:-30
3/27/23 17:32:40 device name: shediota
3/27/23 17:32:40 HTTP server started
3/27/23 17:32:40 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
3/27/23 17:32:40 timeSync: service started.
3/27/23 17:32:41 statService: started.
3/27/23 17:32:41 dataLog: service started.
3/27/23 17:32:49 dataLog: Last log entry 03/27/23 17:32:35
3/27/23 17:32:49 Updater: service started. Auto-update class is MINOR
3/27/23 17:32:49 WiFi connected. SSID=homenet3n, IP=192.168.0.91, channel=10, RSSI -50db
3/27/23 17:32:49 historyLog: service started.
3/27/23 17:32:55 historyLog: Last log entry 03/27/23 17:32:00
3/27/23 17:32:55 Main_panel: Started
3/27/23 17:32:59 Main_panel: Last log entry 03/27/23 15:47:05
3/27/23 17:32:59 Updater: Auto-update is current for class MINOR.
3/27/23 17:33:03 influxDB_v1: Start posting at 12/11/22 08:11:30

** Restart **

SD initialized.
3/27/23 18:03:08z Real Time Clock is running. Unix time 1679940188
3/27/23 18:03:08z Reset reason: Software Watchdog
3/27/23 18:03:08z Trace: 32:64, 32:65, 32:63, 32:64, 32:64, 32:65, 31:1, 1:6[6], 1:1[3], 1:2[4], 9:0[4], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 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[3], 32:60, 32:60, 32:60
3/27/23 18:03:08z ESP8266 ID: 14609626, RTC PCF8523 (68)
3/27/23 18:03:08z IoTaWatt 5.0, Firmware version 02_08_02
3/27/23 18:03:08z SPIFFS mounted.
3/27/23 17:33:08 Local time zone: +0:-30
3/27/23 17:33:08 device name: shediota
3/27/23 17:33:08 HTTP server started
3/27/23 17:33:08 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
3/27/23 17:33:08 timeSync: service started.
3/27/23 17:33:09 statService: started.
3/27/23 17:33:09 dataLog: service started.
3/27/23 17:33:14 dataLog: Last log entry 03/27/23 17:33:00
3/27/23 17:33:14 Updater: service started. Auto-update class is MINOR
3/27/23 17:33:14 WiFi connected. SSID=homenet3n, IP=192.168.0.91, channel=10, RSSI -50db
3/27/23 17:33:15 historyLog: service started.
3/27/23 17:33:21 historyLog: Last log entry 03/27/23 17:33:00
3/27/23 17:33:21 Updater: Auto-update is current for class MINOR.
3/27/23 17:33:21 Main_panel: Started
3/27/23 17:33:25 Main_panel: Last log entry 03/27/23 15:47:05
3/27/23 17:33:29 influxDB_v1: Start posting at 12/11/22 08:11:30

** Restart **

SD initialized.
3/27/23 18:03:32z Real Time Clock is running. Unix time 1679940212
3/27/23 18:03:32z Reset reason: Software Watchdog
3/27/23 18:03:32z Trace: 32:64, 32:65, 32:63, 32:64, 32:64, 32:65, 31:1, 1:6[6], 1:1[5], 1:2[6], 9:0[6], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 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[3], 32:60, 32:60, 32:60
3/27/23 18:03:32z ESP8266 ID: 14609626, RTC PCF8523 (68)
3/27/23 18:03:32z IoTaWatt 5.0, Firmware version 02_08_02
3/27/23 18:03:32z SPIFFS mounted.
3/27/23 17:33:32 Local time zone: +0:-30
3/27/23 17:33:32 device name: shediota
3/27/23 17:33:32 HTTP server started
3/27/23 17:33:32 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
3/27/23 17:33:32 timeSync: service started.
3/27/23 17:33:33 statService: started.
3/27/23 17:33:33 dataLog: service started.
3/27/23 17:33:38 dataLog: Last log entry 03/27/23 17:33:25
3/27/23 17:33:38 Updater: service started. Auto-update class is MINOR
3/27/23 17:33:38 WiFi connected. SSID=homenet3n, IP=10.0.0.13, channel=10, RSSI -51db
3/27/23 17:33:45 historyLog: service started.
3/27/23 17:33:51 historyLog: Last log entry 03/27/23 17:33:00
3/27/23 17:33:52 Main_panel: Started
3/27/23 17:33:56 Main_panel: Last log entry 03/27/23 15:47:05
3/27/23 17:34:07 Updater: Invalid response from server. HTTPcode: -4
3/28/23 17:34:39 timeSync: No time update in last 24 hours.
3/29/23 17:35:39 timeSync: No time update in last 24 hours.
3/30/23 17:36:39 timeSync: No time update in last 24 hours.
3/31/23 17:37:39 timeSync: No time update in last 24 hours.

** Restart **

SD initialized.
4/01/23 02:15:18z Real Time Clock is running. Unix time 1680315318
4/01/23 02:15:18z Reset Reason: Power-fail restart.

** Restart **

SD initialized.
4/01/23 02:15:19z Real Time Clock is running. Unix time 1680315319
4/01/23 02:15:19z Reset Reason: Power-fail restart.
4/01/23 02:15:19z ESP8266 ID: 14609626, RTC PCF8523 (68)
4/01/23 02:15:19z IoTaWatt 5.0, Firmware version 02_08_02
4/01/23 02:15:19z SPIFFS mounted.
4/01/23 01:45:19 Local time zone: +0:-30
4/01/23 01:45:19 device name: shediota
4/01/23 01:45:22 Connecting with WiFiManager.

** Restart **

SD initialized.
4/01/23 02:42:35z Real Time Clock is running. Unix time 1680316955
4/01/23 02:42:35z Reset Reason: Power-fail restart.
4/01/23 02:42:35z ESP8266 ID: 14609626, RTC PCF8523 (68)
4/01/23 02:42:35z IoTaWatt 5.0, Firmware version 02_08_02
4/01/23 02:42:35z SPIFFS mounted.
4/01/23 02:12:35 Local time zone: +0:-30
4/01/23 02:12:35 device name: shediota
4/01/23 02:12:38 Connecting with WiFiManager.
4/01/23 02:12:44 HTTP server started
4/01/23 02:12:45 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
4/01/23 02:12:45 WiFi connected. SSID=homenet3n, IP=192.168.0.91, channel=10, RSSI -53db
4/01/23 02:12:45 timeSync: service started.
4/01/23 02:12:45 statService: started.
4/01/23 02:12:45 Updater: service started. Auto-update class is MINOR
4/01/23 02:12:45 dataLog: service started.
4/01/23 02:12:50 dataLog: Last log entry 04/01/23 01:44:40
4/01/23 02:12:50 historyLog: service started.
4/01/23 02:12:54 historyLog: Last log entry 04/01/23 01:44:00
4/01/23 02:12:54 Updater: Auto-update is current for class MINOR.
4/01/23 02:12:54 Main_panel: Started
4/01/23 02:12:58 Main_panel: Last log entry 04/01/23 01:44:35
4/01/23 02:13:04 influxDB_v1: Start posting at 12/11/22 08:11:30

** Restart **

SD initialized.
4/01/23 02:43:10z Real Time Clock is running. Unix time 1680316990
4/01/23 02:43:10z Reset reason: Software Watchdog
4/01/23 02:43:10z Trace: 32:64, 32:65, 32:63, 32:64, 32:64, 32:65, 31:1, 1:6[6], 1:1[5], 1:2[6], 9:0[6], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 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[3], 32:60, 32:60, 32:60
4/01/23 02:43:10z ESP8266 ID: 14609626, RTC PCF8523 (68)
4/01/23 02:43:10z IoTaWatt 5.0, Firmware version 02_08_02
4/01/23 02:43:10z SPIFFS mounted.
4/01/23 02:13:10 Local time zone: +0:-30
4/01/23 02:13:10 device name: shediota
4/01/23 02:13:11 HTTP server started
4/01/23 02:13:11 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
4/01/23 02:13:11 timeSync: service started.
4/01/23 02:13:11 statService: started.
4/01/23 02:13:11 dataLog: service started.
4/01/23 02:13:16 dataLog: Last log entry 04/01/23 02:13:05
4/01/23 02:13:16 WiFi connected. SSID=homenet3n, IP=10.0.0.40, channel=10, RSSI -53db
4/01/23 02:13:16 Updater: service started. Auto-update class is MINOR
4/01/23 02:13:23 historyLog: service started.
4/01/23 02:13:25 historyLog: Last log entry 04/01/23 02:13:00
4/01/23 02:13:27 Main_panel: Started
4/01/23 02:13:29 Main_panel: Last log entry 04/01/23 01:45:45
4/01/23 02:13:44 Updater: Invalid response from server. HTTPcode: -4

** Restart **

SD initialized.
4/01/23 02:44:31z Real Time Clock is running. Unix time 1680317071
4/01/23 02:44:31z Reset Reason: Power-fail restart.
4/01/23 02:44:31z ESP8266 ID: 14609626, RTC PCF8523 (68)
4/01/23 02:44:31z IoTaWatt 5.0, Firmware version 02_08_02
4/01/23 02:44:31z SPIFFS mounted.
4/01/23 02:14:31 Local time zone: +0:-30
4/01/23 02:14:31 device name: shediota
4/01/23 02:14:34 HTTP server started
4/01/23 02:14:34 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
4/01/23 02:14:34 WiFi connected. SSID=homenet3n, IP=10.0.0.40, channel=10, RSSI -60db
4/01/23 02:14:35 timeSync: service started.
4/01/23 02:14:35 statService: started.
4/01/23 02:14:35 Updater: service started. Auto-update class is MINOR
4/01/23 02:14:35 dataLog: service started.

** Restart **

SD initialized.
4/01/23 10:51:06z Real Time Clock is running. Unix time 1680346266
4/01/23 10:51:06z Reset Reason: Power-fail restart.
4/01/23 10:51:06z ESP8266 ID: 14609626, RTC PCF8523 (68)
4/01/23 10:51:06z IoTaWatt 5.0, Firmware version 02_08_02
4/01/23 10:51:06z SPIFFS mounted.
4/01/23 10:21:06 Local time zone: +0:-30
4/01/23 10:21:06 device name: shediota
4/01/23 10:21:09 Connecting with WiFiManager.
4/01/23 10:21:15 HTTP server started
4/01/23 10:21:16 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
4/01/23 10:21:16 WiFi connected. SSID=homenet3n, IP=192.168.0.91, channel=10, RSSI -63db
4/01/23 10:21:16 timeSync: service started.
4/01/23 10:21:16 statService: started.
4/01/23 10:21:16 Updater: service started. Auto-update class is MINOR
4/01/23 10:21:16 dataLog: service started.
4/01/23 10:21:30 dataLog: Last log entry 04/01/23 02:14:00
4/01/23 10:21:30 historyLog: service started.
4/01/23 10:21:34 historyLog: Last log entry 04/01/23 02:14:00
4/01/23 10:21:34 Updater: Auto-update is current for class MINOR.
4/01/23 10:21:34 Main_panel: Started
4/01/23 10:21:38 Main_panel: Last log entry 04/01/23 02:13:55
4/01/23 10:21:43 influxDB_v1: Start posting at 12/11/22 08:11:30

** Restart **

SD initialized.
4/01/23 10:51:47z Real Time Clock is running. Unix time 1680346307
4/01/23 10:51:47z Reset reason: Software Watchdog
4/01/23 10:51:47z Trace: 32:64, 32:65, 32:63, 32:64, 32:64, 32:65, 31:1, 1:6[6], 1:1[4], 1:2[5], 9:0[5], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 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[3], 32:60, 32:60, 32:60
4/01/23 10:51:47z ESP8266 ID: 14609626, RTC PCF8523 (68)
4/01/23 10:51:47z IoTaWatt 5.0, Firmware version 02_08_02
4/01/23 10:51:47z SPIFFS mounted.
4/01/23 10:21:47 Local time zone: +0:-30
4/01/23 10:21:48 device name: shediota
4/01/23 10:21:48 HTTP server started
4/01/23 10:21:48 influxDB_v1: Starting, interval:10, url:http://192.168.0.235:8086
4/01/23 10:21:48 timeSync: service started.
4/01/23 10:21:48 statService: started.
4/01/23 10:21:48 dataLog: service started.
4/01/23 10:21:53 dataLog: Last log entry 04/01/23 10:21:40
4/01/23 10:21:54 WiFi connected. SSID=homenet3n, IP=192.168.0.91, channel=10, RSSI -66db
4/01/23 10:21:54 Updater: service started. Auto-update class is MINOR
4/01/23 10:21:54 historyLog: service started.
4/01/23 10:21:56 historyLog: Last log entry 04/01/23 02:14:00
4/01/23 10:21:59 Updater: Auto-update is current for class MINOR.
4/01/23 10:22:04 influxDB_v1: Start posting at 12/11/22 08:11:30

This looks like a SDcard/datalog problem. You started out the thread saying the unit was a few months old. Is it one of the series

  • Those cards may be found in units shipped between Oct 12 and Dec 13, 2022. Order numbers are 127612-127903.

In any event, it is restarting at regular intervals and the trace shows it getting lost trying to read the datalog in the influxDB1 uploader. My recommendation is to replace the SDcard and wipe the datalogs. If you would like to provide your original order number, I will send you a replacement SDcard.

It turns out I have had issues on both units. One had a card that failed completely, to the point that the card was not recognizable and this one. The order numbers are: Order #127787 and Order #127894.

Thank you for your help. I was developing bald patches trying to figure it out. :slight_smile:

I’ll send out a couple of SDcards Monday.