Skip to content

Interface#59

Open
rofournier wants to merge 6 commits into
solidstudiosh:mainfrom
Mobilyweb:interface
Open

Interface#59
rofournier wants to merge 6 commits into
solidstudiosh:mainfrom
Mobilyweb:interface

Conversation

@rofournier

Copy link
Copy Markdown

No description provided.

jsf and others added 6 commits October 9, 2025 11:30
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…g, multi-connector, themes

Cockpit (Node/Hono + SSE, cockpit/): orchestrates the local stack and the virtual
borne, with an idempotent charge-scenarios seed, a charge-session engine (auto curve,
live V/A, multi-connector, smart-charging throttle, end receipt), live OCPP feed,
5 themes (futuristic/kawaii/retro/terminal/pastel) and a local⇄staging toggle.

VCP: in-memory OCPP configuration + charging-profile stores exposed via the admin API
(GetConfiguration/ChangeConfiguration/SetChargingProfile now persist).

Security: cockpit + VCP admin API bound to 127.0.0.1, static serving path-traversal
hardened, seed identity passed via env (no shell interpolation). Vendored platform/ &
websocket/ copies git-ignored; local config (paths/staging password) never committed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Scénarios de charge: résolveur read-only des cartes Mobilypass de deux
  users existants (JS, Max) par email + SIMTAG; plus de seed mutant
  (Stripe/owner/foreign supprimés). Options indisponibles grisées.
- Suppression des contrôles tension/intensité (sliders V/A) et du code mort
  associé (endpoint /params, setParams, CSS .slider).
- Toggle mode local/staging: reconnexion auto de la borne au changement de
  champ de connexion (l'endpoint était figé au spawn -> désync local/preprod).
- Robustesse charge: watchdog de handshake (anti-blocage sur Authorizing),
  annulation depuis tout état actif, refus (Blocked) géré + notice, FIFO de
  corrélation durcie (skip des entrées périmées).
- Multi-PDC: statut par connecteur dans BorneState, gestion du Reset
  (whole-CP), affichage par connecteur sélectionné.
- UI: placeholder WS_URL local, drawer config scrollable (bouton Save
  toujours atteignable en staging).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sync fork with upstream ocpp-virtual-charge-point: firmware-status
notifications, auto-restart, Docker/CI, demo network simulator, v21
start/stop fixes. Cockpit and smart-charging additions preserved.
Remote stop from the platform left two MeterValues loops running:
- VCP v16 RemoteStopTransaction handler never called
  transactionManager.stopTransaction() → internal meter timer kept ticking
  (v201 already did this).
- Cockpit ChargeSessionManager has its own 5s tick over the admin API and
  was never told about the remote stop → charge kept going in the cockpit.

Add remoteStopped(transactionId) for a silent close (receipt + timer clear,
no re-sent OCPP), wired on inbound RemoteStopTransaction/RequestStopTransaction.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant