ClearVariableMonitoring

Removes variable monitors by id.

Version
OCPP 2.0.1
Direction
CSMS → Charge Point
Functional block
Diagnostics

Deletes monitors installed with SetVariableMonitoring. Several ids can be cleared in one request, and each gets its own result.

Request

FieldTypeRequiredDescription
idinteger[]RequiredThe monitor ids to remove.
json
[2, "19223201", "ClearVariableMonitoring", {
  "id": [55, 56]
}]

Response

FieldTypeRequiredDescription
clearMonitoringResultClearMonitoringResultType[]RequiredOne result per id.
json
[3, "19223201", {
  "clearMonitoringResult": [
    { "id": 55, "status": "Accepted" },
    { "id": 56, "status": "NotFound" }
  ]
}]

Values

ClearMonitoringStatusEnumType

ValueMeaning
AcceptedThe monitor was removed.
NotFoundNo monitor with that id.
RejectedThe monitor exists but cannot be removed — typically a hard-wired one.

Implementation notes

`Rejected` usually means the monitor is built into the firmware. Hard-wired monitors cannot be cleared, only their reporting level adjusted with SetMonitoringLevel.

Results are per id — a batch can partly succeed.