Issue 273 ignore blockTime + changesMinDelta if val === 0#419
Open
5G7K wants to merge 1 commit intoioBroker:masterfrom
Open
Issue 273 ignore blockTime + changesMinDelta if val === 0#4195G7K wants to merge 1 commit intoioBroker:masterfrom
5G7K wants to merge 1 commit intoioBroker:masterfrom
Conversation
See Issue ioBroker#273 Small quick fix to always log values if value === 0. Solves problem, that if you log electric power of a solar penal or power of an electric meter of a wallbox, the last value that is logged is often not 0 W. this is because the last value is e.g. 500 W and then 5 seconds later it is 0 W. If you have enabled a blockTime of 20 sec, the last value is alwas 500W. This is confusing in diagrams. Maybe there's a better solution or this new behavior should be activated with an extra check box?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Issue #273
Small quick fix: always log values if value === 0.
Solves problem, that if you log electric power of a solar penal or power of an electric meter of a wallbox, the last value that is logged is often not 0 W. That is because the last value is e.g. 500 W and then 5 seconds later it is 0 W. If you have enabled a blockTime of 20 sec, the last logged value is always 500W instead of 0W. This is confusing in diagrams.
Maybe there's a better solution or this new behavior should be activated with an extra check box?