GithubHelp home page GithubHelp logo

germanbluefox / iobroker.statistics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iobroker-community-adapters/iobroker.statistics

0.0 1.0 0.0 691 KB

some statistics for ioBroker

License: MIT License

JavaScript 78.19% HTML 21.81%

iobroker.statistics's Introduction

Logo

ioBroker.statistics

Number of Installations Number of Installations NPM version Downloads Build Status

NPM

Description

This adapter will make the configuration of statistics easier.

The adapter only reacts on state changes (state.ack=true), not on commands!

choose from the following settings:

  • count impulses or on/off changes (Only for binary values and positive edge)
  • calculate costs from the counted values (Only for binary values)
  • how long was status true/ON and how long false/OFF (Only for binary values)
  • delta between logged analogue values (Only for analog values)
  • daily max, min and average (Not for delta calculations)
  • min/max over the year
  • counts within 5 min and daily max, min and average of it (Not for delta calculations)
  • sum up of grouped values

The adapter subscribes to the configured objects and creates his own states in the statistics tree.

2 separate trees are created:

  • statistics.0.save -> final values of the time frame
  • statistics.0.temp -> temporary values up to the moment of transfer to save, then temp starts again

The structure of the state is: statistics.0.{save|temp}.{kind of stat}.{original observed state}.{state of statistical value}

A german HowTo doc is available here: howto_de

Settings

  • specify the relevant groups in the instance configuration page (admin => instances => statistics config)
  • specify the configuration in the settings of the state (admin => objects)

Changelog

1.0.7 (2021-07-27)

  • (bluefox) Removed the warnings for js-controller 3.x

1.0.6 (2021-05-27)

  • (bluefox) added the support of Admin5

1.0.4

  • (foxthefox) changed the state change to BOTH positive and negative edges, hence it causes a lot of log entries

1.0.3 (2021-02-08)

  • (Apollon77) fix from sentry crash reports

1.0.2 (2021-01-06)

  • (foxthefox) try catch around the cronjobs

1.0.1 (2020-12-22)

  • (Black-Thunder) Precision in rounding set to 4

1.0.0 (2020-05-01)

  • (bluefox) Caught error if structure is invalid
  • (bluefox) Added sentry
  • adapter.getObjectView -> controller > 2.0

0.2.3 (2020-01-02)

  • (HIRSCH-DE) bugfix main.js
  • (foxthefox) delete messagehandler

0.2.2 (2019-06-29)

  • (foxthefox) adapter logs a warning when invalid values arrive and cancels further processing

0.2.1 (2019-06-15)

  • (foxthefox) correction, timecount value was milliseconds instead seconds
  • (foxthefox) other calculations with 2 decimal places after comma
  • (foxthefox) min/max for day/week/month/quarter/year
  • (foxthefox) set of daily min/max starting point from actual value
  • (foxthefox) fixing the PR with dayMin 0 at 00:00
  • (foxthefox) improvement for timecount when receiving status updates and no real status change

0.2.0 (2019-01-08)

  • (foxthefox) compact mode

0.1.4 (2019-01-07)

  • (foxthefox) license added in io-package.json
  • (foxthefox) ReadMe updated
  • (foxthefox) type = misc-data

0.1.3 (2019-01-06)

  • first npm release
  • (foxthefox) german doc added
  • (foxthefox) error corrections
  • (foxthefox) travis testing corrections

0.1.2 (2018-09-08)

  • (bluefox) total refactoring

0.0.3

  • admin3 implemented
  • complete rewrite to have configuration through the settings of the individual states instead in admin page

0.0.2

  • setup running

0.0.1

  • initial release

License

The MIT License (MIT)

Copyright (c) 2018-2021 foxthefox [email protected],

Copyright (c) 2018-2021 bluefox [email protected]

iobroker.statistics's People

Contributors

apollon77 avatar black-thunder avatar foxthefox avatar germanbluefox avatar hirsch-de avatar

Watchers

 avatar

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.