Skip to content

v0.1.53-beta.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 04:12
· 21 commits to main since this release

This is a prerelease for testing. Do not run it in production. The stable v0.1.53 follows after its test cycle.

Breaking changes

Since v0.1.52, including the changes listed in v0.1.53-beta.2:

  • GET /v1/sites/:id/load-management/history changed from a plain JSON array to the standard paginated reply { data, total } with page and limit (limit at most 100, default 10). API clients that read the array directly must read data and page through it. (beta.2)

  • The station charging profile routes moved to the Smart Charging permissions: GET /v1/stations/:id/charging-profiles needs smartCharging:read, and .../refresh, /composite, /clear and /push need smartCharging:write. An API key, role or user that held only stations:read or stations:write loses these routes until it gains the Smart Charging permission. (beta.2)

  • A SetChargingProfile to an offline station is no longer queued: the route answers 409 STATION_OFFLINE. Scripts that pushed profiles to offline stations must check the station or handle the 409. (beta.2)

  • Korean is no longer a supported language. Users and drivers whose language was Korean see English, and the v0.1.53 Helm chart and CDK refuse ko as the driver, station message or AI language. Pick another language for those accounts and deployments.

  • Minimum power applies to DC chargers only. The upgrade clears the stored Min Power of every station without a DC connector, and PATCH /v1/sites/:id/stations/:stationId/load-min-power answers 400 LOAD_MIN_POWER_DC_ONLY for such a station. A value the DC minimums of all stations under a circuit, panel, transformer or unit box together exceed now answers 400 LOAD_MIN_POWER_EXCEEDS_CAPACITY. AC sessions rely on their 6 A floor. Review the Min Power of your DC stations after the upgrade (Load Management).

  • A TxDefaultProfile at stack level 1 or above is refused on a load-managed station with 400 CHARGING_PROFILE_LOAD_MANAGED (station push, template push and the generic SetChargingProfile routes), because it would win over load management's own limits. Stack level 0 stays allowed. Move such profiles to stack level 0 or take the station out of load management.

  • The fallback from per-EVSE limits to one station limit after three refusals is gone: a refused EVSE limit now backs off (30 seconds, doubling up to 5 minutes) and is sent again. GET /v1/sites/:id/load-management and the PATCH .../load-balancing-mode reply no longer return evseLimitsRefusedAt, the station items no longer return heldUntilSessionsEnd, and the metric load_management_stations_evse_refused with its Grafana panel and alert is removed. Remove them from integrations and dashboards that read them.

  • The Plug and Charge provider test (POST /v1/pnc/settings/test-provider) answers an incomplete local provider with 400 PNC_PROVIDER_INCOMPLETE instead of VALIDATION_ERROR. Clients that branched on the old code must read the new one.

  • The allocation log reason idle_allowance is renamed idle. The upgrade renames stored rows. Integrations that read the reason of an idle station's limit must read idle.

  • Fleet spending limits (monthly_spend_limit_cents and the member limit) are written only with payments:read besides fleets:write. A role or API key without it gets 403 on those fields.

  • Fleet RFID cards are no longer published to roaming partners. A card held by a fleet member is pushed once as invalid to each partner that received it.

  • A driver started by the member app or portal is held to the fleet card's charge scope: a station outside it answers 403 FLEET_CHARGE_SCOPE_NOT_ALLOWED.

Upgrade notes

  • Migration 0492_release_0_1_53.sql gains new idempotent statements in this beta (fleet invitations, fleet usage limits and charge scope, the reason rename). A database that applied an earlier v0.1.53 beta applies only what is new. No manual step.
  • Load management works by one rule set: idle charging points and idle stations hold 0 A; when the cars' 6 A minimums do not fit, the lowest-priority, newest session waits at 0 A with its session open, resumes oldest first, and stays paused at least 15 minutes unless another session ends; a car that keeps drawing after its pause is in force has its session ended. Beta.4 ended sessions instead of pausing them.
  • Preconditioning windows of a depot plan go only to stations balanced per EVSE (a TxProfile per session).
  • A DC station whose minimum, or any power, the circuit cannot carry is paused at 0 W until room frees.
  • Unchanged from earlier betas: upgrade every pod to v0.1.53 before v0.1.54, which drops the nullable load_allocation_log.allocations column.

Changes since v0.1.53-beta.4

Load management

  • Fix: idle charging points on EVSE Default Limits no longer take 6 A each from the charging cars' share. Charging cars get their full tariff current while the circuit and unit boxes have room (GitHub discussion 64).
  • Pausing when the cars' minimums do not fit, with resume in arrival order and a 15-minute hold, replaces ending sessions. A session is ended only when its car keeps drawing through the pause.
  • Idle charging points and idle stations get 0 A on every limit method; the start allowance is gone.
  • Each limit sent is the sum of the shares of the sessions it carries, the same on every limit method.
  • The station pane shows Max Power and Allocated as separate rows, and charging EVSEs on EVSE Default Limits with their reason.
  • Fixes from the review round: a reboot counts the station's unanswered limits as failed, a battery or solar limit never lands between 0 and the 6 A minimums, unit box breaches of stations load management cannot bound are recorded and alerted.

Fleets

  • Fleet member invitations: fleet managers and operators invite drivers by email; drivers accept in the portal or register through the invitation. Pending invitations expire, can be revoked, and are rate limited. New permission Manage Fleet Members.
  • Fleet usage limits: daily and concurrent sessions, monthly energy, monthly spend for the fleet and per member, with warning and reached alerts to fleet managers and operators. Sessions stop at the energy limit, and OCPP 2.1 stations get the spend limit as maxCost.
  • Fleet RFID card charge scope: all stations, the fleet's sites, or chosen sites.
  • Fleet users choose Chosen Sites from the sites of their fleet's stations.

Security

  • ws is updated to 8.23.0.