Post a timeseries as bulk data

Hello,

I have a timeseries of power data that ranges from Jan to May this year. I would like to post this data to a local emoncms installation i just made.

Seems the system is ready receive data just measured but i'm not finding a way to input data that was measured in the past.

I have a spreadsheet with this time series that i would like to input in emoncms. I have converted the date to unix timestamp and tryed to post it using the following commande but nothing was written on the database.

http://localhost/emoncms/api/post?time=1359027900&node=1&json={power:224.48}

Can anyone give me a hint on how to obtain this.

Cheers

Miguel

 

Robert Wall's picture

Re: Post a timeseries as bulk data

You probably need to add your apikey to the string you're sending to your server. Generally, you need the apikey as it is your authority to write into the database.

mgfernandes's picture

Re: Post a timeseries as bulk data

Hi,

Thank you for the support. There was also an error with the url string.

Cheers,

Miguel

 

Comment viewing options

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