Code Monkey home page Code Monkey logo

Comments (4)

coussej avatar coussej commented on May 20, 2024

Hi Pascal,

I removed that functionality because I thought it was not usefull, as influx has such good compression that storage shouldn't really be an issue.

Could you perhaps elaborate on your use-case?

from node-opcua-logger.

vdwpsmt avatar vdwpsmt commented on May 20, 2024

If you have for instance a temperature sensor with an accuracy of +- 1% or +-0.5°C and you have a process where in 99% of the time the temperature is constant. You only want to log the changes caused by the process, not the small fluctuations that are caused by a sensor inaccuracy.
This would make a whole lot of difference in data traffic, storage, query performance, hardware etc, Certainly if you have xx sensors on xx machines.
It simply seems like good practice to avoid "useless" data.
Maybe oldschool thoughts? ;-)

from node-opcua-logger.

lifeisawavesorideit avatar lifeisawavesorideit commented on May 20, 2024

Hi guys,

first of all I would like to thank @coussej for puttin in the effort and creating this logger.

On this point I must agree with @Scelle, it would be interesting to have an option to save only the relevant data by that I mean high value changes not caused by sensor inaccuracy. Certainly this days storage costs almost nothing but it would be ideal to use less insead of using more.

from node-opcua-logger.

samborambo avatar samborambo commented on May 20, 2024

I suggest that adding deadband isn't the best solution. Your sensors might have an absolute accuracy of +/-1% but the relative accuracy is useful for sub-sampling. That 'noise' in between your useful measurement periods can be down-sampled to give much better accuracy of the useful data. You're better off pouring the raw data into a short term bucket and running a continuous query in Flux to down-sample the readings into a useful set.

from node-opcua-logger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.