OpenEVSE to emon/cms won't connect properly

Having no luck getting OpenEVSE connected to my local emonCMS on a RPi3B - latest stable release build (july21)

I’ve used the correct read/write api key (if I change this I get an error so I know the api key is ok), but I’m left with this error saying “Format error, json value is not numeric”

Any ideas?

And here is the logfile

<details><summary>LAST ENTRIES ON THE LOG FILE</summary><br />
2023-01-12 14:18:44.-417|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:19:14.-394|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:19:44.-399|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:20:14.-401|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:20:44.-384|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:21:14.-383|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:21:44.-391|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:22:14.-374|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:22:44.-387|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:23:14.-390|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:23:44.-403|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:24:14.-394|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:24:44.-371|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:25:14.-368|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:25:44.-386|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:26:14.-390|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:26:44.-366|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:27:14.-371|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:27:44.-72|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:28:14.-325|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:28:44.-363|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:29:14.-315|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:29:44.-338|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:30:14.-345|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1<br />
2023-01-12 14:30:44.-306|ERROR|input_controller.php|{"success": false, "message": "Format error, json value is not numeric"} for User: 1</details><br />

What version of EmonCMS are you using? Is any more info given in the following log lines, like which specific input?

Low-write 11.2.11

This sounds like it could be related to this recent change I made move numeric value check to fix virtual feeds · emoncms/emoncms@c257d05 · GitHub sounds like I need to find another way of fixing this. A non numeric value crashes certain input processing if attached to the non numeric input - that was the original problem I was trying to solve.

The simplest solution is probably just to set the value to null if not numeric and not return an error at that point… I will make that change for now.

Ok I’ve pushed a fix, version is now 11.2.12

1 Like

OK - thanks. I actually went back to a clean install as my system was only a few weeks old, but I have updated to 11.2.12 and it’s still working.

I thought that was what it did anyway :slight_smile: