Fluksometer V2

Hi, new here & interested in the product.
One question to start with, what happens to any data if the Internet connection is lost/down?
Thanks, David.

gebhardm's picture

To quote the manual's page 7: "The Fluksometer can make its sensor measurements available through a local JSON/REST API as well. While the Flukso server allows you to analyze your historical data and derive trend information, this local API is useful for monitoring your sensors in real-time. Sixty datapoints with a second resolution will be made available via the local API. No historical data is stored on the Fluksometer itself. Set the checkbox if you wish to enable the local API feature."
So the data is lost if the FLM gets offline - the server then takes the last reading before the net loss to show "some values".
As the sources are available and the hardware design is also known there might me an option to provide a ring buffer of certain size within the dragino itself...
Regards, Markus

icarus75's picture

When the FLM loses internet connectivity, e.g. when you turn off your router at night, it will buffer the readings in RAM. When the FLM is back online, it will send all the buffered readings to flukso.net in one pass. If a power loss occurs when the FLM has its readings buffered, these readings will be lost. However, as the last meter value is always saved to EEPROM on the sensor board in case of a power loss, the total amount of energy consumed during the offline period will still be correct. There will only be a loss of resolution in the readings. This will show itself as a non-zero flat line on the dash.

So while we do not persist readings in a local database on the FLM, data is buffered when the device is offline.

Cheers,
-Bart.

Dave07's picture

Thank you.
How long can the FLM buffer data if it loses connection to the Internet? Maintaining power is easy enough with a UPS but with the reliability of the Internet not as easy to manage it can be several hours before a reboot can be achieved.
But after looking to other devices This is still looking more & more like the device I am after connected into DIN mounted switchboard kwh pulse meters.
So the local API is just for viewing in real time but can not store/save data to the local device?
Thanks again,
David.

icarus75's picture

Local buffering uses subsampling aka aging of the data. So the older the data residing in the buffer, the lower the time granularity it is kept at. This mechanism ensures that buffered data increases only logarithmically in size, thus preventing an out-of-memory condition during a prolonged offline period.