Statistics adapter for ioBroker (Avg, Sum, Min, Max, ...)
Please use the "adapter list" in ioBroker to install a stable version of this adapter. You can also use the CLI to install this adapter:
iobroker add statistics
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
- (@simatec) Added responsive jsonConfig
- (@klein0r) Copy unit of source state to all statistic states
NodeJS >= 18.x and js-controller >= 5 is required
NodeJS 16.x is required
- (klein0r) Show error if groups are not configured correctly
- (klein0r) Fixed cron expressions for quarter and year
- (klein0r) Added indicators for startup and working
- (klein0r) Added Ukrainian language
NodeJS 14.5.0 is required
- (klein0r) Added hourly, weekly, monthly, ... averages
- (klein0r) Added promises to avoid parallel execution of tasks (lead to incorrect calculations)
- (klein0r) Fixed init values for save/temp
- (klein0r) Added option to enable statistics for objects via sendTo
- (klein0r) Allow sum delta to substract values (negative delta)
- (klein0r) Delete states when option in unchecked
- (klein0r) Removed dayMin and dayMax from avg (use minmax for that case!)
- (klein0r) Fix: Calculation of avg when no change of value
The MIT License (MIT)
Copyright (c) 2018-2024 foxthefox foxthefox@wysiwis.net, bluefox dogafox@gmail.com and Matthias Kleine info@haus-automatisierung.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.