Dev corner

Calling all engineers, tinkerers, hackers and geeks.

Odd graph, guess the device

Hi all,

Somewhere around christmas I've started to see odd graphs for my flukso: odd sine-like behaviour (see attached screenshot). If this is not my flukso misbehaving, do you have any guesses what kind of device this is (I do have a suspicion) and what is wrong with it?

Cheers,

Maarten

Totaliser

Hi flukso,

Is there any option to have a totaliser that give me
totaliser for power/gas/water ?

I don't understand l/day for gas/water ? I really want to have
a totaliser.

Thanks,
Sven

Server API question

Dear, again I need a carification fo someting very simple
I grab last month of data from the server with the function.

"https://api.flukso.net/sensor/" + SENSOR_KEY + "?version=1.0&token=" + SENSOR_TOKEN + "&interval=month"&unit=watt"

And today on the 30th of December I get a array where te last 4 values are:

[1325030400, 8, 1325116800, 23]

Converting the time stamps those are:

GMT: Wed, 28 Dec 2011 00:00:00 GMT, 8 watts
GMT: Thu, 29 Dec 2011 00:00:00 GMT, 23 watts

Retrieving sensor parameters

When we retrieve sensor parameters from flukso.net we get a JSON-object response. The "last update" sensor parameter that can be found in that object consists of an array, the first element is the timestamp. But what is the second? Is it the number of total pulses so far?

{"access":1310045295,"type":"electricity","function":"main","class":"pulse","voltage":null,
"current":null,"phase":null,"constant":1.0,"enabled":1,"lastupdate":[1310045295,
1006793948]}

Thanks,

Ben

Android Flukso Viz alpha release.

http://dl.dropbox.com/u/11717494/FluksoViz.apk
This will install a Flukso Viz app.

This is an absolute work in progress, with plenty of bugs but I look for a volunteer to test it.

Should work with 3 phase Flukso setup. Will crash with 1 phase setup or lack of IP on the device (no wifi) Only tested on 480x800 resolution, and android 2.2 tablet. Month data is not displayed as I only own a flukso for 2 weeks and it didn't gather enough data to let me debug it.

Implemented features are:
-taping a realtime graph will change amount of the details displayed
-taping the large readout will enter the DeltaMode. Takes a total usage in the last second and subtracts it from. Useful for checking power of a particular light or device.
-The Today/Week table is self explanatory and the percentage sign on the end is a difference to the day/week before.
-For Today power consumed you might see a large number (that might change quickly) just past midnight as this is 24h power use extrapolated value based on the average power from midnight till now.

Screenshot. http://dl.dropbox.com/u/11717494/fluksoviz%20alpha.PNG

Sample installation video: http://www.youtube.com/watch?v=0FPnJHUa3QQ&feature=youtu.be

Source code released under GPLv3: https://dl.dropbox.com/u/11717494/FluksoViz.rar