Hallo,
ich habe ein Problem mit dem Meter-Reset bei SA.
Folgende Fehlermeldung wird mir im Log ausgegeben:
[calculationHandler] unforeseen situation for alias.0.Keller.Lueftung.CONSUMPTION with value 1.4914939999999999, please send this to developer | reading : 1.4914939999999999 | calcvalues : {"alias":"LUEFTUNG","consumption":true,"costs":true,"deviceName":"alias__0__Keller__Lueftung__CONSUMPTION","financialCategory":"costs","headCategory":"consumed","meter_values":true,"name":"LUEFTUNG","stateType":"Haushaltsstrom EON 2023","stateUnit":"Wh","useUnit":"kWh","deviceResetLogicEnabled":true,"threshold":1}
Ich habe den Wert des alten Zählers (ein Shelly vor einem stromlosen Zustand) wie folgt anpasst im RAW Wert des States sowei den cummulierten Wert des Zählers angepasst, sodass der größer ist als der Reset-Wert (170,1)
| { |
| "_id": "alias.0.Keller.Lueftung.CONSUMPTION", |
| "native": {}, |
| "type": "state", |
| "common": { |
| "alias": { |
| "id": "shelly.0.shellyplus1pm#7c87ce65d970#1.Relay0.Energy" |
| }, |
| "name": "CONSUMPTION", |
| "role": "value.power.consumption", |
| "write": false, |
| "type": "number", |
| "unit": "Wh", |
| "custom": { |
| "sourceanalytix.0": { |
| "enabled": true, |
| "selectedUnit": "Wh", |
| "deviceResetLogicEnabled": true, |
| "threshold": 1, |
| "start_day": 170.818, |
| "start_week": 159.829, |
| "start_month": 155.137, |
| "start_quarter": 0, |
| "start_year": 0, |
| "alias": "LUEFTUNG", |
| "selectedPrice": "Haushaltsstrom EON 2023", |
| "costs": true, |
| "consumption": true, |
| "basicRate": true, |
| "meter_values": true, |
| "valueAtDeviceReset": "170,1", |
| "valueAtDeviceInit": "0" |
| } |
| } |
| }, |
| "acl": { |
| "object": 1636, |
| "state": 1636, |
| "owner": "system.user.admin", |
| "ownerGroup": "system.group.administrator" |
| }, |
| "from": "system.adapter.admin.0", |
| "user": "system.user.admin", |
| "ts": 1678983322257 |
| } |
Jedoch wird der cummulierte Wert nicht angepasst. Kann mir jemand bei diesem Fehler weiter helfen?
DANKE