Skip to content

Scheduler (desired charge)

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jul 10:23
· 1196 commits to main since this release

Downloads for this release

Changes

Scheduler is now added as service-call.
If set, the scheduler will create a plan for charging at the very lowest hours available til the set departure-time.

Schedule is created through service-call:

service: peaqev.scheduler_set
data: {
  charge_amount: 9
  departure_time: '22-07-08 12:00'
}

the datetime inputs must be the format provided here. IE yy-mm-dd hh:mm
You may add a parameter for schedule_starttime should you wish to pre-set a future schedule. If you do not provide this parameter, the starttime is at the time of the service-call. Your departure-time must of course be after the start-time.

charge_amount is in kWh
override_settings is a dormant setting which currently is always false. In future releases this bool-setting will allow you to override the min/max prices and also possibly the set peak.

To cancel a schedule before it is ended (it will auto-cancel on completion) you may call peaqev.scheduler_cancel. No parameters needed there.

This feature can be used to help Peaqev get you the very cheapest charging-hours. It is currently the cheapest way of charging we can offer, but is still of course combined with the peak-avoidance algorithm.
The scheduler will also constantly re-evaluate itself, for instance if you override the hours meanwhile, or the projected charge is greater or smaller than the scheduler initally thought (it will calculate based on your peak and a new running 24h-average consumption). Therefore you may see that the non-hours shift during a schedule.

Future updates will include possibilities to add multiple and re-occurring schedules.