File tree Expand file tree Collapse file tree 2 files changed +39
-12
lines changed Expand file tree Collapse file tree 2 files changed +39
-12
lines changed Original file line number Diff line number Diff line change 2424 description : |
2525 The status endpoint can be called to get the status of the EVSE.
2626
27- While it is posible to poll this endpoint, the recomendatoin is to retrieve the initial
28- state then use the [/ws](#statusUpdates)
27+ While it is posible to poll this endpoint, the recomendatoin is to retrieve the initial
28+ state then use the [/ws](#statusUpdates)
2929 responses :
3030 ' 200 ' :
3131 description : OK
7878 operationId : statusUpdates
7979 summary : EVSE status updates
8080 description : |
81- As the state changes on the EVSE a websocket frame will be sent over the socket.
81+ As the state changes on the EVSE a websocket frame will be sent over the socket.
8282 The frame will contain a JSON document conntaining only the updated state.
8383 responses :
8484 ' 200 ' :
@@ -404,6 +404,24 @@ paths:
404404 tags :
405405 - Schedule
406406 summary : Remove event
407+ /schedule/plan :
408+ get :
409+ summary : Get planned events and state
410+ description : This will return the planned events by day and also the current state of the scheduler
411+ responses :
412+ ' 200 ' :
413+ description : List of planed events
414+ content :
415+ application/json :
416+ schema :
417+ type : object
418+ properties :
419+ current_day :
420+ $ref : ' #/components/schemas/Day'
421+
422+ operationId : getSchedulePlan
423+ tags :
424+ - Schedule
407425 /logs :
408426 get :
409427 summary : Get event block information
@@ -512,6 +530,16 @@ components:
512530 msg :
513531 type : string
514532 description : The message
533+ Day :
534+ type : string
535+ enum :
536+ - monday
537+ - tuesday
538+ - wednesday
539+ - thursday
540+ - friday
541+ - saturday
542+ - sunday
515543 ScheduleEvent :
516544 type : object
517545 properties :
@@ -527,15 +555,7 @@ components:
527555 type : array
528556 uniqueItems : true
529557 items :
530- type : string
531- enum :
532- - monday
533- - tuesday
534- - wednesday
535- - thursday
536- - friday
537- - saturday
538- - sunday
558+ $ref : ' #/components/schemas/Day'
539559 required :
540560 - state
541561 - time
Original file line number Diff line number Diff line change @@ -356,3 +356,10 @@ properties:
356356 charge_mode :
357357 type : string
358358 minLength : 1
359+ scheduler_start_window :
360+ type : number
361+ default : 600
362+ description : >
363+ The maximum number of seconds to randomly add/subtract from the a scheduled charge start time,
364+ eg a value of 600 will adjust the start time my +/- 10 minutes. This is to help prevent large
365+ syncrinised loads when multiple verchiles start charging at the same time.
You can’t perform that action at this time.
0 commit comments