Salia REST API
Charging Status
Real-time charging session state — CP signal, plug/contactor status, EV presence, authorization, and session data.
Get Control Pilot (CP) status
GET
http://{device_ip}
/api/secc/port0/ci/charge/cp/status
Returns the IEC 61851-1 Control Pilot signal state. This is the primary indicator of the charging session lifecycle.
Get Control Pilot (CP) status › Responses
200
CP status retrieved
CpState · enum
Enum values:
A
B
C
D
E
F
IEC 61851-1 Control Pilot states:
A— No vehicle connectedB— Vehicle connected, not chargingC— Vehicle connected, chargingD— Vehicle connected, charging with ventilation requiredE— Error / no powerF— EVSE not available
Get CP state (alternative endpoint)
GET
http://{device_ip}
/api/secc/port0/cp/state
Alternative path for the Control Pilot state. Returns same values as /ci/charge/cp/status.
Get CP state (alternative endpoint) › Responses
200
CP state retrieved
CpState · enum
Enum values:
A
B
C
D
E
F
IEC 61851-1 Control Pilot states:
A— No vehicle connectedB— Vehicle connected, not chargingC— Vehicle connected, chargingD— Vehicle connected, charging with ventilation requiredE— Error / no powerF— EVSE not available
Get current charging session data
GET
http://{device_ip}
/api/secc/port0/salia/chargedata
Returns data about the active charging session in pipe-delimited format:
"elapsed_seconds|power_watts|energy_kwh|rfid_uid"
Example: "3600|5000|5.00|C09CC3CF" means 1 hour, 5kW, 5kWh delivered, with RFID tag C09CC3CF.
Returns "-" when no session is active.
Get current charging session data › Responses
200
Charge data retrieved
string
Example: 3600|5000|5.00|C09CC3CF

