I have a new IoTaWatt and am uploading data to a local emoncms running on a Synology DiskStation. This setup has been running well for about six months with data captured with an emonTx shield.
The new IoTaWatt sends data ok with occasional “GET failed” errors that successfully recover after one or more resends. Every few hours the IoTaWatt fails to send data ten times and resets. Any idea why this may be happening? Also, after the reset, I thought the IoTaWatt would resend data not sent previously, but this doesn’t seem to happen (data is missing during the period when the IoTaWatt is unable to send data). The local graph utility shows data is being captured during the period when data not successfully sent to Synology DiskStation. A log from the IoTaWatt is shown below. Appreciate any suggestions! Thanks.
1/3/18 18:32:16 EmonService: Retry successful.
1/3/18 18:35:16 EmonService: GET failed. HTTP code:read Timeout
1/3/18 18:36:16 EmonService: Resending EmonCMS data:2
1/3/18 18:38:17 EmonService: Resending EmonCMS data:3
1/3/18 18:38:17 EmonService: Retry successful.
1/3/18 18:38:24 EmonService: GET failed. HTTP code:read Timeout
1/3/18 18:39:24 EmonService: Resending EmonCMS data:2
1/3/18 18:41:25 EmonService: Resending EmonCMS data:3
1/3/18 18:44:26 EmonService: Resending EmonCMS data:4
1/3/18 18:48:27 EmonService: Resending EmonCMS data:5
1/3/18 18:53:28 EmonService: Resending EmonCMS data:6
1/3/18 18:59:30 EmonService: Resending EmonCMS data:7
1/3/18 19:06:31 EmonService: Resending EmonCMS data:8
1/3/18 19:14:32 EmonService: Resending EmonCMS data:9
1/3/18 19:23:34 EmonService: Resending EmonCMS data:10
1/3/18 19:23:35 EmonService: Unable to post to Emoncms after 10 retries. Restarting ESP.
** Restart **
No clock yet: SD initialized.
1/4/18 00:23:37 Real Time Clock is running. Unix time: 1515025417
1/4/18 00:23:37 Version: 02_02_27
1/4/18 00:23:37 Reset reason: Software/System restart
1/4/18 00:23:37 Trace: 88,12,13,14,17,18,13,14,17,18,13,14,17,18,13,14,15,16,17,18,13,14,15,16,17,18,13,14,15,30,37,38
1/4/18 00:23:37 ESP8266 ChipID:453812
1/3/18 19:23:37 device name: IotaWatt, version: 3
1/3/18 19:23:37 Local time zone: -5
1/3/18 19:23:40 Connecting with WiFiManager.
1/3/18 19:23:43 MDNS responder started
1/3/18 19:23:43 You can now connect to http://IotaWatt.local
1/3/18 19:23:43 HTTP server started
1/3/18 19:23:44 dataLog: service started.
1/3/18 19:23:44 dataLog: Last log entry:1515025410
1/3/18 19:23:44 statService: started.
1/3/18 19:23:44 timeSync: service started.
1/3/18 19:23:44 WiFi connected. SSID: bmkema-2.4GHz, IP: 192.168.1.92
1/3/18 19:23:44 historyLog: service started.
1/3/18 19:23:44 historyLog: Last log entry:1515025380
1/3/18 19:23:49 EmonService: started.url: 192.168.1.180:80/emoncms, node: IotaWatt, post interval: 10, unsecure GET
1/3/18 19:23:49 EmonService: input/get failed.
1/3/18 19:24:19 EmonService: input/get failed.
1/3/18 19:24:49 EmonService: Start posting at 1515025485
1/3/18 19:26:16 EmonService: GET failed. HTTP code:read Timeout
1/3/18 19:27:16 EmonService: Resending EmonCMS data:2
1/3/18 19:27:16 EmonService: Retry successful.