Comments (3)
from iobroker.statistics.
Datenpunkt angelegt um 11:39
`
2018-12-31 11:39:07.742 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE replace with 0 -> temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.offYear
2018-12-31 11:39:07.742 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE timeCount last10
2018-12-31 11:39:07.742 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE value temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last01 exists ? null in obj: temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last01
2018-12-31 11:39:07.742 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE replace with 0 -> temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last01
2018-12-31 11:39:07.743 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE value temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last10 exists ? null in obj: temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last10
2018-12-31 11:39:07.743 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE replace with 0 -> temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last10
2018-12-31 11:39:07.743 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE object hm-rpc.0.NEQ1836839.1.STATE last01
2018-12-31 11:39:07.743 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE act value false time 1546245864555
2018-12-31 11:39:07.743 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE state is false und last 01 now as lastChange
2018-12-31 11:39:07.744 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE objects hm-rpc.0.NEQ1836839.1.STATE last10
2018-12-31 11:39:07.744 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE act value false time 1546245864555
2018-12-31 11:39:07.745 - statistics.0 [SET INITIAL] hm-rpc.0.NEQ1836839.1.STATE state is false and last 10 get old time
`
1546245864555 = 9:44
Beim Anlegen war der Zustand false/0, somit wird richtigerweise last10 mit dem Zeitstempel von object gesetzt. last01 wird mit der aktuellen Zeit beschrieben.
-> keine Werte berechnet -> OK
11:42
der true/1 Zustand wird von iobroker nicht erkannt und
es wird erst wieder false/0 erkannt
`
2018-12-31 11:43:44.991 - statistics.0 [STATE CHANGE] ======================= hm-rpc.0.NEQ1836839.1.STATE =======================
2018-12-31 11:43:44.992 - statistics.0 [STATE CHANGE] stateChange => false [true]
2018-12-31 11:43:44.992 - statistics.0 [STATE CHANGE] count call hm-rpc.0.NEQ1836839.1.STATE with false
2018-12-31 11:43:44.992 - statistics.0 timecount call hm-rpc.0.NEQ1836839.1.STATE with false
2018-12-31 11:43:44.993 - statistics.0 [STATE CHANGE] ======================= statistics.0.temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.last10 =======================
2018-12-31 11:43:44.993 - statistics.0 [STATE CHANGE] stateChange => 1546245864555 [true]
2018-12-31 11:43:44.994 - statistics.0 [STATE CHANGE] 1->0 delta -6883188 state 1546245864555 last 1546252747743
2018-12-31 11:43:44.995 - statistics.0 [STATE CHANGE] ======================= statistics.0.temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.onDay =======================
2018-12-31 11:43:44.995 - statistics.0 [STATE CHANGE] stateChange => -6883188 [true]
2018-12-31 11:43:44.997 - statistics.0 [STATE CHANGE] ======================= statistics.0.temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.onWeek =======================
2018-12-31 11:43:44.997 - statistics.0 [STATE CHANGE] stateChange => -6883188 [true]
2018-12-31 11:43:44.999 - statistics.0 [STATE CHANGE] ======================= statistics.0.temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.onMonth =======================
2018-12-31 11:43:44.999 - statistics.0 [STATE CHANGE] stateChange => -6883188 [true]
2018-12-31 11:43:45.002 - statistics.0 [STATE CHANGE] ======================= statistics.0.temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.onQuarter =======================
2018-12-31 11:43:45.002 - statistics.0 [STATE CHANGE] stateChange => -6883188 [true]
2018-12-31 11:43:45.005 - statistics.0 [STATE CHANGE] ======================= statistics.0.temp.timeCount.hm-rpc.0.NEQ1836839.1.STATE.onYear =======================
2018-12-31 11:43:45.005 - statistics.0 [STATE CHANGE] stateChange => -6883188 [true]
`
1->0 delta -6883188 state 1546245864555 last 1546252747743 (9:44 -11:39)
hätte aber (11:43 -11:42) sein müssen
da aber kein 0->1 aufgetreten ist, fehlt das setzen von last01 und es bleibt bei 9:44 und somit Berechnung negativer Zeitspanne
=> falls doch einmal negative Zeiten entstehen, dann die Addition mit 0 setzen
from iobroker.statistics.
main.js ergänzt
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.