Status notifications

One of the most important messages sent by a charger via OCPP is the "StatusNotification", or status for short. It represents the current state of each charge port on the charger. If the charger has multiple ports, each port can have an independent status – for example, port 1 could be "Charging" while port 2 is "Available". The status is reported by the charger in real time whenever it changes, so that Stekker has an up to date view of what is currently happening with the charger, which can be useful for troubleshooting. OCPP status messages can also include additional data like error codes.

POST/api/v1/events

Event: StatusNotification

curl --location --request POST 'https://api.stekker.app/api/v1/events' \
--header 'Authorization: Token provided-secret' \
--header 'Content-Type: application/json' \
--data-raw '{
  "notification": "OcppEvent",
  "protocol": "1.6",
  "chargePointId": "61409f9bad616b6c64c31704",
  "evseId": "NLEFLEV5496770",
  "ocppIdentity": "LIB_6513",
  "event": {
    "method": "StatusNotification",
    "params": {
      "connectorId": 1,
      "status": "Charging",
      "errorCode": "Charging",
      "info": "SCN(16A)"
    }
  },
  "response": {}
}
'