Interface#59
Open
rofournier wants to merge 6 commits into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.