Загрузки и обновления ПО

Increase/Decrease Counter - MAHO Labs

The Increase/Decrease Counter splits a value that can both rise and fall, such as a cistern water level, battery state of charge, or balance counter, into two continuously increasing totals: Total Consumption and Total Replenishment. In addition, it calculates the percentage ratio between both values, making it easy to analyze how much has been consumed and how much has been replenished over time, for example water usage versus rainfall or battery discharge versus charge.
An adjustable hysteresis filters measurement noise while still detecting gradual changes. An optional spike protection mechanism can ignore implausible measurement jumps, ensuring stable and reliable operation. A configurable conversion factor allows the input value to be scaled into the desired unit, such as converting percentages into liters.
All accumulated values are stored persistently and remain available after system restarts. The generated counters can be used directly with the MaHo Labs Consumption Counter to create daily, weekly, monthly, and yearly statistics.

Key Features:
Splits a changing value into Total Consumption and Total Replenishment
Calculates the consumption/replenishment ratio in percent (e.g., storage efficiency)
Adjustable hysteresis to suppress measurement noise without losing slow changes
Optional spike protection with triple-value confirmation
Configurable conversion factor for custom units
Persistent storage of accumulated values and direct compatibility with the MaHo Labs Consumption Counter for long-term statistics and reporting