Waziup / waziup-dashboard

Waziup dashboard repository
Other
3 stars 13 forks source link

Option to inject data on a sensor #95

Open cdupont opened 4 years ago

cdupont commented 4 years ago

There should be a button in the Sensors page to inject data from a CSV file.

cdupont commented 4 years ago

It's possible to inject JSON data:

curl -X POST "https://api.waziup.io/api/v2/devices/MyDevice/sensors/TC1/values" -H  "accept: application/json;charset=utf-8" -H  "Content-Type: application/json;charset=utf-8" -d "[  {    \"value\": 25,    \"timestamp\": \"2016-06-08T18:20:27.873Z\"  }]"

But not CSV data at the moment.