Hi
I am having problems with a script that I use to pull data from my micro inverters, it stopped working after a recent update, I have a hunch that data validation has been put into the emoncms core that now rejects the feed.
The data I’m trying to push is…
1 Serial: 404000128572-A, 1 Power: 209, 1 Freq: 50.1, 1 Temp: 37, 2 Serial: 404000128572-B, 2 Power: 209, 2 Freq: 50.1, 2 Temp: 37, 3 Serial: 404000128462-A, 3 Power: 209, 3 Freq: 50.1, 3 Temp: 38, 4 Serial: 404000128462-B, 4 Power: 209, 4 Freq: 50.1, 4 Temp: 38, 5 Serial: 404000128304-A, 5 Power: 205, 5 Freq: 50.1, 5 Temp: 39, 6 Serial: 404000128304-B, 6 Power: 206, 6 Freq: 50.1, 6 Temp: 39, 7 Serial: 404000128436-A, 7 Power: 203, 7 Freq: 50.1, 7 Temp: 41, 8 Serial: 404000128436-B, 8 Power: 207, 8 Freq: 50.1, 8 Temp: 41, 9 Serial: 404000128356-A, 9 Power: 11, 9 Freq: 50.1, 9 Temp: 26, 10 Serial: 404000128356-B, 10 Power: 3, 10 Freq: 50.1, 10 Temp: 26,
I have noticed the following lines come up in the logs…
2017-05-26 10:15:37.622|ERROR|input_controller.php|Format error: csv value is not numeric
2017-05-26 10:16:02.381|ERROR|input_controller.php|Format error, json string supplied is not valid
I had a suspicion that EmonCMS didn’t like the “-” in the serial numbers but when removing the serial numbers I still can get it to work.
Any ideas?
Regards
Dave
Original Project Here…