windows to emoncms : I need some help with inputs

Hi all

Getting my emonTx today, and have just written some test code to input data.

uploading csv is ok as the example specifies the Node but How do I specify the node in a json statement?

this always post's to node zero

"http://192.168.1.105/emoncms/input/post.json?json={xxx}&apikey=xxxxxxxxxxxxxxxxxxxxx"

I have tried variations on

"http://192.168.1.105/emoncms/input/post.json?Node=1json={xxx}&apikey=xxxxxxxxxxxxxxxxxxxxx"

"http://192.168.1.105/emoncms/input/post.json?json={Node1xxx}&apikey=xxxxxxxxxxxxxxxxxxxxx"

at this stage I haven't got any actual data to play with and perhaps I should just use csv format is there any reason to choose one over the other?

any advice appreciated

Mike

MPooley's picture

Re: windows to emoncms : I need some help with inputs

OK

I have now found out how to set the node in the json statement.

I would still like to know is there any reason to choose the json one over the csv input?

I'm not sure I can see much difference?

 

thanks

 

Mike

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.