NEWS
Statistics Adapter "[STATE CHANGE] wrong value"
-
Der Statistics Adapter (v 1.0.2) berechnet nicht die Anzahl der sich ändernden States von einem Objekt. Weiß jemand was zu tun ist?
statistics.0 2021-01-12 16:57:49.883 warn (26236) [STATE CHANGE] wrong value => false on sonoff.0.Spuelmaschine.POWER => check the other adapter where value comes from statistics.0 2021-01-12 16:57:49.883 debug (26236) [STATE CHANGE] stateChange => false [true]
{ "from": "system.adapter.sonoff.0", "user": "system.user.admin", "ts": 1576948666312, "common": { "name": "Spuelmaschine POWER", "type": "boolean", "role": "switch", "read": true, "write": true, "storeMap": true, "custom": { "influxdb.0": { "enabled": true, "changesOnly": false, "debounce": 0, "maxLength": 10, "retention": 0, "changesRelogInterval": 0, "changesMinDelta": 0, "storageType": "", "aliasId": "" }, "statistics.0": { "enabled": true, "logName": "Spuelmaschine", "count": true, "sumCount": false, "timeCount": false, "fiveMin": false, "groupFactor": "", "impUnit": "", "impUnitPerImpulse": "", "sumIgnoreMinus": true, "sumDelta": false, "avg": false, "minmax": false, "sumGroup": "" } } }, "native": {}, "acl": { "object": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1636 }, "_id": "sonoff.0.Spuelmaschine.POWER", "type": "state" }
-
Hallo,
ich habe zwar noch keine Lösung, aber ein ähnliches Problem.
Ich nutze den adapter, um die On/Off Zeiten eines Heizungsventils zu überwachen.
Wechsel auf true wird richtig erkannt, beim wechsel auf false bekomme ich eine ähnliche Meldung im Log:statistics.0 2021-01-22 14:48:04.866 warn (2818) [STATE CHANGE] wrong value => false on hm-rpc.xxx.10.STATE => check the other adapter where value comes from statistics.0 2021-01-22 14:48:04.865 debug (2818) [STATE CHANGE] stateChange => false [true]
Letztes Jahr hat das noch funktioniert. Ist mir eben erst aufgefallen, dass es hakt.
Gruß
Sven -
ich habe auch das hier gefunden, scheint als ein mehr oder weniger bekanntes Problem zu sein
https://github.com/foxthefox/ioBroker.statistics/issues/52 -
Meine Übergangslösung für das Problem: ich habe den Adapter auf Version 0.2.2 zurückgesetzt und werde GitHub ein bisschen im Auge behalten