Hi.
To send data to emonCMS, I'm using the bulk mode, as defined in /emoncms/input/api:
/emoncms/input/bulk.json?data=[[0,10,250,100,20],[2,12,1437,3164],[10,10,252,80,21]]
This allows me to buffer a few samples and send them in one shot.
There is another sending format:
/emoncms/input/post.json?json={power:200}
but AFAIU it does not allow to send several samples from different time. Is this correct ?
Is there a format I could use to combine both advantages (multiple time samples and nice input name) ?
Re: emonCMS API : send bulk mode but with the possibility to add names like in json={power:200}
Hi,
I too need this functionality so that I may do something like:
/emoncms/input/bulk.json?data=[power:[0,10,250], pf:[10,10,2],power:[10,10,2]]
The wireless node ID is the only way current to differentiate between individual input data items, but this does not help if I want to use just a single wireless node [node 0] with many input items in it. Id like to bulk post to the individual input items such as power and pf within node 0.
Thanks in advance.
Re: emonCMS API : send bulk mode but with the possibility to add names like in json={power:200}
Bit of an old thread this but any chance this will ever be possible:
/emoncms/input/bulk.json?data=[power:[0,1,250], temp:[0,1,22],power:[60,1,300],temp:[60,1,23]]
I want to use bulk mode but need to also send names.
Thanks in advance
Re: emonCMS API : send bulk mode but with the possibility to add names like in json={power:200}
Would love that feature too!