Skip to content

v0.1.53-beta.7

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 19:18
· 17 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.

  • Changing a site's country now needs loadManagement:write besides the site write permission when the site has a panel, transformer or unit box budget and the change moves its Continuous Load (%) default (for example from the US to Germany). Without it, PATCH /v1/sites/:id answers 403 INSUFFICIENT_PERMISSIONS and changes nothing. Give that permission to the roles and API keys that edit site countries. (beta.6)

Upgrade notes

  • Migration 0492_release_0_1_53.sql gains new idempotent statements in this beta (Continuous Load (%), sessions lost at boot). 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.
  • Continuous Load (%) replaces the fixed 80 percent rule. Panels, circuits and unit box budgets now count a continuous load at the site country's default: 100 percent in IEC countries such as Germany (IEC 60364), 80 percent in the US, Canada and every other or unknown country (NEC, CEC). The upgrade recomputes the stored panel and circuit capacities of sites in an IEC country, so their usable capacity rises by a quarter (a 115 A circuit counts 115 A instead of 92 A). Review those sites and set a lower Continuous Load (%) where heat or grouped breakers call for it (Capacity and Continuous Load).
  • The unit box budget field ratedContinuous of the earlier v0.1.53 betas is replaced by continuousLoadPercent (50 to 100, empty for the country default) on PUT and GET .../units/:unitId/load-budget. The upgrade moves a box ticked Rated for Continuous Load to 100 percent.
  • A session a station drops when it reboots now ends on its own: when a booted station reports the connector Available and sends nothing for that session within 2 minutes, the session ends as PowerLoss at its last meter reading and is billed and receipted. A later stop from the station still wins (Sessions Lost When a Station Reboots).
  • Migration 0492_release_0_1_53.sql gains the tariff load priority statements in this beta: tariffs.load_priority (1 to 10, existing tariffs get 5) and the snapshots charging_sessions.tariff_load_priority and session_tariff_segments.load_priority (empty on existing rows). With every tariff at 5, load management allocates as before. No manual step.
  • 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.6

Load management

  • Tariff Load Priority: each tariff has a load priority from 1 to 10 (default 5). Under the Priority strategy, cars on one circuit rank by station priority first, then by the priority of the tariff each session charges at: a higher tariff priority gets power first, and the others keep their 6 A minimum (AC) before any car is paused. Under Equal Share tariff priority changes nothing. Panel and transformer cuts stay proportional. Set it on the tariff create and edit pages and the group's Tariffs tab. Suggested by @Tobias9876 in #64.
  • A station whose sessions charge at different tariff priorities under the Priority strategy is balanced per EVSE (a TxProfile per session), DC stations included, so each car gets its own limit.
  • The previous and next arrows of a station in the detail pane step through the stations of every circuit on the panel.

Fleets

  • Fleet invitation limits come from deployment configuration: FLEET_INVITATION_ADDRESS_DAILY_LIMIT (default 5 per fleet and address a day), FLEET_INVITATION_USER_HOURLY_LIMIT (20 per user an hour) and FLEET_INVITATION_FLEET_DAILY_LIMIT (100 per fleet a day), in Compose and the Helm chart (Environment Variables).
  • A refused invitation names the limit it hit and when it frees, with a Retry-After header (Fleets).

Known issue

  • A per-EVSE TxProfile the station refuses can be sent again before its 30-second backoff ends. The fix follows in the next beta.