Dev corner

Calling all engineers, tinkerers, hackers and geeks.

API for flukso to api.flukso.net

Hi,

I searched github for a spec or examples for the api that is used for the flukso sending its data every 5 Minutes to https://api.flukso.net, but wasn't successfull. I tend to host all my data on my own host. What I have in mind is an owncloud flukso app making heavy use of d3.js.

Req: Noob guide to extract data to csv or dbase

Hi,

I've searched the forum + google for hours but can't find a small noob guide how to set the local api to export data to my local dbase / csv file.
I've read the manual but unfortunately this doesn't make a lot of sense to me.
I have a flukso v2 + synology ds412+ running and would like to have the data streamed in a CSV or dbase file I can read out afterwards.

Is there some sort of Noob guide out there that could explain all the steps to me or if someone is willing to take up the challenge?
I'm not IT challenged but more of a ITPRO than a DEV :)

Any pointers to get me in the right direction are highly appreciated.

Local api - 404

When trying to retrieve the data of the local JSON/REST API, I keep getting a 404 error when trying to curl the url 'http://192.168.0.128:8080/sensor/&interval=minute&unit=watt&callback=realtime'
Trying to browse to the page directly gives me the same.
However, browsing to http://192.168.0.128 shows the configuration site.
Am I missing something?

Thanks

Getting raw pulse data

Is there any way to get raw pulse data out of the Flukso? The curl command in the manual shows me how to get the last 16 measurements, but these are already "cooked" up and provide power consumption. What I'd like to get is simply a list of time stamps, one for each pulse, preferably with millisecond resolution. Is this possible?

Thanks,

Michi.

Interpretation of lperday water readings on local API

When querying for my water pulse sensor via the local API (http://flukso-hash.local:8080/sensor/water_sensor_id?version=1.0&interva...) with only the tap in the kitchen running I get values like:

[[1361228944,306],[1361228945,306],[1361228946,306],...

The pulse meter only pulses once per liter. What does the number 306 mean? Am I wasting 306 liters per minute if I keep the tap open like this? Or... if I keep the tap running like this I will have used 306 liters in 24 hours?

In other words, the liter per day unit vs. the interval confuses me. If the 306 is the liters used per minute, why does the unit read lperday? With interval set to minute and unit to lperday I get a reading per second over the last minute of what exactly?

Thanks a lot!