Zitat von tealc_hrOkay, I tested it on browser:
If You replace missing values '' with word
null
It Works! It happens only on local emoncms. Emoncms.org chew it....
Okay nuno, when You will have time, You just have to replace blank values which You pass to local emoncms with "0" or "null".
Take a look at failing code from 2.1.0 Cheops:
Code
http://172.28.7.11/emoncms/input/post.json?node=31&json={1:0005,2:069.3,3:27.39,4:00168,5:10000000,6:0000,7:0000,8:,9:,10:,11:,12:,30:2018,31:06,32:27,33:14,34:50,35:45}&apikey=b8a6f465e0eee63a183a2fbe6c4c7ada
And now see what is passing to local emoncms without glitch:
Code
http://172.28.7.11/emoncms/input/post.json?node=31&json={1:0005,2:069.3,3:27.39,4:00168,5:10000000,6:0000,7:0000,8:0,9:0,10:0,11:0,12:0,30:2018,31:06,32:27,33:14,34:50,35:45}&apikey=b8a6f465e0eee63a183a2fbe6c4c7ada
http://172.28.7.11/emoncms/input/post.json?node=31&json={1:0005,2:069.3,3:27.39,4:00168,5:10000000,6:0000,7:0000,8:null,9:null,10:null,11:null,12:null,30:2018,31:06,32:27,33:14,34:50,35:45}&apikey=b8a6f465e0eee63a183a2fbe6c4c7ada
Looking forward to a quick bugfix!