Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
This commit is contained in:
46
tools/EVerest-main/interfaces/reservation.yaml
Normal file
46
tools/EVerest-main/interfaces/reservation.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
description: Interface for reservations
|
||||
cmds:
|
||||
reserve_now:
|
||||
description: Reserves an evse.
|
||||
arguments:
|
||||
request:
|
||||
type: object
|
||||
$ref: /reservation#/Reservation
|
||||
description: Requests to make a reservation
|
||||
result:
|
||||
description: >-
|
||||
Returns Accepted if reservation was successful or specifies error code.
|
||||
type: string
|
||||
$ref: /reservation#/ReservationResult
|
||||
cancel_reservation:
|
||||
description: Cancels the reservation with the given reservation_id
|
||||
arguments:
|
||||
reservation_id:
|
||||
description: Id of the reservation
|
||||
type: integer
|
||||
result:
|
||||
description: >-
|
||||
Returns true if reservation was cancelled. Returns false if there
|
||||
was no reservation to cancel.
|
||||
type: boolean
|
||||
exists_reservation:
|
||||
description: >-
|
||||
Checks if there is a reservation made for the given connector and token. Will also return true if there
|
||||
is a reservation with this token for evse id 0.
|
||||
arguments:
|
||||
request:
|
||||
type: object
|
||||
$ref: /reservation#/ReservationCheck
|
||||
description: >-
|
||||
The information to send for the check if there is a reservation on the given connector for the given token.
|
||||
result:
|
||||
description: >-
|
||||
Returns an enum which indicates the reservation status of the given id / id token / group id token combination.
|
||||
type: string
|
||||
$ref: /reservation#/ReservationCheckStatus
|
||||
vars:
|
||||
reservation_update:
|
||||
description: >-
|
||||
Update of the reservation.
|
||||
type: object
|
||||
$ref: /reservation#/ReservationUpdateStatus
|
||||
Reference in New Issue
Block a user