Hello
I would like to get the actual sensor data by connecting over TCP/IP to the Flukso server.
The manual describes a way to do this but it won't work.
I've tried this http request: "https://api.flukso.net/sensor/*SensorID*?version=1.0&token=*TokenID*¶m=all"
All I get is an internal server error.
Can somebody help me with this?
I would also like to request the data from the Fluko Kubes.
Requesting the data locally at the FLM (http or from the mqtt broker) is no option in my case.
Regards,
Gwen
Do not publish your tokens as these are your keys - edit it away...
I also get an internal error on the sample request - for the records and for icarus75 to follow up on:
Following request posted in a browser works (no token required; sensor id to be set in):
https://api.flukso.net/sensor/<sensorid>?version=1.0&interval=15min&unit=watt
and delivers
[[1451999280,14],[1451999340,18],[1451999400,18],[1451999460,18],[1451999520,43],[1451999580,80],[1451999640,69],[1451999700,69],[1451999760,68],[1451999820,67],[1451999880,"nan"],[1451999940,"nan"],[1452000000,"nan"],[1452000060,"nan"],[1452000120,"nan"]]
Be aware that due to high traffic, the API-server does not provide minute resolution; so, interval=minute gives a "bad request"...
Thank you for the quick reply.
Is there also an option to get data from the Flukso Kubes with this method?
Who has seen a kube in real life?
I have (a few years ago at Fosdem) :)
Prototypes do not count - for the records: https://archive.fosdem.org/2014/schedule/event/deviot09/ and https://www.flukso.net/files/presentations/flukso.20140424.pdf