Docs › OCPP 2.1 › NotifyDERAlarm

NotifyDERAlarm OCPP 2.1

Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.

Request

FeldTypEinschränkungen / Beschreibung
controlTypestringPflichtenum: EnterService, FreqDroop, FreqWatt, FixedPFAbsorb, FixedPFInject, FixedVar, Gradients, HFMustTrip, HFMayTrip, HVMustTrip, HVMomCess, HVMayTrip, LimitMaxDischarge, LFMustTrip, LVMustTrip, LVMomCess, LVMayTrip, PowerMonitoringMustTrip, VoltVar, VoltWatt, WattPF, WattVar
Name of DER control, e.g. LFMustTrip
gridEventFaultstringenum: CurrentImbalance, LocalEmergency, LowInputPower, OverCurrent, OverFrequency, OverVoltage, PhaseRotation, RemoteEmergency, UnderFrequency, UnderVoltage, VoltageImbalance
Type of grid event that caused this
alarmEndedbooleanTrue when error condition has ended. Absent or false when alarm has started.
timestampstringPflichtformat date-time
Time of start or end of alarm.
extraInfostringmaxLength 200
Optional info provided by EV.
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2025:1:NotifyDERAlarmRequest",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "DERControlEnumType": {
      "description": "Name of DER control, e.g. LFMustTrip\r\n",
      "javaType": "DERControlEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "EnterService",
        "FreqDroop",
        "FreqWatt",
        "FixedPFAbsorb",
        "FixedPFInject",
        "FixedVar",
        "Gradients",
        "HFMustTrip",
        "HFMayTrip",
        "HVMustTrip",
        "HVMomCess",
        "HVMayTrip",
        "LimitMaxDischarge",
        "LFMustTrip",
        "LVMustTrip",
        "LVMomCess",
        "LVMayTrip",
        "PowerMonitoringMustTrip",
        "VoltVar",
        "VoltWatt",
        "WattPF",
        "WattVar"
      ]
    },
    "GridEventFaultEnumType": {
      "description": "Type of grid event that caused this\r\n\r\n",
      "javaType": "GridEventFaultEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "CurrentImbalance",
        "LocalEmergency",
        "LowInputPower",
        "OverCurrent",
        "OverFrequency",
        "OverVoltage",
        "PhaseRotation",
        "RemoteEmergency",
        "UnderFrequency",
        "UnderVoltage",
        "VoltageImbalance"
      ]
    },
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "controlType": {
      "$ref": "#/definitions/DERControlEnumType"
    },
    "gridEventFault": {
      "$ref": "#/definitions/GridEventFaultEnumType"
    },
    "alarmEnded": {
      "description": "True when error condition has ended.\r\nAbsent or false when alarm has started.\r\n\r\n",
      "type": "boolean"
    },
    "timestamp": {
      "description": "Time of start or end of alarm.\r\n\r\n",
      "type": "string",
      "format": "date-time"
    },
    "extraInfo": {
      "description": "Optional info provided by EV.\r\n\r\n",
      "type": "string",
      "maxLength": 200
    },
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  },
  "required": [
    "controlType",
    "timestamp"
  ]
}

Response

Leeres Objekt {}.

JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2025:1:NotifyDERAlarmResponse",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  }
}

Quelle: Open Charge Alliance, OCPP 2.1 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.