Inputs / Feeds not updating, but I can log in?

Quick question; the Inputs and Feeds from an emonTx/ESP8266 have not arrived at my emonPi ( for about a week now, but if I log in to the emonTx ( everything “looks” right except under the emoncms tab it shows up as “Connected: No”. Checking the data in the fields looks right, I re-enter the writeAPI and click on Save, but whether I restart or not the Inputs & Feeds don’t re-start. Nor does “Connected:No” ever become “Yes”.

Why might this be and what might the solution be? Wifi comms must be OK as otherwise wouldn’t work.


Hello @haffle sorry to hear that its stopped! I cant think of anything specific, perhaps it would be worth doing a factory reset on the module and re-entering the settings to see if that sorts it?
Alternatively maybe trying the MQTT route instead?

1 Like

Or give up and use a PiZW instead.

1 Like

Hello @haffle did a factory reset and reconfigure work? did you get any further with this?

Sorry - yes, I should have replied. I reset the ESP8266 by pushing the two tiny buttons (can’t remember exactly which combination), but that cleared things and it is now working. Thanks for your help!

Great to hear. so just a standard hardware reset rather than a factory reset and reconfiguration? Is this the first time this has happened since I sent the replacement unit to you last November? Setting up an emonPi - some newbie questions - #121 by haffle

Having a similar issue, but with a different emonTx/ESP8266. I can log in via, but even after re-entering the Write API and rebooting etc, I can’t get the Inputs to update.

I’m slightly confused about how it can be that Inputs don’t update & it says it is not connected, but I can log in via a browser?

Hello @haffle I assume the base station ip address has not changed?
Can you attach a UART to usb reader and see what it prints out without resetting the unit?

No; all IPs have remained the same, and are fixed by my router. EmonPi (in Office/Barns) emonTx/ESP8266 Garage emonTx/ESP8266 House emonTx/ESP8266 Loft emonTx/ESP8266 Barn

I have one of your CP2102 Modules, but I have never known what to do with it. :cold_face: :grinning:

Because they are 2 different things.

The not connected refers to the ESP looking back at the emonpi and not being able to connect (which is why there are no feed values).

Anything in the emoncms logs (log level info)?

If not, using tshark to see if anything is coming in to the Pi might help debug it. Search on the forum here for suitable commands - I have posted stuff before on this.

I’ll say it again @TrystanLea, these ESP devices are more trouble than they are worth. They almost need a category of their own on the forum! I’d ditch them in favour of a RPiZ solution. At least then you have a fighting chance of debugging it :grin:.


sudo tshark -f "port 80" -Y http

There is nothing in the emonCMS on the ESP8266 (it just has the headings Timestamp & Log, with no data below unlike in another ESP8266).

This is the log from the emonPi; the Garage went offline ~ 23:30 last night, but I can’t see anything specific there either.

I’d be happy to move to RPiZ, but will have to do some reading up on what to do first.


2020-05-06 07:35:54.945|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2020-05-06 07:35:55.832|ERROR|index.php|Not Admin|admin/view
2020-05-06 13:26:27.079|ERROR|index.php|Not Authenticated|dashboard/view
2020-05-06 15:29:54.698|ERROR|index.php|Not Authenticated|dashboard/view
2020-05-06 17:06:23.493|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-06 17:53:49.235|ERROR|index.php|Not Authenticated|dashboard/view
2020-05-07 04:00:13.103|WARN|index.php|Time string not valid 2020-05-05T01:00:00 01:00
2020-05-07 04:00:15.076|WARN|index.php|Time string not valid 2020-05-05T01:30:00 01:00
2020-05-07 04:00:17.086|WARN|index.php|Time string not valid 2020-05-05T02:00:00 01:00
2020-05-07 04:00:19.089|WARN|index.php|Time string not valid 2020-05-05T02:30:00 01:00
2020-05-07 04:00:21.070|WARN|index.php|Time string not valid 2020-05-05T03:00:00 01:00
2020-05-07 04:00:23.092|WARN|index.php|Time string not valid 2020-05-05T03:30:00 01:00
2020-05-07 04:00:25.136|WARN|index.php|Time string not valid 2020-05-05T04:00:00 01:00
2020-05-07 04:00:27.153|WARN|index.php|Time string not valid 2020-05-05T04:30:00 01:00
2020-05-07 04:00:29.122|WARN|index.php|Time string not valid 2020-05-05T05:00:00 01:00
2020-05-07 04:00:31.108|WARN|index.php|Time string not valid 2020-05-05T05:30:00 01:00
2020-05-07 04:00:33.132|WARN|index.php|Time string not valid 2020-05-05T06:00:00 01:00
2020-05-07 04:00:35.127|WARN|index.php|Time string not valid 2020-05-05T06:30:00 01:00
2020-05-07 04:00:37.101|WARN|index.php|Time string not valid 2020-05-05T07:00:00 01:00
2020-05-07 04:00:39.128|WARN|index.php|Time string not valid 2020-05-05T07:30:00 01:00
2020-05-07 04:00:41.121|WARN|index.php|Time string not valid 2020-05-05T08:00:00 01:00
2020-05-07 04:00:43.133|WARN|index.php|Time string not valid 2020-05-05T08:30:00 01:00
2020-05-07 04:00:45.419|WARN|index.php|Time string not valid 2020-05-05T09:00:00 01:00
2020-05-07 04:00:47.144|WARN|index.php|Time string not valid 2020-05-05T09:30:00 01:00
2020-05-07 04:00:49.138|WARN|index.php|Time string not valid 2020-05-05T10:00:00 01:00
2020-05-07 04:00:51.184|WARN|index.php|Time string not valid 2020-05-05T10:30:00 01:00
2020-05-07 04:00:53.192|WARN|index.php|Time string not valid 2020-05-05T11:00:00 01:00
2020-05-07 04:00:55.241|WARN|index.php|Time string not valid 2020-05-05T11:30:00 01:00
2020-05-07 04:00:57.186|WARN|index.php|Time string not valid 2020-05-05T12:00:00 01:00
2020-05-07 04:00:59.248|WARN|index.php|Time string not valid 2020-05-05T12:30:00 01:00
2020-05-07 04:01:01.190|WARN|index.php|Time string not valid 2020-05-05T13:00:00 01:00
2020-05-07 04:01:03.222|WARN|index.php|Time string not valid 2020-05-05T13:30:00 01:00
2020-05-07 04:01:05.173|WARN|index.php|Time string not valid 2020-05-05T14:00:00 01:00
2020-05-07 04:01:07.176|WARN|index.php|Time string not valid 2020-05-05T14:30:00 01:00
2020-05-07 04:01:09.153|WARN|index.php|Time string not valid 2020-05-05T15:00:00 01:00
2020-05-07 04:01:11.205|WARN|index.php|Time string not valid 2020-05-05T15:30:00 01:00
2020-05-07 04:01:13.191|WARN|index.php|Time string not valid 2020-05-05T16:00:00 01:00
2020-05-07 04:01:15.162|WARN|index.php|Time string not valid 2020-05-05T16:30:00 01:00
2020-05-07 04:01:17.218|WARN|index.php|Time string not valid 2020-05-05T17:00:00 01:00
2020-05-07 04:01:19.179|WARN|index.php|Time string not valid 2020-05-05T17:30:00 01:00
2020-05-07 04:01:21.264|WARN|index.php|Time string not valid 2020-05-05T18:00:00 01:00
2020-05-07 04:01:23.184|WARN|index.php|Time string not valid 2020-05-05T18:30:00 01:00
2020-05-07 04:01:25.165|WARN|index.php|Time string not valid 2020-05-05T19:00:00 01:00
2020-05-07 04:01:27.187|WARN|index.php|Time string not valid 2020-05-05T19:30:00 01:00
2020-05-07 04:01:29.218|WARN|index.php|Time string not valid 2020-05-05T20:00:00 01:00
2020-05-07 04:01:31.224|WARN|index.php|Time string not valid 2020-05-05T20:30:00 01:00
2020-05-07 04:01:33.201|WARN|index.php|Time string not valid 2020-05-05T21:00:00 01:00
2020-05-07 04:01:35.225|WARN|index.php|Time string not valid 2020-05-05T21:30:00 01:00
2020-05-07 04:01:37.185|WARN|index.php|Time string not valid 2020-05-05T22:00:00 01:00
2020-05-07 04:01:39.227|WARN|index.php|Time string not valid 2020-05-05T22:30:00 01:00
2020-05-07 04:01:41.220|WARN|index.php|Time string not valid 2020-05-05T23:00:00 01:00
2020-05-07 04:01:43.229|WARN|index.php|Time string not valid 2020-05-05T23:30:00 01:00
2020-05-07 04:01:45.218|WARN|index.php|Time string not valid 2020-05-06T00:00:00 01:00
2020-05-07 04:01:47.209|WARN|index.php|Time string not valid 2020-05-06T00:30:00 01:00
2020-05-07 06:33:08.968|ERROR|index.php|Not Authenticated|dashboard/view
2020-05-08 04:00:08.225|WARN|index.php|Time string not valid 2020-05-06T01:00:00 01:00
2020-05-08 04:00:10.284|WARN|index.php|Time string not valid 2020-05-06T01:30:00 01:00
2020-05-08 04:00:12.217|WARN|index.php|Time string not valid 2020-05-06T02:00:00 01:00
2020-05-08 04:00:14.240|WARN|index.php|Time string not valid 2020-05-06T02:30:00 01:00
2020-05-08 04:00:16.237|WARN|index.php|Time string not valid 2020-05-06T03:00:00 01:00
2020-05-08 04:00:18.391|WARN|index.php|Time string not valid 2020-05-06T03:30:00 01:00
2020-05-08 04:00:20.209|WARN|index.php|Time string not valid 2020-05-06T04:00:00 01:00
2020-05-08 04:00:22.236|WARN|index.php|Time string not valid 2020-05-06T04:30:00 01:00
2020-05-08 04:00:24.234|WARN|index.php|Time string not valid 2020-05-06T05:00:00 01:00
2020-05-08 04:00:26.227|WARN|index.php|Time string not valid 2020-05-06T05:30:00 01:00
2020-05-08 04:00:28.237|WARN|index.php|Time string not valid 2020-05-06T06:00:00 01:00
2020-05-08 04:00:30.262|WARN|index.php|Time string not valid 2020-05-06T06:30:00 01:00
2020-05-08 04:00:32.281|WARN|index.php|Time string not valid 2020-05-06T07:00:00 01:00
2020-05-08 04:00:34.281|WARN|index.php|Time string not valid 2020-05-06T07:30:00 01:00
2020-05-08 04:00:36.278|WARN|index.php|Time string not valid 2020-05-06T08:00:00 01:00
2020-05-08 04:00:38.359|WARN|index.php|Time string not valid 2020-05-06T08:30:00 01:00
2020-05-08 04:00:40.254|WARN|index.php|Time string not valid 2020-05-06T09:00:00 01:00
2020-05-08 04:00:42.271|WARN|index.php|Time string not valid 2020-05-06T09:30:00 01:00
2020-05-08 04:00:44.298|WARN|index.php|Time string not valid 2020-05-06T10:00:00 01:00
2020-05-08 04:00:46.450|WARN|index.php|Time string not valid 2020-05-06T10:30:00 01:00
2020-05-08 04:00:48.270|WARN|index.php|Time string not valid 2020-05-06T11:00:00 01:00
2020-05-08 04:00:50.268|WARN|index.php|Time string not valid 2020-05-06T11:30:00 01:00
2020-05-08 04:00:52.291|WARN|index.php|Time string not valid 2020-05-06T12:00:00 01:00
2020-05-08 04:00:54.310|WARN|index.php|Time string not valid 2020-05-06T12:30:00 01:00
2020-05-08 04:00:56.383|WARN|index.php|Time string not valid 2020-05-06T13:00:00 01:00
2020-05-08 04:00:58.317|WARN|index.php|Time string not valid 2020-05-06T13:30:00 01:00
2020-05-08 04:01:00.299|WARN|index.php|Time string not valid 2020-05-06T14:00:00 01:00
2020-05-08 04:01:02.316|WARN|index.php|Time string not valid 2020-05-06T14:30:00 01:00
2020-05-08 04:01:04.303|WARN|index.php|Time string not valid 2020-05-06T15:00:00 01:00
2020-05-08 04:01:06.414|WARN|index.php|Time string not valid 2020-05-06T15:30:00 01:00
2020-05-08 04:01:08.329|WARN|index.php|Time string not valid 2020-05-06T16:00:00 01:00
2020-05-08 04:01:10.304|WARN|index.php|Time string not valid 2020-05-06T16:30:00 01:00
2020-05-08 04:01:12.340|WARN|index.php|Time string not valid 2020-05-06T17:00:00 01:00
2020-05-08 04:01:14.403|WARN|index.php|Time string not valid 2020-05-06T17:30:00 01:00
2020-05-08 04:01:16.362|WARN|index.php|Time string not valid 2020-05-06T18:00:00 01:00
2020-05-08 04:01:18.340|WARN|index.php|Time string not valid 2020-05-06T18:30:00 01:00
2020-05-08 04:01:20.445|WARN|index.php|Time string not valid 2020-05-06T19:00:00 01:00
2020-05-08 04:01:22.393|WARN|index.php|Time string not valid 2020-05-06T19:30:00 01:00
2020-05-08 04:01:24.362|WARN|index.php|Time string not valid 2020-05-06T20:00:00 01:00
2020-05-08 04:01:26.344|WARN|index.php|Time string not valid 2020-05-06T20:30:00 01:00
2020-05-08 04:01:28.396|WARN|index.php|Time string not valid 2020-05-06T21:00:00 01:00
2020-05-08 04:01:30.340|WARN|index.php|Time string not valid 2020-05-06T21:30:00 01:00
2020-05-08 04:01:32.362|WARN|index.php|Time string not valid 2020-05-06T22:00:00 01:00
2020-05-08 04:01:34.373|WARN|index.php|Time string not valid 2020-05-06T22:30:00 01:00
2020-05-08 04:01:36.371|WARN|index.php|Time string not valid 2020-05-06T23:00:00 01:00
2020-05-08 04:01:38.435|WARN|index.php|Time string not valid 2020-05-06T23:30:00 01:00
2020-05-08 04:01:40.364|WARN|index.php|Time string not valid 2020-05-07T00:00:00 01:00
2020-05-08 04:01:42.437|WARN|index.php|Time string not valid 2020-05-07T00:30:00 01:00
2020-05-08 07:23:02.977|ERROR|index.php|Not Authenticated|dashboard/view
2020-05-08 10:45:02.186|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 10:45:06.605|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1
2020-05-08 11:09:32.266|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 11:37:20.406|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 11:59:41.687|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 13:03:10.994|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 13:13:15.968|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 14:10:06.168|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-08 16:44:46.829|ERROR|index.php|Not Admin|admin/view
2020-05-08 16:46:47.123|WARN|emoncms_mqtt.php|Not connected, retrying connection
2020-05-08 16:46:47.159|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2020-05-08 16:47:49.970|WARN|emoncms_mqtt.php|Not connected, retrying connection
2020-05-08 16:47:50.001|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2020-05-08 16:48:23.553|WARN|emoncms_mqtt.php|Not connected, retrying connection
2020-05-08 16:48:23.585|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2020-05-08 16:48:40.312|WARN|index.php|406 Not Acceptable|Modules/app/Views
2020-05-08 18:44:56.875|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-08 18:45:13.070|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-08 18:45:31.072|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-08 18:45:47.273|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-08 18:46:03.474|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-08 18:46:09.680|ERROR|input_controller.php|{"success": false, "message": "Format error, json key missing or invalid character"} for User: 1
2020-05-09 04:00:08.015|WARN|index.php|Time string not valid 2020-05-07T01:00:00 01:00
2020-05-09 04:00:10.030|WARN|index.php|Time string not valid 2020-05-07T01:30:00 01:00
2020-05-09 04:00:11.999|WARN|index.php|Time string not valid 2020-05-07T02:00:00 01:00
2020-05-09 04:00:14.018|WARN|index.php|Time string not valid 2020-05-07T02:30:00 01:00
2020-05-09 04:00:16.066|WARN|index.php|Time string not valid 2020-05-07T03:00:00 01:00
2020-05-09 04:00:17.992|WARN|index.php|Time string not valid 2020-05-07T03:30:00 01:00
2020-05-09 04:00:20.060|WARN|index.php|Time string not valid 2020-05-07T04:00:00 01:00
2020-05-09 04:00:22.002|WARN|index.php|Time string not valid 2020-05-07T04:30:00 01:00
2020-05-09 04:00:23.980|WARN|index.php|Time string not valid 2020-05-07T05:00:00 01:00
2020-05-09 04:00:26.033|WARN|index.php|Time string not valid 2020-05-07T05:30:00 01:00
2020-05-09 04:00:28.011|WARN|index.php|Time string not valid 2020-05-07T06:00:00 01:00
2020-05-09 04:00:30.007|WARN|index.php|Time string not valid 2020-05-07T06:30:00 01:00
2020-05-09 04:00:32.040|WARN|index.php|Time string not valid 2020-05-07T07:00:00 01:00
2020-05-09 04:00:34.081|WARN|index.php|Time string not valid 2020-05-07T07:30:00 01:00
2020-05-09 04:00:36.058|WARN|index.php|Time string not valid 2020-05-07T08:00:00 01:00
2020-05-09 04:00:38.084|WARN|index.php|Time string not valid 2020-05-07T08:30:00 01:00
2020-05-09 04:00:40.036|WARN|index.php|Time string not valid 2020-05-07T09:00:00 01:00
2020-05-09 04:00:42.041|WARN|index.php|Time string not valid 2020-05-07T09:30:00 01:00
2020-05-09 04:00:44.113|WARN|index.php|Time string not valid 2020-05-07T10:00:00 01:00
2020-05-09 04:00:46.029|WARN|index.php|Time string not valid 2020-05-07T10:30:00 01:00
2020-05-09 04:00:48.119|WARN|index.php|Time string not valid 2020-05-07T11:00:00 01:00
2020-05-09 04:00:50.047|WARN|index.php|Time string not valid 2020-05-07T11:30:00 01:00
2020-05-09 04:00:52.032|WARN|index.php|Time string not valid 2020-05-07T12:00:00 01:00
2020-05-09 04:00:54.152|WARN|index.php|Time string not valid 2020-05-07T12:30:00 01:00
2020-05-09 04:00:56.061|WARN|index.php|Time string not valid 2020-05-07T13:00:00 01:00
2020-05-09 04:00:58.091|WARN|index.php|Time string not valid 2020-05-07T13:30:00 01:00
2020-05-09 04:01:00.066|WARN|index.php|Time string not valid 2020-05-07T14:00:00 01:00
2020-05-09 04:01:02.054|WARN|index.php|Time string not valid 2020-05-07T14:30:00 01:00
2020-05-09 04:01:04.049|WARN|index.php|Time string not valid 2020-05-07T15:00:00 01:00
2020-05-09 04:01:06.139|WARN|index.php|Time string not valid 2020-05-07T15:30:00 01:00
2020-05-09 04:01:08.051|WARN|index.php|Time string not valid 2020-05-07T16:00:00 01:00
2020-05-09 04:01:10.134|WARN|index.php|Time string not valid 2020-05-07T16:30:00 01:00
2020-05-09 04:01:12.067|WARN|index.php|Time string not valid 2020-05-07T17:00:00 01:00
2020-05-09 04:01:14.048|WARN|index.php|Time string not valid 2020-05-07T17:30:00 01:00
2020-05-09 04:01:16.073|WARN|index.php|Time string not valid 2020-05-07T18:00:00 01:00
2020-05-09 04:01:18.120|WARN|index.php|Time string not valid 2020-05-07T18:30:00 01:00
2020-05-09 04:01:20.103|WARN|index.php|Time string not valid 2020-05-07T19:00:00 01:00
2020-05-09 04:01:22.081|WARN|index.php|Time string not valid 2020-05-07T19:30:00 01:00
2020-05-09 04:01:24.062|WARN|index.php|Time string not valid 2020-05-07T20:00:00 01:00
2020-05-09 04:01:26.090|WARN|index.php|Time string not valid 2020-05-07T20:30:00 01:00
2020-05-09 04:01:28.150|WARN|index.php|Time string not valid 2020-05-07T21:00:00 01:00
2020-05-09 04:01:30.075|WARN|index.php|Time string not valid 2020-05-07T21:30:00 01:00
2020-05-09 04:01:32.087|WARN|index.php|Time string not valid 2020-05-07T22:00:00 01:00
2020-05-09 04:01:34.136|WARN|index.php|Time string not valid 2020-05-07T22:30:00 01:00
2020-05-09 04:01:36.075|WARN|index.php|Time string not valid 2020-05-07T23:00:00 01:00
2020-05-09 04:01:38.089|WARN|index.php|Time string not valid 2020-05-07T23:30:00 01:00
2020-05-09 04:01:40.126|WARN|index.php|Time string not valid 2020-05-08T00:00:00 01:00
2020-05-09 04:01:42.154|WARN|index.php|Time string not valid 2020-05-08T00:30:00 01:00
2020-05-09 07:22:25.292|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-09 07:33:35.616|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-09 08:54:58.626|ERROR|input_controller.php|{"success": false, "message": "Format error: csv value is not numeric"} for User: 1
2020-05-09 09:11:17.873|WARN|index.php|406 Not Acceptable|Modules/app/Views
2020-05-09 13:26:50.379|ERROR|index.php|Not Admin|admin/view

For the sake of clarity, can I confirm that if I

Then I can forget about the ESP8266 widgets and rely on the Zero W’s wifi instead?

Did you try tshark?

There is no such thing as “emoncms on the ESP8266” - emoncms is the software running on the Pi.

Do you mean there is nothing in the emoncms log for that ESP8266?

Please put 3 backticks on a line befoe and after any code, logs etc.

Is this when the inputs stopped?

Something odd there.

The error seems to appear at 04:00 every day. What happens then?

Might be unrelated…

No, Emonhub is something that runs under Raspbian - you would either first flash Raspbian and then use the emonScripts or simply use an EmonSD - a full emoncms will not hurt - just ignore it although it makes it easy to modify the emonhub config.

I suggest you just point the HTTP interface to your EmonPi in the emonhub config.

I’ve recently done it - look at this thread.


I hadn’t (because I didn’t know how). Still not sure if I have done the right thing, but I installed it on my emonPi via ssh and ran the command you suggested. Here is a snippet of the results, with my API redacted.

pi@emonpi:~ $ sudo tshark -f "port 80" -Y http
Running as user "root" and group "root". This could be dangerous.
Capturing on 'wlan0'
    4 0.007944548 → HTTP 359 GET /emoncms/input/post.json?json={MSG:28941,Vrms:248.75,P1:52,E1:11094,pulse:1,psent:28861,psuccess:27395,freeram:29528}&node=barn&apikey=REDACTED HTTP/1.1 
    6 0.147998214 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   12 0.538235481 → HTTP 241 GET /emoncms/input/post?json=%7B%7B%22percentage%22%3A99.8023296858454%7D%7D&node=0&apikey= REDACTED HTTP/1.1 
   14 0.655201537 → HTTP 236 HTTP/1.1 200 OK  (text/plain)
   22 4.070983774 → HTTP 361 GET /emoncms/input/post.json?json={ct1:2,ct2:0,ct3:0,ct4:0,vrms:24608,pulse:0,psent:212625,psuccess:212039,freeram:29464}&node=HWtank&apikey= REDACTED HTTP/1.1 
   24 4.211786859 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   30 6.638170556 → HTTP 370 GET /emoncms/input/post.json?json={ct1:0,ct2:-115,ct3:0,ct4:0,vrms:25241,pulse:0,t0:221,psent:287811,psuccess:287537,freeram:29272}&node=house&apikey= REDACTED HTTP/1.1 
   32 6.806072092 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   38 10.006243824 → HTTP 359 GET /emoncms/input/post.json?json={MSG:28942,Vrms:248.83,P1:53,E1:11094,pulse:1,psent:28862,psuccess:27396,freeram:29472}&node=barn&apikey= REDACTED HTTP/1.1 
   40 10.145406719 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   46 10.516572630 → HTTP 241 GET /emoncms/input/post?json=%7B%7B%22percentage%22%3A99.8023296858454%7D%7D&node=0&apikey= REDACTED HTTP/1.1 
   48 10.633888577 → HTTP 236 HTTP/1.1 200 OK  (text/plain)
   56 11.856052041 → HTTP 372 GET /emoncms/input/post.json?json={ct1:-11,ct2:-117,ct3:0,ct4:0,vrms:25226,pulse:0,t0:221,psent:287812,psuccess:287538,freeram:29304}&node=house&apikey= REDACTED HTTP/1.1 
   58 12.022684788 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   64 13.976402117 → HTTP 361 GET /emoncms/input/post.json?json={ct1:3,ct2:0,ct3:0,ct4:0,vrms:24605,pulse:0,psent:212626,psuccess:212040,freeram:29688}&node=HWtank&apikey= REDACTED HTTP/1.1 
   66 14.116488491 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   72 20.002474823 → HTTP 359 GET /emoncms/input/post.json?json={MSG:28943,Vrms:248.79,P1:62,E1:11094,pulse:1,psent:28863,psuccess:27397,freeram:29640}&node=barn&apikey= REDACTED HTTP/1.1 
   74 20.140149451 → HTTP 224 HTTP/1.1 200 OK  (text/plain)
   80 20.519041004 → HTTP 241 GET /emoncms/input/post?json=%7B%7B%22percentage%22%3A99.8023296858454%7D%7D&node=0&apikey= REDACTED HTTP/1.1 
   82 20.652273077 → HTTP 236 HTTP/1.1 200 OK  (text/plain)
   90 22.077329711 → HTTP 372 GET /emoncms/input/post.json?json={ct1:-13,ct2:-122,ct3:0,ct4:0,vrms:25226,pulse:0,t0:221,psent:287813,psuccess:287539,freeram:29416}&node=house&apikey= REDACTED HTTP/1.1 
   92 22.250037078 → HTTP 224 HTTP/1.1 200 OK  (text/plain)

The emonTx’s on get through, but not the one in question (.51). The .57 is my Node-RED instance.

Yes, sorry, that is what I meant.

Again, sorry, but now done.

No; looking at my list of Inputs, the garage emonTX stopped reporting 18 hours ago (@ 17:30), so it must have stopped at ~23:30 approx. I can’t think of anything that happens on the network at 04:00 each day - Octopus Go is 00:30-04:30, and I am not aware of any scheduled tasks on the USG router etc each night.

You have conclusively proved the problem is that the emonTX has stopped sending the data via HTTP @TrystanLea @glyn.hudson. It clearly has a network connection (you can log into the web interface on IP 51).

As I say, the ESP firmware is, to my mind, a bit flaky.

Thanks for the tshark results above and for your help @borpin.

On the faulty ESP8266 could you check the Latest Data tab, are the values there updating? It would be good to establish if the data is coming through from the EmonTx to the ESP8266 unit - or if the issue is definitely on the ESP8266 unit itself e.g something with the HTTP request code may have caused that part to fail somehow…

@TrystanLea - herewith 3 superimposed pages showing the emonPi dashboard (.50, behind), the garage (.51, top) and a working node house (.52, bottom). Does this show no data is going from the garage emonTx to the ESP8266?

Thanks @haffle when you look at the latest data page, the values should change every 10s, do you see this? On this window:


Yes, it does update every 10 seconds on the 1912 node, but not on the garage one (4452), where nothing shows.

Ah ok, great, so that sounds like its may be the EmonTx unit that has crashed rather than the ESP8266… possibly… On the EmonTx unit there is a little reset push on the opposite side to the CT sensor inputs, could you try pushing that down to reset the unit (without resetting the ESP8266) to see if that brings it back online?

1 Like