Service Status

Description.

Used to inform the CS about the status of JOSEV services.

NOTE

This message can be triggered either as a response of a request issued by the CS or, as an update from JOSEV to inform about the status of any service.

It simply indicates that the Python process for the service has started successfully

NOTE

In OCPP, it is important not to confuse this message with websocket_status

ServiceStatusRequest

Topic: cs/josev. Used by CS to request the status of a specific service.

type

object

properties

  • id

type

string

format

uuid

  • name

const

service_status

  • type

const

request

  • data

type

object

properties

  • service

enum

slac, iso15118, ocpp, gridcode, smart_charging

Example:

message = {
    "id": "2b0aa109-21a1-4f2f-bdbd-6cdf139e7bb1",
    "name": "service_status",
    "type": "request",
    "data": {
        "service": "slac"  # or "iso15118" or "ocpp" (future additional services can be added)
        }
}

ServiceStatusResponse

Topic: josev/cs. Used by Josev to respond to a ServiceStatusRequest

type

object

properties

  • id

type

string

format

uuid

  • name

const

service_status

  • type

const

response

  • data

type

object

properties

  • service

enum

slac, iso15118, ocpp, gridcode, smart_charging

  • software_version

type

string

  • api_version

type

string

  • status

enum

ready, starting, stopping, error, busy

Example:

message = {
    "id": "2b0aa109-21a1-4f2f-bdbd-6cdf139e7bb1",
    "name": "service_status",
    "type": "response",
    "data": {
        "service": "slac",  # or "iso15118" or "ocpp" (future additional services can be added)
        "software_version": "0.5.0", # this is the service version
        "api_version": "0.34.1" #this corresponds to Josev API version
        "status": "ready"  # or "starting", "stopping", "error" (maybe also "busy" to indicate it is temporarily not available)
    }
}

ServiceStatusUpdate

Topic: josev/cs. Used by Josev to inform about the status of the service

type

object

properties

  • id

type

string

format

uuid

  • name

const

service_status

  • type

const

update

  • data

type

object

properties

  • service

enum

slac, iso15118, ocpp, smart_charging

  • software_version

type

string

  • api_version

type

string

  • status

enum

ready, starting, stopping, error, busy

Example:

message = {
    "id": "2b0aa109-21a1-4f2f-bdbd-6cdf139e7bb1",
    "name": "service_status",
    "type": "update",
    "data": {
        "service": "slac",  # or "iso15118" or "ocpp" (future additional services can be added)
        "software_version": "0.5.0", # this is the service version
        "api_version": "0.34.1" #this corresponds to Josev API version
        "status": "ready"  # or "starting", "stopping", "error" (maybe also "busy" to indicate it is temporarily not available)
    }
}