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
| Field | Type | Required | Description |
|---|---|---|---|
id | integer[] | Required | The monitor ids to remove. |
json
[2, "19223201", "ClearVariableMonitoring", {
"id": [55, 56]
}]Response
| Field | Type | Required | Description |
|---|---|---|---|
clearMonitoringResult | ClearMonitoringResultType[] | Required | One result per id. |
json
[3, "19223201", {
"clearMonitoringResult": [
{ "id": 55, "status": "Accepted" },
{ "id": 56, "status": "NotFound" }
]
}]Values
ClearMonitoringStatusEnumType
| Value | Meaning |
|---|---|
Accepted | The monitor was removed. |
NotFound | No monitor with that id. |
Rejected | The 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.