Comments (15)
this is solved with 1.0.4
from iobroker.statistics.
the only thing what was recently updated was the rounding to 4 digits.
but this was 1.0.0 to 0.2.2
the major update to 1.0.0 cam from bluefox, I have to dig in the code
Edit: what should be the statistical case?
If it is a count value, then only the the true state is used. false values are not considered.
from iobroker.statistics.
Strange. Ive done a rollback to 0.2.2 and all is fine again.
Maybe I'll try the update again tomorrow.
It is this settings for all devices:
from iobroker.statistics.
Same problem here:
STATE CHANGE] wrong value => false on sonoff.0.Gaszaehler.POWER2 => check the other adapter where value comes from
With 0.2.2 all is fine
from iobroker.statistics.
no need to retry upgrade to 1.0.1, it will happen again.
The changed code in 1.0.0 is:
`
if( (state.val === null) || (state.val === undefined) || (state.val === NaN) ){
to
if (!state.val && state.val !== 0) {
`
and throws the same message.
before it was checking for invalid only.
may be @GermanBluefox can say something
As I said before, the adapter does not count on negative edges, only 0->1. So from working it is right, from logging I have no opinion.
from iobroker.statistics.
I have the same issue here with true/false logging. My log is spamed all over with it. Could we somehow turn it off or is a rollback the only solution currently?
from iobroker.statistics.
you can roll back, if you want.
from iobroker.statistics.
Strange. Ive done a rollback to 0.2.2 and all is fine again.
Maybe I'll try the update again tomorrow.
Same Problem here, I had to roll back to 0.2.2
from iobroker.statistics.
I have the same issue and no values are count.
from iobroker.statistics.
Since no developer has fixed the issue in 1.x so far, it seems 0.2.2 is the only suitable version for many users.
from iobroker.statistics.
I can confirm what @foxthefox said in the post above:
I'm running version 1.0.2 with the line
if (!state.val && state.val !== 0) {
manually changed in the main.js back to the original one (from version 0.2.2). Running for some weeks now. No problems, everything works fine. Time count calculation is now correct again (was wrong before because adapter did not recognize 1->0 edges, so it's not only a logging issue but also wrong values for online-time/offline-time).
Has anybody any ideas wether there might be negative impact when switching back to the old line of code?
from iobroker.statistics.
Updated yesterday from 0.2.2 to 1.0.4 without log entries so far. Seems to be solved. Thanks!
from iobroker.statistics.
Now I have the same issue π
Version 1.0.9
from iobroker.statistics.
Please re-open
@foxthefox
from iobroker.statistics.
Update: After I've downgraded to 1.0.4., it's working again.
Is there a known error in 1.0.9 (latest version)
from iobroker.statistics.
Related Issues (20)
- Frage: Falschen Wert korrigieren HOT 1
- Update stable version in repo from 2.2.0 to 2.3.0 HOT 9
- rate_per_time_unit = inf HOT 2
- Timer to consumption HOT 1
- Decreasing values should be also calculated HOT 1
- Error: The id "save.sumGroup." is invalid. Ids are not allowed to end in "."
- TypeError: date.format is not a function
- RangeError: Array buffer allocation failed
- Problems with update to 2.3.0 HOT 3
- SumDelta -> Week consumption is not calculated correctly HOT 5
- Daily average is reset at midnight
- More detailed option for seconds and minutes
- High CPU usage of 2.3.0 vs. 2.2.0 (3 times) HOT 4
- Adapter only partly working or strange behavior: HOT 4
- Question: Is it possible to manually insert old data? HOT 3
- some thoughts about (missing/wrong) UNITS HOT 4
- Update stable version in repo from 2.3.0 to 2.4.0 HOT 1
- MinMaxWerte nicht korrekt HOT 9
- Livewerte glΓ€tten HOT 2
- [Bug]: Statistic Values are not updated HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.statistics.