Dev corner

Calling all engineers, tinkerers, hackers and geeks.

Unit type when retrieving server data

In the manual electricity units are specified to watt, kwhperyear and a couple of currency units. Is it possible to retrieve Wh as a unit like it is presented on the dash or is that an operation made later? Eg. retrieving minute values and dividing them with 60 to get Wh?

Thoughts on support for heat meters?

I have got district heating and the meter I have is a Kamstrup Multical 401. Unfortunately there are no pulse outputs available on it, only two M-Bus outputs. One is of course used by the utility but I don't think the other is so useful as an input to Flukso..?
However there is an optical IR output on the meter which works according to IEC 1107/EN 61107. So, if I where to get an optical readout device (eg. http://kamstrup.com/media/503/file.pdf or similar) and convert the USB or RS232 to RS485 would that work with the Fluksometer?

REST API - Token

Hello,

I wanted to check out the REST API, I tried the example of chapter 3.6 of the manual (realtime data) like this:

curl -v "http://192.168.0.137:8080/sensor/260b2a7e322ef13dd392c8686d39d4bee1?version=1.0&interval=minute&
unit=watt&callback=realtime"

But it tells me this error: "Malformed query string interval, unit and version query parameters are required.", although all these parameters are specified.
Since all other examples include a token, I suspect this has something to do with it. But I can't find this token thing, the manual is rather obscure about this.
So: where can I find this token or is something else wrong?

thanks,

dvrslype

Hour counter

I was thinking to measure my Central Heating installation.
Since a normal installation is working with 2 pipes, you cant measure the fuel.

So i was thinking to measure the running hours. one solution is to build a circuit that sends pulses.

The easiest solution is a extra function in the flukso, "Counting the seconds when a input is activated"
So i only need to put a relay on the 230V or 24V circuit of my heating installation.

Can you put this function in the next update?