Status of Channels is "null"

Hallo zusammen,

ich poste hier mal die currentData edgeRPC:

Wie hier zu sehen ist, ist der Status überall 0 wenn es IO ist… an was kann das liegen?
Lokal auf meinem Rechner von Simulator Edge zu Dev UI gehts. Nur in der Backend UI wird es als “null” angezeigt.

Danke für eure Hilfe !

{
    "jsonrpc": "2.0",
    "method": "edgeRpc",
    "params": {
        "edgeId": "EMS2",
        "payload": {
            "jsonrpc": "2.0",
            "method": "currentData",
            "params": {
                "charger0/ActualPower": 3974,
                "charger1/ActualPower": 4173,
                "ctrlIoHeatPump2/State": 0,
                "ctrlIoHeatPump2/Status": null,
                "ctrlIoHeatPump2/_PropertyMode": null,
                "ctrlIoHeatingElement0/ForceStartAtSecondsOfDay": null,
                "ctrlIoHeatingElement0/Status": null,
                "ctrlIoHeatingElement0/_PropertyMode": null,
                "ctrlIoHeatingElement0/_PropertyWorkMode": null,
                "ess0/Capacity": 20000,
                "ess0/DcDischargePower": -122,
                "ess0/Soc": 100,
                "io0/Relay3": null,
                "io0/Relay4": null,
                "io0/Relay5": null,
                "io1/ActivePower": 580,
                "io2/Relay": null,
                "meter2/ActivePower": 88,
                "meter2/ActivePowerL1": 40,
                "meter2/ActivePowerL2": 21,
                "meter2/ActivePowerL3": 27,
                "temp0/Temperature": null,
                "_sum/ConsumptionActivePower": 6307,
                "_sum/ConsumptionActivePowerL1": 189,
                "_sum/ConsumptionActivePowerL2": 42,
                "_sum/ConsumptionActivePowerL3": 6075,
                "_sum/ConsumptionMaxActivePower": 11400,
                "_sum/EssActivePower": 8026,
                "_sum/EssActivePowerL1": 2675,
                "_sum/EssActivePowerL2": 2675,
                "_sum/EssActivePowerL3": 2675,
                "_sum/EssMaxApparentPower": 10000,
                "_sum/EssSoc": 100,
                "_sum/GridActivePower": -2299,
                "_sum/GridActivePowerL1": -3066,
                "_sum/GridActivePowerL2": -2633,
                "_sum/GridActivePowerL3": 3400,
                "_sum/GridMaxActivePower": 800,
                "_sum/GridMinActivePower": -5400,
                "_sum/GridMode": 1,
                "_sum/ProductionAcActivePower": 580,
                "_sum/ProductionActivePower": 8727,
                "_sum/ProductionDcActualPower": 8147,
                "_sum/ProductionMaxActivePower": 9000
            }
        }
    }
}

Hallo @Sn0w3y,

ich habe deinen Post editiert und das JSON formatiert, damit es besser lesbar ist.

Das Problem sollte jetzt behoben sein. Für den STATUS Channel war die PersistencePriority noch falsch gesetzt. Das führte dazu, dass der Wert am Backend nicht verfügbar war:

https://github.com/OpenEMS/openems/blame/develop/io.openems.edge.controller.io.heatpump.sgready/src/io/openems/edge/controller/io/heatpump/sgready/ControllerIoHeatPumpSgReady.java#L19C5-L19C5

Gruß,
Stefan

1 Like

Danke Stefan,

hatte ich mittlerweile herausgefunden, als ich im Controller Backend ein wenig rungespielt habe.

Danke für die Info ! :slight_smile:
Grüße