From e387c168be94abf35afdf1ccb4c9298680a2e0f3 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 16:08:33 +0200 Subject: [PATCH 01/22] fix(ocppd): log and return charger request errors instead of failing silently --- core/class/ocpp.class.php | 6 +++++- resources/ocppd/ocppd.py | 28 +++++++++++++++------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 93b2031..be91a65 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -971,7 +971,11 @@ private function sendToCharger(array $_data): array { fclose($sock); } - log::add(__CLASS__, 'debug', $this->getHumanName() . ' _' . __FUNCTION__ . '(' . $_data['method'] . ') : ' . print_r($return, true)); + if (isset($return['status']) && $return['status'] == 'Error') { + log::add(__CLASS__, 'error', $this->getHumanName() . ' ' . __('Échec de la requête à la borne', __FILE__) . ' (' . $_data['method'] . ') : ' . $return['error']); + } else { + log::add(__CLASS__, 'debug', $this->getHumanName() . ' _' . __FUNCTION__ . '(' . $_data['method'] . ') : ' . print_r($return, true)); + } return $return; } diff --git a/resources/ocppd/ocppd.py b/resources/ocppd/ocppd.py index ea1d57e..f9b1fdc 100644 --- a/resources/ocppd/ocppd.py +++ b/resources/ocppd/ocppd.py @@ -134,49 +134,49 @@ async def wait_cs_response(self, attr, default): async def get_configuration(self, key: str = None): req = call.GetConfiguration(key=[key]) - return await self.call(req) + return await self.call(req, suppress=False) async def change_configuration(self, key: str, value: str): req = call.ChangeConfiguration(key=key, value=value) - return await self.call(req) + return await self.call(req, suppress=False) async def change_availability(self, connectorId: int, availability: str): req = call.ChangeAvailability( connector_id=connectorId, type=availability) - return await self.call(req) + return await self.call(req, suppress=False) async def start_transaction(self, connectorId: int, idTag: str): req = call.RemoteStartTransaction( connector_id=connectorId, id_tag=idTag) - return await self.call(req) + return await self.call(req, suppress=False) async def stop_transaction(self, transactionId: int): req = call.RemoteStopTransaction(transaction_id=transactionId) - return await self.call(req) + return await self.call(req, suppress=False) async def trigger_message(self, requestedMessage: str, connectorId: str = None): req = call.TriggerMessage( requested_message=requestedMessage, connector_id=connectorId) - return await self.call(req) + return await self.call(req, suppress=False) async def get_composite_schedule(self, connectorId: int, duration: int, chargingRateUnit: str): req = call.GetCompositeSchedule( connector_id=connectorId, duration=duration, charging_rate_unit=chargingRateUnit) - return await self.call(req) + return await self.call(req, suppress=False) async def set_charging_profile(self, connectorId: int, chargingProfile: dict = {}): req = call.SetChargingProfile( connector_id=connectorId, cs_charging_profiles=chargingProfile) - return await self.call(req) + return await self.call(req, suppress=False) async def clear_charging_profile(self, id: int = None, connectorId: int = None, chargingProfilePurpose: str = None, stackLevel: int = None): req = call.ClearChargingProfile( id=id, connector_id=connectorId, charging_profile_purpose=chargingProfilePurpose, stack_level=stackLevel) - return await self.call(req) + return await self.call(req, suppress=False) async def reset(self, type: str = "Soft"): req = call.Reset(type) - return await self.call(req) + return await self.call(req, suppress=False) async def disconnect(self): await self._connection.close() @@ -209,9 +209,11 @@ async def on_connect(websocket): setattr(cp, message['attr'], message['value']) response = {"status": "Accepted"} else: - response = await getattr(cp, message['method'])(*message['args']) - if response is None: - response = {} + try: + response = await getattr(cp, message['method'])(*message['args']) + except Exception as e: + logging.error("Error on %s for charge point %s: %r", message['method'], cp_id, e) + response = {"status": "Error", "error": repr(e)} logging.debug("Response: %s", response) if type(response) is dict: From 787d8decb10088890d2493f6234d39d296276d83 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 19:22:08 +0200 Subject: [PATCH 02/22] fix(auth): send badge expiry dates to the charger in UTC OCPP format --- core/class/ocpp.class.php | 10 ++++++++-- core/php/jeeOcpp.php | 7 ------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index be91a65..d6d726c 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -619,7 +619,7 @@ public function getAuth($_idTag = null): array { $groupId = $this->getConfiguration('authGroupId'); if ($groupId == 'authorize_all') { - return array('status' => 'Accepted'); + return array('status' => 'Accepted', 'expiry_date' => gmdate('Y-m-d\TH:i:s\Z', strtotime('+30 days'))); } if (!empty($groupId)) { @@ -636,9 +636,15 @@ public function getAuth($_idTag = null): array { } if (isset($auths[$_idTag]['expiry_date']) && $auths[$_idTag]['expiry_date'] != '') { - if (strtotime($auths[$_idTag]['expiry_date']) <= time()) { + $expiryTime = strtotime($auths[$_idTag]['expiry_date']); + if ($expiryTime <= time()) { $auths[$_idTag]['status'] = 'Expired'; } + $auths[$_idTag]['expiry_date'] = gmdate('Y-m-d\TH:i:s\Z', $expiryTime); + } else if ($auths[$_idTag]['status'] == 'Accepted') { + $auths[$_idTag]['expiry_date'] = gmdate('Y-m-d\TH:i:s\Z', strtotime('+30 days')); + } else { + unset($auths[$_idTag]['expiry_date']); } unset($auths[$_idTag]['name'], $auths[$_idTag]['concurrentTx']); diff --git a/core/php/jeeOcpp.php b/core/php/jeeOcpp.php index 95b8eb8..8d8bd37 100644 --- a/core/php/jeeOcpp.php +++ b/core/php/jeeOcpp.php @@ -92,13 +92,6 @@ case 'authorize': $auth = $eqLogic->getAuth($result['data']['id_tag']); - if ($auth['status'] == 'Accepted') { - if (!isset($auth['expiry_date']) || trim($auth['expiry_date']) === '') { - $auth['expiry_date'] = date('Y-m-d H:i', strtotime('+30 days')); - } - $auth['expiry_date'] = str_replace(' ', 'T', $auth['expiry_date']) . ':00Z'; - } - log::add('ocpp', 'debug', $eqLogic->getHumanName() . ' ' . __("Demande d'autorisation pour", __FILE__) . ' ' . $result['data']['id_tag'] . ' : ' . print_r($auth, true)); $eqLogic->chargerSendResponse('id_tag_info', $auth); break; From cd65d051c2d22edce892fda236c2b752cd599f37 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 19:23:37 +0200 Subject: [PATCH 03/22] fix(ocpp): round charging profile limit to one decimal as required by OCPP --- core/class/ocpp.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index d6d726c..7453c67 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -846,7 +846,7 @@ private function chargerSetChargingProfile(int $_connectorId, float $_limit, str 'chargingRateUnit' => $_chargingRateUnit, 'chargingSchedulePeriod' => [array( 'startPeriod' => 0, - 'limit' => $_limit + 'limit' => round($_limit, 1) )] ) ); From 10724dd22cd0bf05658fc1847cab5d1017a7f3ec Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 19:36:12 +0200 Subject: [PATCH 04/22] fix(ocpp): truncate remote start idTag to the OCPP 20-character limit --- core/class/ocpp.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 7453c67..9a72d92 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -785,7 +785,7 @@ private function chargerGetConfiguration(string $_key = null): array { public function chargerStartTransaction(string $_idTag = null, int $_connectorId) { if ($_idTag) { - $start = $this->sendToCharger(['method' => 'start_transaction', 'args' => [$_connectorId, $_idTag]]); + $start = $this->sendToCharger(['method' => 'start_transaction', 'args' => [$_connectorId, mb_substr($_idTag, 0, 20)]]); if (isset($start['status'])) { return $start['status']; } From 8046d2281e2b4a168463e5c292d15d0373c980da Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 19:38:13 +0200 Subject: [PATCH 05/22] fix(desktop): cap auth id and charger setting inputs to OCPP lengths --- desktop/js/authorisations.js | 2 +- desktop/js/ocpp.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/desktop/js/authorisations.js b/desktop/js/authorisations.js index fec27f7..00432e2 100644 --- a/desktop/js/authorisations.js +++ b/desktop/js/authorisations.js @@ -317,7 +317,7 @@ function addGroup(_group, _select = false) { } function addAuth(_auth = null) { - const id = '' + const id = '' const name = '' let status = '' + div += '' div += '' div += '' div += '' div += '' } else { - div += '' + div += '' } } else { div += '' + value + '' From 1a13dae43259cff0bfaa3226dd257996f6a1c54e Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 19:48:56 +0200 Subject: [PATCH 06/22] docs: bump pluginVersion & update changelog for 1.0.1 --- docs/fr_FR/changelog.md | 6 ++++++ plugin_info/info.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/fr_FR/changelog.md b/docs/fr_FR/changelog.md index a7b4185..c5577ee 100644 --- a/docs/fr_FR/changelog.md +++ b/docs/fr_FR/changelog.md @@ -4,6 +4,12 @@ > >S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte. +## 16/10/2026 ***(1.0.1)*** + +- **Démon** : les erreurs de communication avec la borne sont désormais signalées dans le log du plugin +- **Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation +- **Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)* + ## 06/10/2026 ***(1.0.0)*** - Première version stable diff --git a/plugin_info/info.json b/plugin_info/info.json index 8eda981..a3f64d0 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -1,7 +1,7 @@ { "id": "ocpp", "name": "OCPP", - "pluginVersion": "1.0.0", + "pluginVersion": "1.0.1", "description": { "fr_FR": "Plugin permettant de contrôler les bornes de recharge de véhicules compatibles avec le protocole OCPP en faisant de Jeedom un système central OCPP.", "en_US": "A plugin that allows you to control vehicle charging stations compatible with the OCPP protocol by turning Jeedom into an OCPP central system.", From 60c62ecc8eb775d07d3538fcf9038a2b7cb9b8c8 Mon Sep 17 00:00:00 2001 From: Salvialf <48010158+Salvialf@users.noreply.github.com> Date: Fri, 16 Oct 2026 17:49:22 +0000 Subject: [PATCH 07/22] Auto update translation done by jeedom/jeetranslate workflow --- core/i18n/de_DE.json | 3 ++- core/i18n/en_US.json | 3 ++- core/i18n/es_ES.json | 3 ++- core/i18n/it_IT.json | 3 ++- core/i18n/pt_PT.json | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/core/i18n/de_DE.json b/core/i18n/de_DE.json index f9a6ea0..42947d5 100644 --- a/core/i18n/de_DE.json +++ b/core/i18n/de_DE.json @@ -108,7 +108,8 @@ "connecteur": "Steckverbinder", "logiciel": "Software", "matériel": "Hardware", - "max": "max" + "max": "max", + "Échec de la requête à la borne": "Fehler bei der Anfrage an den Terminal" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Not-Aus", diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json index 8e82fb7..edebddc 100644 --- a/core/i18n/en_US.json +++ b/core/i18n/en_US.json @@ -108,7 +108,8 @@ "connecteur": "connector", "logiciel": "software", "matériel": "hardware", - "max": "max" + "max": "max", + "Échec de la requête à la borne": "Request to the terminal failed" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Emergency stop", diff --git a/core/i18n/es_ES.json b/core/i18n/es_ES.json index 719a7c4..a1c85a0 100644 --- a/core/i18n/es_ES.json +++ b/core/i18n/es_ES.json @@ -108,7 +108,8 @@ "connecteur": "conector", "logiciel": "software", "matériel": "equipos", - "max": "máx." + "max": "máx.", + "Échec de la requête à la borne": "Error en la solicitud al terminal" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Parada de emergencia", diff --git a/core/i18n/it_IT.json b/core/i18n/it_IT.json index 3cef368..66f9988 100644 --- a/core/i18n/it_IT.json +++ b/core/i18n/it_IT.json @@ -108,7 +108,8 @@ "connecteur": "connettore", "logiciel": "software", "matériel": "apparecchiature", - "max": "max" + "max": "max", + "Échec de la requête à la borne": "Richiesta non riuscita al terminale" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Arresto di emergenza", diff --git a/core/i18n/pt_PT.json b/core/i18n/pt_PT.json index 551935a..be416c0 100644 --- a/core/i18n/pt_PT.json +++ b/core/i18n/pt_PT.json @@ -108,7 +108,8 @@ "connecteur": "conector", "logiciel": "software", "matériel": "equipamento", - "max": "máx." + "max": "máx.", + "Échec de la requête à la borne": "Falha na solicitação ao terminal" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Paragem de emergência", From f11b4d5c7ce44c96a75efc41fdcbb86bb9c8582b Mon Sep 17 00:00:00 2001 From: Salvialf <48010158+Salvialf@users.noreply.github.com> Date: Fri, 16 Oct 2026 17:49:24 +0000 Subject: [PATCH 08/22] chore(docs): update translations --- docs/.translation_memory/de_DE.json | 3 +++ docs/.translation_memory/en_US.json | 3 +++ docs/.translation_memory/es_ES.json | 3 +++ docs/de_DE/changelog.md | 6 ++++++ docs/en_US/changelog.md | 6 ++++++ docs/es_ES/changelog.md | 6 ++++++ 6 files changed, 27 insertions(+) diff --git a/docs/.translation_memory/de_DE.json b/docs/.translation_memory/de_DE.json index d6ca308..067a926 100644 --- a/docs/.translation_memory/de_DE.json +++ b/docs/.translation_memory/de_DE.json @@ -6,6 +6,7 @@ "**Autorisations** : ajout d'une case à cocher par identifiant pour autoriser les transactions concurrentes simultanées": "**Berechtigungen**: Hinzufügen eines Kontrollkästchens pro Identifikator, um gleichzeitige konkurrierende Transaktionen zuzulassen", "**Autorisations** : ajout de bulles d'aide": "**Berechtigungen**: Hinzufügen von Hinweisfeldern", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Berechtigungen**: Behebung eines möglichen Verlusts von Anmeldedaten beim Speichern", + "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Berechtigungen**: Korrektur der Zeitverschiebung beim Ablaufdatum, das an die Terminalstation übermittelt wird; dieses wird nun in allen Berechtigungsantworten gesendet", "**Autorisations** : correction du tri des colonnes": "**Berechtigungen**: Korrektur der Spaltensortierung", "**Autorisations** : diverses corrections et optimisations à l'enregistrement": "**Berechtigungen**: verschiedene Korrekturen und Optimierungen bei der Registrierung", "**Autorisations** : gestion des autorisations par groupes": "**Berechtigungen**: Verwaltung von Berechtigungen nach Gruppen", @@ -20,6 +21,7 @@ "**Commandes** : définition de la liste des utilisateurs pouvant démarrer la charge": "**Steuerung**: Festlegung der Liste der Benutzer, die den Ladevorgang starten dürfen", "**Commandes** : meilleure gestion des limites de charge *(A/W)*": "**Steuerungen**: Bessere Verwaltung der Belastungsgrenzen *(A/W)*", "**Commandes** : mise à jour automatique de la liste des utilisateurs pouvant démarrer une charge": "**Steuerung**: Automatische Aktualisierung der Liste der Benutzer, die einen Ladevorgang starten dürfen", + "**Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)*": "**Steuerung**: Optimierung der an die Ladestation übermittelten Informationen *(Ladegrenze, Identifikationsnummer für den Ladevorgang)*", "**Connecteur** : numéro du connecteur/prise.": "**Anschluss**: Nummer des Anschlusses/der Buchse.", "**Consommation (Wh)** : consommation totale en wattheures.": "**Verbrauch (Wh)**: Gesamtverbrauch in Wattstunden.", "**Courant borne** *(action/slider)* : définir le courant maximal de la borne *(SmartCharging)*.": "**Klemmstrom** *(Schaltfläche/Schieberegler)*: Legen Sie den maximalen Strom der Klemme fest *(SmartCharging)*.", @@ -31,6 +33,7 @@ "**Durée** : durée totale de la charge.": "**Dauer**: Gesamtdauer des Ladevorgangs.", "**Début** : date de début.": "**Start**: Startdatum.", "**Démarrer charge connecteur** *(action/select)* : démarrer une transaction sur le connecteur.": "**Ladevorgang am Konnektor starten** *(action/select)*: Eine Transaktion am Konnektor starten.", + "**Démon** : les erreurs de communication avec la borne sont désormais signalées dans le log du plugin": "**Fehler**: Kommunikationsfehler mit dem Gateway werden nun im Protokoll des Plugins gemeldet", "**Démon** : optimisation de la gestion d'éventuelles erreurs de communication avec la borne": "**Daemon**: Optimierung der Behandlung möglicher Kommunikationsfehler mit dem Terminal", "**Dépendances** : montée de version *(OCPP 2.0.0 & websockets 15.0.1)*": "**Abhängigkeiten**: Versions-Upgrade *(OCPP 2.0.0 & WebSockets 15.0.1)*", "**Energy.Active.Export.Register – Énergie injectée** *(Wh)* : énergie totale renvoyée vers le réseau.": "**Energy.Active.Export.Register – Eingespeiste Energie** *(Wh)*: Gesamtenergie, die ins Netz zurückgespeist wurde.", diff --git a/docs/.translation_memory/en_US.json b/docs/.translation_memory/en_US.json index 99a870a..ec902b8 100644 --- a/docs/.translation_memory/en_US.json +++ b/docs/.translation_memory/en_US.json @@ -6,6 +6,7 @@ "**Autorisations** : ajout d'une case à cocher par identifiant pour autoriser les transactions concurrentes simultanées": "**Authorizations**: Added a checkbox per identifier to allow simultaneous concurrent transactions", "**Autorisations** : ajout de bulles d'aide": "**Permissions**: Added tooltips", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Permissions**: Fixed a potential issue where credentials might be lost during backup", + "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Authorizations**: Fixed the time offset for the expiration date sent to the gateway; it is now included in all authorization responses", "**Autorisations** : correction du tri des colonnes": "**Permissions**: Fixed column sorting", "**Autorisations** : diverses corrections et optimisations à l'enregistrement": "**Permissions**: various fixes and optimizations related to registration", "**Autorisations** : gestion des autorisations par groupes": "**Permissions**: Permission management by groups", @@ -20,6 +21,7 @@ "**Commandes** : définition de la liste des utilisateurs pouvant démarrer la charge": "**Commands**: Defining the list of users who can start the load", "**Commandes** : meilleure gestion des limites de charge *(A/W)*": "**Commands**: Improved management of load limits *(A/W)*", "**Commandes** : mise à jour automatique de la liste des utilisateurs pouvant démarrer une charge": "**Commands**: Automatic update of the list of users who can start a load", + "**Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)*": "**Commands**: Optimization of information transmitted to the charging station *(charge limit, charge start ID)*", "**Connecteur** : numéro du connecteur/prise.": "**Connector**: connector/outlet number.", "**Consommation (Wh)** : consommation totale en wattheures.": "**Power Consumption (Wh)**: total power consumption in watt-hours.", "**Courant borne** *(action/slider)* : définir le courant maximal de la borne *(SmartCharging)*.": "**Terminal Current** *(action/slider)*: Set the maximum current for the terminal *(SmartCharging)*.", @@ -31,6 +33,7 @@ "**Durée** : durée totale de la charge.": "**Duration**: total charging time.", "**Début** : date de début.": "**Start**: start date.", "**Démarrer charge connecteur** *(action/select)* : démarrer une transaction sur le connecteur.": "**Start connector job** *(action/select)*: Start a transaction on the connector.", + "**Démon** : les erreurs de communication avec la borne sont désormais signalées dans le log du plugin": "**Demon**: Communication errors with the gateway are now reported in the plugin log", "**Démon** : optimisation de la gestion d'éventuelles erreurs de communication avec la borne": "**Daemon**: Optimizing the handling of potential communication errors with the gateway", "**Dépendances** : montée de version *(OCPP 2.0.0 & websockets 15.0.1)*": "**Dependencies**: version update *(OCPP 2.0.0 & WebSockets 15.0.1)*", "**Energy.Active.Export.Register – Énergie injectée** *(Wh)* : énergie totale renvoyée vers le réseau.": "**Energy.Active.Export.Register – Energy Fed into the Grid** *(Wh)*: total energy fed back into the grid.", diff --git a/docs/.translation_memory/es_ES.json b/docs/.translation_memory/es_ES.json index d698aa1..1d9d477 100644 --- a/docs/.translation_memory/es_ES.json +++ b/docs/.translation_memory/es_ES.json @@ -6,6 +6,7 @@ "**Autorisations** : ajout d'une case à cocher par identifiant pour autoriser les transactions concurrentes simultanées": "**Autorizaciones**: se ha añadido una casilla de selección por identificador para autorizar transacciones concurrentes simultáneas", "**Autorisations** : ajout de bulles d'aide": "**Permisos**: se han añadido ventanas emergentes de ayuda", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Permisos**: se ha corregido un posible problema de pérdida de credenciales al guardar", + "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Autorizaciones**: corrección del desfase horario de la fecha de caducidad transmitida al terminal; a partir de ahora se envía en todas las respuestas de autorización", "**Autorisations** : correction du tri des colonnes": "**Permisos**: corrección del orden de las columnas", "**Autorisations** : diverses corrections et optimisations à l'enregistrement": "**Permisos**: diversas correcciones y optimizaciones en el registro", "**Autorisations** : gestion des autorisations par groupes": "**Permisos**: gestión de permisos por grupos", @@ -20,6 +21,7 @@ "**Commandes** : définition de la liste des utilisateurs pouvant démarrer la charge": "**Comandos**: definición de la lista de usuarios que pueden iniciar la carga", "**Commandes** : meilleure gestion des limites de charge *(A/W)*": "**Controles**: mejor gestión de los límites de carga *(A/W)*", "**Commandes** : mise à jour automatique de la liste des utilisateurs pouvant démarrer une charge": "**Comandos**: actualización automática de la lista de usuarios que pueden iniciar una carga", + "**Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)*": "**Comandos**: optimización de la información transmitida a la estación de recarga *(límite de carga, identificador de inicio de carga)*", "**Connecteur** : numéro du connecteur/prise.": "**Conector**: número del conector o toma.", "**Consommation (Wh)** : consommation totale en wattheures.": "**Consumo (Wh)**: consumo total en vatios-hora.", "**Courant borne** *(action/slider)* : définir le courant maximal de la borne *(SmartCharging)*.": "**Corriente del terminal** *(acción/control deslizante)*: definir la corriente máxima del terminal *(SmartCharging)*.", @@ -31,6 +33,7 @@ "**Durée** : durée totale de la charge.": "**Duración**: tiempo total de la carga.", "**Début** : date de début.": "**Inicio**: fecha de inicio.", "**Démarrer charge connecteur** *(action/select)* : démarrer une transaction sur le connecteur.": "**Iniciar carga en el conector** *(acción/seleccionar)*: iniciar una transacción en el conector.", + "**Démon** : les erreurs de communication avec la borne sont désormais signalées dans le log du plugin": "**Demonio**: los errores de comunicación con el terminal ahora se registran en el registro del complemento", "**Démon** : optimisation de la gestion d'éventuelles erreurs de communication avec la borne": "**Démon**: optimización de la gestión de posibles errores de comunicación con el terminal", "**Dépendances** : montée de version *(OCPP 2.0.0 & websockets 15.0.1)*": "**Dependencias**: actualización de versión *(OCPP 2.0.0 y WebSockets 15.0.1)*", "**Energy.Active.Export.Register – Énergie injectée** *(Wh)* : énergie totale renvoyée vers le réseau.": "**Energy.Active.Export.Register – Energía inyectada** *(Wh)*: energía total devuelta a la red.", diff --git a/docs/de_DE/changelog.md b/docs/de_DE/changelog.md index 835bf3b..3492586 100644 --- a/docs/de_DE/changelog.md +++ b/docs/de_DE/changelog.md @@ -4,6 +4,12 @@ > >Wenn keine Informationen zum Update vorhanden sind, bedeutet dies, dass es sich ausschließlich um eine Aktualisierung der Dokumentation, der Übersetzung oder des Textes handelt. +## 16/10/2026 ***(1.0.1)*** + +- **Fehler**: Kommunikationsfehler mit dem Gateway werden nun im Protokoll des Plugins gemeldet +- **Berechtigungen**: Korrektur der Zeitverschiebung beim Ablaufdatum, das an die Terminalstation übermittelt wird; dieses wird nun in allen Berechtigungsantworten gesendet +- **Steuerung**: Optimierung der an die Ladestation übermittelten Informationen *(Ladegrenze, Identifikationsnummer für den Ladevorgang)* + ## 06/10/2026 ***(1.0.0)*** - Erste stabile Version diff --git a/docs/en_US/changelog.md b/docs/en_US/changelog.md index bd6e7ad..f2036d8 100644 --- a/docs/en_US/changelog.md +++ b/docs/en_US/changelog.md @@ -4,6 +4,12 @@ > >If there is no information about the update, it means that the update only involves documentation, translations, or text. +## 16/10/2026 ***(1.0.1)*** + +- **Demon**: Communication errors with the gateway are now reported in the plugin log +- **Authorizations**: Fixed the time offset for the expiration date sent to the gateway; it is now included in all authorization responses +- **Commands**: Optimization of information transmitted to the charging station *(charge limit, charge start ID)* + ## 06/10/2026 ***(1.0.0)*** - First stable release diff --git a/docs/es_ES/changelog.md b/docs/es_ES/changelog.md index 473231a..a9add9e 100644 --- a/docs/es_ES/changelog.md +++ b/docs/es_ES/changelog.md @@ -4,6 +4,12 @@ > >Si no hay información sobre la actualización, es porque esta se refiere únicamente a la actualización de la documentación, la traducción o el texto. +## 16/10/2026 ***(1.0.1)*** + +- **Demonio**: los errores de comunicación con el terminal ahora se registran en el registro del complemento +- **Autorizaciones**: corrección del desfase horario de la fecha de caducidad transmitida al terminal; a partir de ahora se envía en todas las respuestas de autorización +- **Comandos**: optimización de la información transmitida a la estación de recarga *(límite de carga, identificador de inicio de carga)* + ## 06/10/2026 ***(1.0.0)*** - Primera versión estable From b7bf6eca916d5146461ed5e524d469cbcc145baf Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 16 Oct 2026 21:04:52 +0200 Subject: [PATCH 09/22] refactor(ocpp.js): use let/const instead of var --- desktop/js/ocpp.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/desktop/js/ocpp.js b/desktop/js/ocpp.js index 8624af8..1a7830e 100644 --- a/desktop/js/ocpp.js +++ b/desktop/js/ocpp.js @@ -15,7 +15,7 @@ */ document.getElementById('div_pageContainer').addEventListener('click', function(event) { - var _target = null + let _target = null if (_target = event.target.closest('button.toggleReadonly')) { if (_target.dataset.visible == 0) { @@ -57,8 +57,8 @@ document.getElementById('div_pageContainer').addEventListener('click', function( } if (_target = event.target.closest('.eqLogicAction[data-action="transactions"]')) { - let cpId = (_target.closest('.eqLogic')) ? document.querySelector('.eqLogicAttr[data-l1key="logicalId"]').innerText : null - let title = (cpId) ? '{{Transactions de}} ' + document.querySelector('.eqLogicAttr[data-l1key="name"]').value : '{{Toutes les transactions}}' + const cpId = (_target.closest('.eqLogic')) ? document.querySelector('.eqLogicAttr[data-l1key="logicalId"]').innerText : null + const title = (cpId) ? '{{Transactions de}} ' + document.querySelector('.eqLogicAttr[data-l1key="name"]').value : '{{Toutes les transactions}}' jeeDialog.dialog({ id: 'ocpp_trans_modal', title: title, @@ -68,7 +68,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function( } if (_target = event.target.closest('.eqLogicAction[data-action="saveCp"]')) { - var eqLogicId = document.querySelector('.eqLogicAttr[data-l1key="id"]').value + const eqLogicId = document.querySelector('.eqLogicAttr[data-l1key="id"]').value jeedom.ocpp.getConfigurationChanges({ eqLogicId: eqLogicId, config: document.getElementById('settingstab').getJeeValues('.localConfigKey')[0], @@ -76,7 +76,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function( jeedomUtils.showAlert({ message: error.message, level: 'danger' }) }, success: function(changes) { - let title = '{{Enregistrement des paramètres sur la borne}}' + const title = '{{Enregistrement des paramètres sur la borne}}' if (changes.length == 0) { return jeedomUtils.showAlert({ title: title, @@ -88,7 +88,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function( let message = '' message += '' - for (let param in changes) { + for (const param in changes) { message += '' message += '
' + param if (isset(changes[param]['description'])) { @@ -111,7 +111,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function( title: title, message: message, callback: function() { - let script = document.createElement('script') + const script = document.createElement('script') script.text = 'document.getElementById("md_saveCp").querySelectorAll("input").forEach(_input => { _input.addEventListener("change", function() { this.nextElementSibling.innerHTML = "" })})' document.head.appendChild(script) @@ -136,15 +136,15 @@ document.getElementById('div_pageContainer').addEventListener('click', function( className: 'success', callback: { click: function(_event) { - let checkeds = _event.target.closest('#md_saveCp').querySelectorAll('input:checked') + const checkeds = _event.target.closest('#md_saveCp').querySelectorAll('input:checked') if (checkeds.length == 0) { return _event.target.closest('#md_saveCp')._jeeDialog.destroy() } checkeds.forEach(_checked => { - var lastSpan = _checked.nextElementSibling + const lastSpan = _checked.nextElementSibling lastSpan.innerHTML = '' - let param = _checked.closest('tr').dataset.param + const param = _checked.closest('tr').dataset.param jeedom.ocpp.changeConfiguration({ eqLogicId: eqLogicId, key: param, @@ -189,8 +189,8 @@ document.getElementById('div_pageContainer').addEventListener('click', function( }) function printEqLogic(_eqLogic) { - var ocppConfig = document.getElementById('ocppConfigKey') - var cpConfig = document.getElementById('cpConfigKey') + const ocppConfig = document.getElementById('ocppConfigKey') + const cpConfig = document.getElementById('cpConfigKey') ocppConfig.empty() cpConfig.empty() @@ -200,7 +200,7 @@ function printEqLogic(_eqLogic) { jeedomUtils.showAlert({ message: error.message, level: 'danger' }) }, success: function(data) { - for (let param in data) { + for (const param in data) { let value = (isset(data[param]['value'])) ? data[param]['value'] : '' let type = 'text' let divNode = cpConfig @@ -243,7 +243,7 @@ function printEqLogic(_eqLogic) { function addCmdToTable(_cmd) { if (!isset(_cmd)) { - var _cmd = { configuration: {} } + _cmd = { configuration: {} } } if (!isset(_cmd.configuration)) { _cmd.configuration = {} @@ -284,7 +284,7 @@ function addCmdToTable(_cmd) { tr += '' tr += '' - let newRow = document.createElement('tr') + const newRow = document.createElement('tr') newRow.innerHTML = tr newRow.classList = 'cmd' newRow.setAttribute('data-cmd_id', init(_cmd.id)) From 3cfa36f78d698493c4835c1fb9bccca8b84481f0 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Mon, 19 Oct 2026 11:35:16 +0200 Subject: [PATCH 10/22] feat(ocpp): add start-on-plug-in setting for authorize-all mode --- core/class/ocpp.class.php | 10 ++++++++++ desktop/js/ocpp.js | 19 ++++++++++++++++++- desktop/php/ocpp.php | 21 +++++++++++++++++++-- 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 9a72d92..03cddd4 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -275,6 +275,12 @@ public static function deamon_stop() { log::add(__CLASS__, 'info', __('Arrêt du démon', __FILE__)); } + public function preSave() { + if ($this->getConfiguration('authGroupId') == 'authorize_all' && $this->getConfiguration('autoStartTransaction') == 1 && trim($this->getConfiguration('autoStartIdTag')) === '') { + throw new Exception(__("Veuillez renseigner l'identifiant utilisateur du démarrage au branchement", __FILE__)); + } + } + public function postUpdate() { if ($this->getIsEnable() == 0) { if ($this->getConfiguration('reachable') == 1) { @@ -1008,6 +1014,10 @@ private function getAuthList(): string { $groupId = $this->getConfiguration('authGroupId'); if ($groupId == 'authorize_all') { + if ($this->getConfiguration('autoStartTransaction') == 1) { + $autoStartIdTag = $this->getConfiguration('autoStartIdTag'); + return $autoStartIdTag . '|' . $autoStartIdTag; + } $users = user::all(); foreach ($users as $user) { if (in_array($user->getLogin(), ['internal_report', 'jeedom_support'])) { diff --git a/desktop/js/ocpp.js b/desktop/js/ocpp.js index 1a7830e..b9d7a49 100644 --- a/desktop/js/ocpp.js +++ b/desktop/js/ocpp.js @@ -188,12 +188,29 @@ document.getElementById('div_pageContainer').addEventListener('click', function( } }) +document.getElementById('div_pageContainer').addEventListener('change', function(event) { + let _target = null + if (_target = event.target.closest('#sel_authGroup')) { + document.getElementById('autoStartTransaction').classList.toggle('hidden', _target.value != 'authorize_all') + return + } + + if (_target = event.target.closest('input[data-l2key="autoStartTransaction"]')) { + document.getElementById('autoStartId').classList.toggle('hidden', !_target.checked) + return + } +}) + function printEqLogic(_eqLogic) { + // Core keeps the previous equipment's state on unsaved checkboxes + if (!isset(_eqLogic.configuration.autoStartTransaction)) { + document.querySelector('.eqLogicAttr[data-l2key="autoStartTransaction"]').jeeValue(0) + } + const ocppConfig = document.getElementById('ocppConfigKey') const cpConfig = document.getElementById('cpConfigKey') ocppConfig.empty() cpConfig.empty() - jeedom.ocpp.getConfiguration({ eqLogicId: _eqLogic.id, error: function(error) { diff --git a/desktop/php/ocpp.php b/desktop/php/ocpp.php index 22b4ceb..b126a17 100644 --- a/desktop/php/ocpp.php +++ b/desktop/php/ocpp.php @@ -119,10 +119,12 @@ {{Autorisations}}
- +
+ +
From b166ba7013b8998ca768ede7965d018ec4d929ce Mon Sep 17 00:00:00 2001 From: Salvialf Date: Mon, 19 Oct 2026 14:30:05 +0200 Subject: [PATCH 11/22] feat(ocpp): start a transaction when a vehicle is plugged in --- core/class/ocpp.class.php | 36 ++++++++++++++++++++++++++++++------ core/php/jeeOcpp.php | 5 ++++- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 03cddd4..25f0c49 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -276,7 +276,7 @@ public static function deamon_stop() { } public function preSave() { - if ($this->getConfiguration('authGroupId') == 'authorize_all' && $this->getConfiguration('autoStartTransaction') == 1 && trim($this->getConfiguration('autoStartIdTag')) === '') { + if ($this->isAutoStartTransactionEnabled() && trim($this->getConfiguration('autoStartIdTag')) === '') { throw new Exception(__("Veuillez renseigner l'identifiant utilisateur du démarrage au branchement", __FILE__)); } } @@ -789,6 +789,30 @@ private function chargerGetConfiguration(string $_key = null): array { return array(); } + private function isAutoStartTransactionEnabled(): bool { + return $this->getConfiguration('authGroupId') == 'authorize_all' && $this->getConfiguration('autoStartTransaction') == 1; + } + + public function checkAndAutoStartTransaction(int $_connectorId, string $_status, string $_previousStatus) { + if (!$this->isAutoStartTransactionEnabled()) { + return; + } + if ($_connectorId < 1 || $_status != 'Preparing' || !in_array($_previousStatus, ['Available', 'Unavailable', 'Faulted', 'Unreachable', ''])) { + return; + } + $transaction = ocpp_transaction::byCpIdAndConnectorId($this->getLogicalId(), $_connectorId, true); + if (is_object($transaction)) { + log::add(__CLASS__, 'debug', $this->getHumanName() . '[' . $_connectorId . '] ' . __('Transaction déjà en cours, pas de démarrage au branchement', __FILE__) . ' : ' . $transaction->getId()); + return; + } + $idTag = $this->getConfiguration('autoStartIdTag'); + log::add(__CLASS__, 'info', $this->getHumanName() . '[' . $_connectorId . '] ' . __('Démarrage de la charge au branchement', __FILE__) . ' : ' . $idTag); + $start = $this->chargerStartTransaction($idTag, $_connectorId); + if ($start !== 'Accepted') { + log::add(__CLASS__, 'warning', $this->getHumanName() . '[' . $_connectorId . '] ' . __('Échec du démarrage de la charge au branchement', __FILE__) . ' : ' . print_r($start, true)); + } + } + public function chargerStartTransaction(string $_idTag = null, int $_connectorId) { if ($_idTag) { $start = $this->sendToCharger(['method' => 'start_transaction', 'args' => [$_connectorId, mb_substr($_idTag, 0, 20)]]); @@ -1010,14 +1034,14 @@ private function updateAuthListCmd() { } private function getAuthList(): string { + if ($this->isAutoStartTransactionEnabled()) { + $autoStartIdTag = $this->getConfiguration('autoStartIdTag'); + return $autoStartIdTag . '|' . $autoStartIdTag; + } + $authList = ''; $groupId = $this->getConfiguration('authGroupId'); - if ($groupId == 'authorize_all') { - if ($this->getConfiguration('autoStartTransaction') == 1) { - $autoStartIdTag = $this->getConfiguration('autoStartIdTag'); - return $autoStartIdTag . '|' . $autoStartIdTag; - } $users = user::all(); foreach ($users as $user) { if (in_array($user->getLogin(), ['internal_report', 'jeedom_support'])) { diff --git a/core/php/jeeOcpp.php b/core/php/jeeOcpp.php index 8d8bd37..f47b2f3 100644 --- a/core/php/jeeOcpp.php +++ b/core/php/jeeOcpp.php @@ -74,6 +74,9 @@ case 'status': log::add('ocpp', 'debug', $eqLogic->getHumanName() . ' ' . __('Nouveau statut', __FILE__) . ' : ' . print_r($result['data'], true)); $status = trim($result['data']['status']); + $statusCmd = $eqLogic->getCmd('info', 'status::' . $result['data']['connector_id']); + $previousStatus = is_object($statusCmd) ? $statusCmd->execCmd() : ''; + if (in_array($status, _STATUSES['operative'])) { $eqLogic->checkAndUpdateCmd('state::' . $result['data']['connector_id'], 1); } else { @@ -83,7 +86,7 @@ $eqLogic->checkAndUpdateCmd('error::' . $result['data']['connector_id'], $result['data']['error_code']); $eqLogic->checkAndUpdateCmd('info::' . $result['data']['connector_id'], (isset($result['data']['info']) && $result['data']['info'] != 'null') ? $result['data']['info'] : ''); - + $eqLogic->checkAndAutoStartTransaction($result['data']['connector_id'], $status, $previousStatus); if (in_array($status, ['SuspendedEVSE', 'SuspendedEV'])) { $eqLogic->chargerTriggerMessage('MeterValues', $result['data']['connector_id']); From 276ad767c6672eb0e627c1859231dd00a2bd0a1e Mon Sep 17 00:00:00 2001 From: Salvialf Date: Mon, 19 Oct 2026 14:33:11 +0200 Subject: [PATCH 12/22] fix(ocpp): declare nullable parameters explicitly for PHP 8.4 --- core/class/ocpp.class.php | 12 ++++++------ core/class/ocpp_transaction.class.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 25f0c49..5d501c0 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -696,7 +696,7 @@ private function setLocalConfiguration(array $_conf) { return false; } - public function getLocalConfiguration(string $_key = null, $_default = '') { + public function getLocalConfiguration(?string $_key = null, $_default = '') { $file = __DIR__ . '/../../data/' . $this->getLogicalId() . '.json'; if (!is_file($file)) { $conf = $this->chargerGetConfiguration(); @@ -772,7 +772,7 @@ public function chargerChangeConfiguration(string $_key, string $_value) { return false; } - private function chargerGetConfiguration(string $_key = null): array { + private function chargerGetConfiguration(?string $_key = null): array { $chargerConf = $this->sendToCharger(['method' => 'get_configuration', 'args' => [$_key]]); if (!empty($chargerConf['unknown_key'])) { log::add(__CLASS__, 'warning', $this->getHumanName() . '[' . __FUNCTION__ . '] ' . __('Clé(s) de configuration inconnue(s)', __FILE__) . ' : ' . print_r($chargerConf['unknown_key'], true)); @@ -813,7 +813,7 @@ public function checkAndAutoStartTransaction(int $_connectorId, string $_status, } } - public function chargerStartTransaction(string $_idTag = null, int $_connectorId) { + public function chargerStartTransaction(?string $_idTag, int $_connectorId) { if ($_idTag) { $start = $this->sendToCharger(['method' => 'start_transaction', 'args' => [$_connectorId, mb_substr($_idTag, 0, 20)]]); if (isset($start['status'])) { @@ -836,7 +836,7 @@ public function chargerStopTransaction(int $_connectorId) { return false; } - public function chargerTriggerMessage(string $_message, int $_connectorId = null) { + public function chargerTriggerMessage(string $_message, ?int $_connectorId = null) { if ($_message == 'BootNotification' || ($this->chargerHasFeature('RemoteTrigger') && in_array($_message, _MESSAGES))) { $trigger = $this->sendToCharger(['method' => 'trigger_message', 'args' => [$_message, $_connectorId]]); if (isset($trigger['status'])) { @@ -854,7 +854,7 @@ public function chargerSetMaxPower(float $_powerLimit, int $_connectorId = 0): b return $this->chargerSetChargingProfile($_connectorId, $_powerLimit, 'W'); } - private function chargerClearChargingProfile(int $_id = null, int $_connectorId = null, string $_chargingProfilePurpose = null, int $_stackLevel = null): bool { + private function chargerClearChargingProfile(?int $_id = null, ?int $_connectorId = null, ?string $_chargingProfilePurpose = null, ?int $_stackLevel = null): bool { if ($this->chargerHasFeature('SmartCharging')) { $clearProfile = $this->sendToCharger(['method' => 'clear_charging_profile', 'args' => [$_id, $_connectorId, $_chargingProfilePurpose, $_stackLevel]]); if (isset($clearProfile['status']) && $clearProfile['status'] == 'Accepted') { @@ -1087,7 +1087,7 @@ public static function statuses(string $_status) { return $_status; } - public static function measurands(string $_measurand = null) { + public static function measurands(?string $_measurand = null) { $measurands = array( 'Current.Import' => __('Courant consommé', __FILE__), 'Current.Export' => __('Courant injecté', __FILE__), diff --git a/core/class/ocpp_transaction.class.php b/core/class/ocpp_transaction.class.php index 687f401..f708516 100644 --- a/core/class/ocpp_transaction.class.php +++ b/core/class/ocpp_transaction.class.php @@ -116,7 +116,7 @@ public static function start(array $_transactionData): self { return $transaction; } - public function stop(string $_date, int $_meterStop, string $_reason = 'Local', array $_transactionData = null) { + public function stop(string $_date, int $_meterStop, string $_reason = 'Local', ?array $_transactionData = null) { $this->setEnd($_date) ->setOptions('meterStop', $_meterStop) ->setOptions('reason', $_reason); From 2e947b960a8d82e6f290798df0c7e1c2b90316b6 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Mon, 19 Oct 2026 15:09:01 +0200 Subject: [PATCH 13/22] docs: document start-on-plug-in mode, clarify id tooltip, bump 1.1.0 --- desktop/php/ocpp.php | 2 +- docs/fr_FR/changelog.md | 6 ++++++ docs/fr_FR/index.md | 17 +++++++++++++---- plugin_info/info.json | 2 +- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/desktop/php/ocpp.php b/desktop/php/ocpp.php index b126a17..bc0f32d 100644 --- a/desktop/php/ocpp.php +++ b/desktop/php/ocpp.php @@ -144,7 +144,7 @@ diff --git a/docs/fr_FR/changelog.md b/docs/fr_FR/changelog.md index c5577ee..1a03caa 100644 --- a/docs/fr_FR/changelog.md +++ b/docs/fr_FR/changelog.md @@ -4,6 +4,12 @@ > >S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte. +## 19/10/2026 ***(1.1.0)*** + +- **Autorisations** : ajout d'une option de démarrage automatique de la charge au branchement du véhicule en mode « Tout autoriser » *(avec un identifiant dédié par borne)* +- **Commandes** : la commande **Démarrer charge** ne propose que l'identifiant du démarrage au branchement lorsque celui-ci est activé +- **Plugin** : compatibilité PHP 8.4 + ## 16/10/2026 ***(1.0.1)*** - **Démon** : les erreurs de communication avec la borne sont désormais signalées dans le log du plugin diff --git a/docs/fr_FR/index.md b/docs/fr_FR/index.md index 62e7ea0..9677c53 100644 --- a/docs/fr_FR/index.md +++ b/docs/fr_FR/index.md @@ -26,13 +26,21 @@ Dans les minutes qui suivent le démarrage du démon, les bornes de recharge cor ### Autorisations -Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)*. +Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)* : le groupe d'autorisations est réglé sur **Tout refuser**. -Un menu déroulant permet d'autoriser toutes les transactions ou de sélectionner [un groupe d'autorisation](#groupes-dautorisations). +Le menu déroulant **Groupe d'autorisations** permet d'autoriser toutes les transactions *(**Tout autoriser**)* ou de sélectionner [un groupe d'autorisations](#groupes-dautorisations). >**IMPORTANT** > ->En mode "Tout autoriser", tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom. +>En mode **Tout autoriser**, tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom, ou uniquement l'identifiant défini si le [démarrage au branchement](#démarrage-au-branchement) est activé. + +### Démarrage au branchement + +En mode **Tout autoriser**, l'option **Démarrer au branchement** démarre automatiquement une charge dès qu'un véhicule est branché, sans badge ni action dans Jeedom. + +Un identifiant *(20 caractères maximum)* doit obligatoirement être renseigné. Il est utilisé pour toutes les charges de la borne, qu'elles démarrent au branchement ou via la commande **Démarrer charge**, qui ne propose alors plus que cet identifiant. Toutes les transactions de la borne sont ainsi rattachées au même identifiant. + +Après un arrêt via la commande **Arrêter charge**, la charge ne redémarre pas tant que le véhicule n'est pas débranché. Elle peut être relancée manuellement avec la commande **Démarrer charge**. ### Paramètres de la borne @@ -115,7 +123,8 @@ Les données des transactions *(charges)* propres à chaque contexte *(toutes, p ## Mesures -Les mesures sont créées automatiquement par le plugin selon la configuration **MeterValuesSampledData** définie sur la borne. +Les mesures sont créées automatiquement par le plugin à partir des paramètres de la borne : **MeterValuesSampledData** *(mesures périodiques pendant une charge)* et **MeterValuesAlignedData** *(relevés à intervalle fixe, réglé par **ClockAlignedDataInterval**)*. + Chaque mesure reçue génère une commande **info/numeric**, historisée par défaut, avec l'unité adaptée *(Wh, W, A, V, Hz, °C, %, RPM)*. Si la borne fournit des valeurs par phase, les commandes sont suffixées par **L1**, **L2** ou **L3**. diff --git a/plugin_info/info.json b/plugin_info/info.json index a3f64d0..930c61e 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -1,7 +1,7 @@ { "id": "ocpp", "name": "OCPP", - "pluginVersion": "1.0.1", + "pluginVersion": "1.1.0", "description": { "fr_FR": "Plugin permettant de contrôler les bornes de recharge de véhicules compatibles avec le protocole OCPP en faisant de Jeedom un système central OCPP.", "en_US": "A plugin that allows you to control vehicle charging stations compatible with the OCPP protocol by turning Jeedom into an OCPP central system.", From c229c845a1b6264b38e266a62882b3b237fb75b6 Mon Sep 17 00:00:00 2001 From: Salvialf <48010158+Salvialf@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:09:28 +0000 Subject: [PATCH 14/22] Auto update translation done by jeedom/jeetranslate workflow --- core/i18n/de_DE.json | 12 ++++++++++-- core/i18n/en_US.json | 12 ++++++++++-- core/i18n/es_ES.json | 12 ++++++++++-- core/i18n/it_IT.json | 12 ++++++++++-- core/i18n/pt_PT.json | 12 ++++++++++-- 5 files changed, 50 insertions(+), 10 deletions(-) diff --git a/core/i18n/de_DE.json b/core/i18n/de_DE.json index 42947d5..7080c6b 100644 --- a/core/i18n/de_DE.json +++ b/core/i18n/de_DE.json @@ -43,6 +43,7 @@ "Durée, en secondes, avant de retransmettre un message en échec relatif à une transaction": "Zeit in Sekunden, bevor eine fehlgeschlagene Nachricht im Zusammenhang mit einer Transaktion erneut gesendet wird", "Durée, en secondes, avant l'annulation de la transaction si le cable n'est pas inséré dans le véhicule": "Zeit in Sekunden, nach deren Ablauf die Transaktion abgebrochen wird, wenn das Kabel nicht am Fahrzeug angeschlossen ist", "Déconnecté du système central OCPP": "Vom zentralen OCPP-System getrennt", + "Démarrage de la charge au branchement": "Start des Ladevorgangs beim Anschließen", "Démarrage du démon": "Daemon starten", "Démarrer charge": "Ladevorgang starten", "Désactiver": "Deactivate", @@ -102,14 +103,17 @@ "Statut": "Status", "Température": "Temperatur", "Tension": "Spannung", + "Transaction déjà en cours, pas de démarrage au branchement": "Transaktion bereits im Gange, kein Start beim Anschließen", "Utilisateur": "Nutzer", + "Veuillez renseigner l'identifiant utilisateur du démarrage au branchement": "Bitte geben Sie die Benutzer-ID für den Start beim Anschließen ein", "Vitesse du ventilateur": "Lüftergeschwindigkeit", "borne": "Anschluss", "connecteur": "Steckverbinder", "logiciel": "Software", "matériel": "Hardware", "max": "max", - "Échec de la requête à la borne": "Fehler bei der Anfrage an den Terminal" + "Échec de la requête à la borne": "Fehler bei der Anfrage an den Terminal", + "Échec du démarrage de la charge au branchement": "Fehler beim Start des Ladevorgangs beim Anschließen" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Not-Aus", @@ -239,12 +243,13 @@ "Activer": "Aktivieren", "Afficher les champs en lecture seule": "Felder als schreibgeschützt anzeigen", "Aucun": "Nein", - "Aucune autorisation": "Keine Berechtigung", "Autorisations": "Berechtigungen", "Catégorie": "Kategorie", "Commandes": "Befehle", "Configuration": "Konfiguration", "Configuration avancée": "Erweiterte Konfiguration", + "Démarrer au branchement": "Inbetriebnahme beim Anschluss", + "Démarrer la charge automatiquement au branchement du véhicule": "Automatischer Start des Ladevorgangs beim Anschließen des Fahrzeugs", "Enregistrer les paramètres sur la borne": "Einstellungen auf dem Terminal speichern", "Equipement": "Gerät", "Equipement non visible": "Nicht sichtbare Ausstattung", @@ -254,7 +259,9 @@ "Gestion": "Management", "Groupe d'autorisations": "Berechtigungsgruppe", "Identifiant": "ICH WÜRDE", + "Identifiant utilisateur des transactions (20 caractères maximum)": "Benutzername für Transaktionen (maximal 20 Zeichen)", "Informations": "Information", + "Liste des autorisations pouvant démarrer une charge": "Liste der Berechtigungen, mit denen eine Last gestartet werden kann", "Mes bornes de recharge": "Meine Ladestationen", "Modèle": "Modell", "Nom": "Name", @@ -270,6 +277,7 @@ "Sauvegarder": "Zu schützen", "Supprimer": "Entfernen", "Tout autoriser": "Alles zulassen", + "Tout refuser": "Alles ablehnen", "Toute modification erronée est susceptible d'entraîner des dysfonctionnements": "Jede fehlerhafte Änderung kann zu Fehlfunktionen führen", "Transactions": "Transaktionen", "Type": "Typ", diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json index edebddc..a510961 100644 --- a/core/i18n/en_US.json +++ b/core/i18n/en_US.json @@ -43,6 +43,7 @@ "Durée, en secondes, avant de retransmettre un message en échec relatif à une transaction": "Time, in seconds, before retransmitting a failed message related to a transaction", "Durée, en secondes, avant l'annulation de la transaction si le cable n'est pas inséré dans le véhicule": "Time, in seconds, before the transaction is canceled if the cable is not inserted into the vehicle", "Déconnecté du système central OCPP": "Disconnected from the OCPP central system", + "Démarrage de la charge au branchement": "Charging starts when plugged in", "Démarrage du démon": "Starting the daemon", "Démarrer charge": "Start charging", "Désactiver": "Disable", @@ -102,14 +103,17 @@ "Statut": "Status", "Température": "Temperature", "Tension": "Voltage", + "Transaction déjà en cours, pas de démarrage au branchement": "Transaction already in progress; no startup upon connection", "Utilisateur": "User", + "Veuillez renseigner l'identifiant utilisateur du démarrage au branchement": "Please enter the user ID for startup when connecting", "Vitesse du ventilateur": "Fan speed", "borne": "terminal", "connecteur": "connector", "logiciel": "software", "matériel": "hardware", "max": "max", - "Échec de la requête à la borne": "Request to the terminal failed" + "Échec de la requête à la borne": "Request to the terminal failed", + "Échec du démarrage de la charge au branchement": "Failure to start charging upon connection" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Emergency stop", @@ -239,12 +243,13 @@ "Activer": "Enable", "Afficher les champs en lecture seule": "Display read-only fields", "Aucun": "None", - "Aucune autorisation": "No authorization", "Autorisations": "Permissions", "Catégorie": "Category", "Commandes": "Commands", "Configuration": "Configuration", "Configuration avancée": "Advanced configuration", + "Démarrer au branchement": "Getting Started with the Connection", + "Démarrer la charge automatiquement au branchement du véhicule": "Start charging automatically when the vehicle is plugged in", "Enregistrer les paramètres sur la borne": "Save the settings to the gateway", "Equipement": "Equipment", "Equipement non visible": "Hidden equipment", @@ -254,7 +259,9 @@ "Gestion": "Management", "Groupe d'autorisations": "Permissions Group", "Identifiant": "ID", + "Identifiant utilisateur des transactions (20 caractères maximum)": "Transaction User ID (maximum 20 characters)", "Informations": "Information", + "Liste des autorisations pouvant démarrer une charge": "List of permissions that can start a load", "Mes bornes de recharge": "My charging stations", "Modèle": "Model", "Nom": "Name", @@ -270,6 +277,7 @@ "Sauvegarder": "Save", "Supprimer": "Delete", "Tout autoriser": "Allow everything", + "Tout refuser": "Decline all", "Toute modification erronée est susceptible d'entraîner des dysfonctionnements": "Any incorrect changes may cause malfunctions", "Transactions": "Transactions", "Type": "Kind", diff --git a/core/i18n/es_ES.json b/core/i18n/es_ES.json index a1c85a0..b8c059c 100644 --- a/core/i18n/es_ES.json +++ b/core/i18n/es_ES.json @@ -43,6 +43,7 @@ "Durée, en secondes, avant de retransmettre un message en échec relatif à une transaction": "Tiempo, en segundos, antes de reenviar un mensaje de error relacionado con una transacción", "Durée, en secondes, avant l'annulation de la transaction si le cable n'est pas inséré dans le véhicule": "Tiempo, en segundos, antes de que se cancele la transacción si el cable no está conectado al vehículo", "Déconnecté du système central OCPP": "Desconectado del sistema central OCPP", + "Démarrage de la charge au branchement": "Inicio de la carga al conectarse", "Démarrage du démon": "Inicio del demonio", "Démarrer charge": "Iniciar carga", "Désactiver": "Desactivar", @@ -102,14 +103,17 @@ "Statut": "Estado", "Température": "Temperatura", "Tension": "Tensión", + "Transaction déjà en cours, pas de démarrage au branchement": "Transacción ya en curso, no se inicia al conectarse", "Utilisateur": "Usuario", + "Veuillez renseigner l'identifiant utilisateur du démarrage au branchement": "Introduce el nombre de usuario de «Arranque al conectarse»", "Vitesse du ventilateur": "Velocidad del ventilador", "borne": "terminal", "connecteur": "conector", "logiciel": "software", "matériel": "equipos", "max": "máx.", - "Échec de la requête à la borne": "Error en la solicitud al terminal" + "Échec de la requête à la borne": "Error en la solicitud al terminal", + "Échec du démarrage de la charge au branchement": "Error al iniciar la carga al conectarla" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Parada de emergencia", @@ -239,12 +243,13 @@ "Activer": "Activar", "Afficher les champs en lecture seule": "Mostrar los campos como de solo lectura", "Aucun": "Ninguno", - "Aucune autorisation": "Sin autorización", "Autorisations": "Autorizaciones", "Catégorie": "Categoría", "Commandes": "Comandos", "Configuration": "Configuración ", "Configuration avancée": "Configuración avanzada", + "Démarrer au branchement": "Primeros pasos tras la conexión", + "Démarrer la charge automatiquement au branchement du véhicule": "Iniciar la recarga automáticamente al conectar el vehículo", "Enregistrer les paramètres sur la borne": "Guardar los parámetros en el terminal", "Equipement": "Dispositivos", "Equipement non visible": "Equipos ocultos", @@ -254,7 +259,9 @@ "Gestion": "Administración", "Groupe d'autorisations": "Grupo de permisos", "Identifiant": "IDENTIFICACIÓN", + "Identifiant utilisateur des transactions (20 caractères maximum)": "Identificador de usuario de las transacciones (20 caracteres como máximo)", "Informations": "Información", + "Liste des autorisations pouvant démarrer une charge": "Lista de autorizaciones que pueden poner en marcha una carga", "Mes bornes de recharge": "Mis puntos de recarga", "Modèle": "Modelo", "Nom": "Nombre", @@ -270,6 +277,7 @@ "Sauvegarder": "Para salvaguardar", "Supprimer": "Eliminar", "Tout autoriser": "Permitir todo", + "Tout refuser": "Rechazar todo", "Toute modification erronée est susceptible d'entraîner des dysfonctionnements": "Cualquier modificación incorrecta puede provocar fallos de funcionamiento", "Transactions": "Transacciones", "Type": "Tipo", diff --git a/core/i18n/it_IT.json b/core/i18n/it_IT.json index 66f9988..04eae3e 100644 --- a/core/i18n/it_IT.json +++ b/core/i18n/it_IT.json @@ -43,6 +43,7 @@ "Durée, en secondes, avant de retransmettre un message en échec relatif à une transaction": "Tempo, in secondi, prima di ritrasmettere un messaggio di errore relativo a una transazione", "Durée, en secondes, avant l'annulation de la transaction si le cable n'est pas inséré dans le véhicule": "Tempo, in secondi, prima dell'annullamento della transazione se il cavo non è inserito nel veicolo", "Déconnecté du système central OCPP": "Disconnesso dal sistema centrale OCPP", + "Démarrage de la charge au branchement": "Avvio della ricarica all'accensione", "Démarrage du démon": "Avvio del demone", "Démarrer charge": "Avvia ricarica", "Désactiver": "Deactivate", @@ -102,14 +103,17 @@ "Statut": "Stato", "Température": "Temperatura", "Tension": "Tensione", + "Transaction déjà en cours, pas de démarrage au branchement": "Transazione già in corso, nessun avvio all'allacciamento", "Utilisateur": "Utente", + "Veuillez renseigner l'identifiant utilisateur du démarrage au branchement": "Inserire l'ID utente dall'avvio al collegamento", "Vitesse du ventilateur": "Velocità del ventilatore", "borne": "terminale", "connecteur": "connettore", "logiciel": "software", "matériel": "apparecchiature", "max": "max", - "Échec de la requête à la borne": "Richiesta non riuscita al terminale" + "Échec de la requête à la borne": "Richiesta non riuscita al terminale", + "Échec du démarrage de la charge au branchement": "Impossibile avviare la ricarica all'accensione" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Arresto di emergenza", @@ -239,12 +243,13 @@ "Activer": "Attivare", "Afficher les champs en lecture seule": "Visualizza i campi in sola lettura", "Aucun": "Nessuno", - "Aucune autorisation": "Nessuna autorizzazione", "Autorisations": "Autorizzazioni", "Catégorie": "Categoria", "Commandes": "Comandi", "Configuration": "Configurazione", "Configuration avancée": "Configurazione avanzata", + "Démarrer au branchement": "Iniziare dal collegamento", + "Démarrer la charge automatiquement au branchement du véhicule": "Avvio automatico della ricarica all'allacciamento del veicolo", "Enregistrer les paramètres sur la borne": "Salvare le impostazioni sul terminale", "Equipement": "Dispositivo", "Equipement non visible": "Apparecchiature non visibili", @@ -254,7 +259,9 @@ "Gestion": "Gestione", "Groupe d'autorisations": "Gruppo di autorizzazioni", "Identifiant": "Nome utente", + "Identifiant utilisateur des transactions (20 caractères maximum)": "ID utente delle transazioni (massimo 20 caratteri)", "Informations": "Informazioni", + "Liste des autorisations pouvant démarrer une charge": "Elenco delle autorizzazioni che consentono di avviare un carico", "Mes bornes de recharge": "Le mie stazioni di ricarica", "Modèle": "Modello", "Nom": "Nome", @@ -270,6 +277,7 @@ "Sauvegarder": "Salva", "Supprimer": "Elimina", "Tout autoriser": "Consenti tutto", + "Tout refuser": "Rifiuta tutto", "Toute modification erronée est susceptible d'entraîner des dysfonctionnements": "Qualsiasi modifica errata può causare malfunzionamenti", "Transactions": "Transazioni", "Type": "Tipo", diff --git a/core/i18n/pt_PT.json b/core/i18n/pt_PT.json index be416c0..c492741 100644 --- a/core/i18n/pt_PT.json +++ b/core/i18n/pt_PT.json @@ -43,6 +43,7 @@ "Durée, en secondes, avant de retransmettre un message en échec relatif à une transaction": "Tempo, em segundos, antes de retransmitir uma mensagem de falha relativa a uma transação", "Durée, en secondes, avant l'annulation de la transaction si le cable n'est pas inséré dans le véhicule": "Tempo, em segundos, até à anulação da transação caso o cabo não esteja ligado ao veículo", "Déconnecté du système central OCPP": "Desligado do sistema central OCPP", + "Démarrage de la charge au branchement": "Início do carregamento ao ligar à corrente", "Démarrage du démon": "Inicialização do daemon", "Démarrer charge": "Iniciar carregamento", "Désactiver": "Desativar", @@ -102,14 +103,17 @@ "Statut": "Estado", "Température": "Temperatura", "Tension": "Tensão", + "Transaction déjà en cours, pas de démarrage au branchement": "Transação já em curso, não inicia ao ligar", "Utilisateur": "Utilizador", + "Veuillez renseigner l'identifiant utilisateur du démarrage au branchement": "Por favor, introduza o nome de utilizador do arranque ao ligar", "Vitesse du ventilateur": "Velocidade do ventilador", "borne": "terminal", "connecteur": "conector", "logiciel": "software", "matériel": "equipamento", "max": "máx.", - "Échec de la requête à la borne": "Falha na solicitação ao terminal" + "Échec de la requête à la borne": "Falha na solicitação ao terminal", + "Échec du démarrage de la charge au branchement": "Falha no arranque da carga ao ligar à rede" }, "plugins\/ocpp\/core\/class\/ocpp_transaction.class.php": { "Arrêt d'urgence": "Paragem de emergência", @@ -239,12 +243,13 @@ "Activer": "Ativar", "Afficher les champs en lecture seule": "Mostrar os campos como de leitura apenas", "Aucun": "Nenhum", - "Aucune autorisation": "Sem autorização", "Autorisations": "Autorizações", "Catégorie": "Categoria", "Commandes": "Comandos", "Configuration": "Configuração", "Configuration avancée": "Configuração avançada", + "Démarrer au branchement": "Começar com a ligação", + "Démarrer la charge automatiquement au branchement du véhicule": "Iniciar o carregamento automaticamente assim que o veículo for ligado à tomada", "Enregistrer les paramètres sur la borne": "Guardar as configurações no terminal", "Equipement": "Equipamento", "Equipement non visible": "Equipamento não visível", @@ -254,7 +259,9 @@ "Gestion": "Gestão", "Groupe d'autorisations": "Grupo de autorizações", "Identifiant": "EU IRIA", + "Identifiant utilisateur des transactions (20 caractères maximum)": "Identificador de utilizador das transações (máximo de 20 caracteres)", "Informations": "Informação", + "Liste des autorisations pouvant démarrer une charge": "Lista das autorizações que podem iniciar uma carga", "Mes bornes de recharge": "Os meus pontos de carregamento", "Modèle": "Modelo", "Nom": "Nome", @@ -270,6 +277,7 @@ "Sauvegarder": "Guardar", "Supprimer": "Eliminar", "Tout autoriser": "Autorizar tudo", + "Tout refuser": "Recusar tudo", "Toute modification erronée est susceptible d'entraîner des dysfonctionnements": "Qualquer alteração incorreta pode causar avarias", "Transactions": "Transações", "Type": "Tipo", From a1a7b7d61309797c60600fbe1ecd5951761ff40a Mon Sep 17 00:00:00 2001 From: Salvialf <48010158+Salvialf@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:09:31 +0000 Subject: [PATCH 15/22] chore(docs): update translations --- docs/.translation_memory/de_DE.json | 19 ++++++++++++++----- docs/.translation_memory/en_US.json | 19 ++++++++++++++----- docs/.translation_memory/es_ES.json | 19 ++++++++++++++----- docs/de_DE/changelog.md | 6 ++++++ docs/de_DE/index.md | 17 +++++++++++++---- docs/en_US/changelog.md | 6 ++++++ docs/en_US/index.md | 17 +++++++++++++---- docs/es_ES/changelog.md | 6 ++++++ docs/es_ES/index.md | 17 +++++++++++++---- 9 files changed, 99 insertions(+), 27 deletions(-) diff --git a/docs/.translation_memory/de_DE.json b/docs/.translation_memory/de_DE.json index 067a926..000f5d3 100644 --- a/docs/.translation_memory/de_DE.json +++ b/docs/.translation_memory/de_DE.json @@ -1,9 +1,11 @@ { + " est activé.": " ist aktiviert.", "**Activer/Désactiver borne** *(action/other)* : disponibilité de la borne.": "**Terminal aktivieren/deaktivieren** *(Aktion/Sonstiges)*: Verfügbarkeit des Terminals.", "**Activer/Désactiver connecteur** *(action/other)* : disponibilité du connecteur.": "**Konnektor aktivieren/deaktivieren** *(Aktion/Sonstiges)*: Verfügbarkeit des Konnektors.", "**Adresse IP/URL/Endpoint** : renseigner l'adresse du système central OCPP *(ws://": "**IP-Adresse/URL/Endpunkt**: Geben Sie die Adresse des OCPP-Zentralsystems ein *(ws://", "**Arrêter charge connecteur** *(action/other)* : arrêter la transaction en cours.": "**Ladevorgang am Anschluss beenden** *(action/other)*: Den laufenden Vorgang beenden.", "**Autorisations** : ajout d'une case à cocher par identifiant pour autoriser les transactions concurrentes simultanées": "**Berechtigungen**: Hinzufügen eines Kontrollkästchens pro Identifikator, um gleichzeitige konkurrierende Transaktionen zuzulassen", + "**Autorisations** : ajout d'une option de démarrage automatique de la charge au branchement du véhicule en mode « Tout autoriser » *(avec un identifiant dédié par borne)*": "**Berechtigungen**: Hinzufügen einer Option zum automatischen Start des Ladevorgangs beim Anschließen des Fahrzeugs im Modus „Alles zulassen“ *(mit einer dedizierten Kennung pro Ladestation)*", "**Autorisations** : ajout de bulles d'aide": "**Berechtigungen**: Hinzufügen von Hinweisfeldern", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Berechtigungen**: Behebung eines möglichen Verlusts von Anmeldedaten beim Speichern", "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Berechtigungen**: Korrektur der Zeitverschiebung beim Ablaufdatum, das an die Terminalstation übermittelt wird; dieses wird nun in allen Berechtigungsantworten gesendet", @@ -19,6 +21,7 @@ "**Commandes** : ajout des commandes de redémarrage de la borne *(logiciel/matériel)*": "**Befehle**: Befehle zum Neustart des Geräts *(Software/Hardware)* hinzugefügt", "**Commandes** : ajout des commandes pour gérer le courant et/ou la puissance maximum lors de la charge *(bornes compatibles SmartCharging uniquement)*": "**Befehle**: Es wurden Befehle hinzugefügt, um den Strom und/oder die maximale Leistung während des Ladevorgangs zu steuern *(nur SmartCharging-kompatible Ladestationen)*", "**Commandes** : définition de la liste des utilisateurs pouvant démarrer la charge": "**Steuerung**: Festlegung der Liste der Benutzer, die den Ladevorgang starten dürfen", + "**Commandes** : la commande **Démarrer charge** ne propose que l'identifiant du démarrage au branchement lorsque celui-ci est activé": "**Befehle**: Der Befehl **Ladung starten** gibt nur die Start-ID beim Anschließen an, wenn diese Funktion aktiviert ist", "**Commandes** : meilleure gestion des limites de charge *(A/W)*": "**Steuerungen**: Bessere Verwaltung der Belastungsgrenzen *(A/W)*", "**Commandes** : mise à jour automatique de la liste des utilisateurs pouvant démarrer une charge": "**Steuerung**: Automatische Aktualisierung der Liste der Benutzer, die einen Ladevorgang starten dürfen", "**Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)*": "**Steuerung**: Optimierung der an die Ladestation übermittelten Informationen *(Ladegrenze, Identifikationsnummer für den Ladevorgang)*", @@ -50,6 +53,7 @@ "**Identifiant de la borne** : chaque borne doit avoir un identifiant unique pour être reconnue par Jeedom *(ws://": "**Gerätekennung**: Jedes Gerät muss über eine eindeutige Kennung verfügen, damit es von Jeedom erkannt wird *(ws://", "**Info borne** *(info/string)* : informations complémentaires.": "**Terminal-Info** *(info/string)*: zusätzliche Informationen.", "**Info connecteur** *(info/string)* : informations complémentaires.": "**Anschlussinfo** *(info/string)*: zusätzliche Informationen.", + "**Plugin** : compatibilité PHP 8.4": "**Plugin**: Kompatibilität mit PHP 8.4", "**Power.Active.Export – Puissance injectée** *(W)* : puissance instantanée renvoyée vers le réseau.": "**Power.Active.Export – Eingespeiste Leistung** *(W)*: Momentane Leistung, die ins Netz zurückgespeist wird.", "**Power.Active.Import – Puissance consommée** *(W)* : puissance instantanée utilisée.": "**Power.Active.Import – Leistungsaufnahme** *(W)*: aktuell verbrauchte Leistung.", "**Power.Factor – Facteur de puissance** : rapport entre puissance active et apparente.": "**Power.Factor – Leistungsfaktor**: Verhältnis zwischen Wirkleistung und Scheinleistung.", @@ -80,13 +84,14 @@ ">**IMPORTANT**": ">**WICHTIG**", ">**INFORMATION**": ">**INFORMATION**", ">Double cliquer sur le nom d'un groupe permet de le renommer.": ">Durch Doppelklicken auf den Namen einer Gruppe können Sie diese umbenennen.", - ">En mode \"Tout autoriser\", tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom.": ">Im Modus „Alles zulassen“ wird jede am Terminal vorgelegte Identifikation akzeptiert. Der Befehl **Ladevorgang starten** zeigt dann die Liste der Jeedom-Benutzer an.", + ">En mode **Tout autoriser**, tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom, ou uniquement l'identifiant défini si le ": ">Im Modus **Alles zulassen** wird jede am Terminal vorgelegte Kennung akzeptiert. Der Befehl **Ladevorgang starten** zeigt dann die Liste der Jeedom-Benutzer an oder nur die festgelegte Kennung, wenn der ", ">La communication s'établit par défaut sur le port ": ">Die Kommunikation erfolgt standardmäßig über den Port ", ">Pour afficher les champs non modifiables il faut cliquer sur l'icône en forme d'œil. Cliquer sur l'œil barré pour les cacher à nouveau.": ">Um die nicht bearbeitbaren Felder anzuzeigen, klicken Sie auf das Augensymbol. Klicken Sie auf das durchgestrichene Auge, um sie wieder auszublenden.", ">Quelle que soit la liste des transactions demandées *(toutes, par borne ou par utilisateur)*, celles-ci sont mises à jour en temps réel à la création ou à la fermeture.": ">Unabhängig davon, welche Transaktionsliste angefordert wird *(alle, nach Terminal oder nach Benutzer)*, werden diese bei der Erstellung oder beim Abschluss in Echtzeit aktualisiert.", ">S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.": ">Wenn keine Informationen zum Update vorhanden sind, bedeutet dies, dass es sich ausschließlich um eine Aktualisierung der Dokumentation, der Übersetzung oder des Textes handelt.", ">Toute modification d'un paramètre de configuration de la borne est à appliquer en connaissance de cause. Une erreur étant susceptible d'entraîner des dysfonctionnements.": ">Jede Änderung an einer Konfigurationseinstellung des Geräts sollte nur in voller Kenntnis der Sachlage vorgenommen werden. Ein Fehler kann zu Funktionsstörungen führen.", "Ajouter des autorisations": "Berechtigungen hinzufügen", + "Après un arrêt via la commande **Arrêter charge**, la charge ne redémarre pas tant que le véhicule n'est pas débranché. Elle peut être relancée manuellement avec la commande **Démarrer charge**.": "Nach einem Stopp über den Befehl **Ladevorgang stoppen** wird der Ladevorgang erst wieder aufgenommen, wenn das Fahrzeug vom Ladegerät getrennt wurde. Er kann manuell mit dem Befehl **Ladevorgang starten** wieder gestartet werden.", "Autorisations": "Berechtigungen", "Borne": "Anschluss", "Changelog OCPP": "OCPP-Änderungsprotokoll", @@ -104,14 +109,17 @@ "Connecteur(s)": "Anschluss(e)", "Dans les minutes qui suivent le démarrage du démon, les bornes de recharge correctement configurées se connectent au système central Jeedom. Les équipements correspondants sont créés automatiquement.": "In den Minuten nach dem Start des Daemons verbinden sich die korrekt konfigurierten Ladestationen mit dem Jeedom-Zentralsystem. Die entsprechenden Geräte werden automatisch angelegt.", "Début du développement": "Beginn der Entwicklung", + "Démarrage au branchement": "Start beim Anschließen", + "En mode **Tout autoriser**, l'option **Démarrer au branchement** démarre automatiquement une charge dès qu'un véhicule est branché, sans badge ni action dans Jeedom.": "Im Modus **Alles zulassen** startet die Option **Beim Anschließen starten** automatisch den Ladevorgang, sobald ein Fahrzeug angeschlossen wird, ohne dass ein Ausweis oder eine Aktion in Jeedom erforderlich ist.", "Exemples de mesures": "Beispiele für Maßnahmen", "Groupes d'autorisations": "Berechtigungsgruppen", "L'onglet **Paramètres** donne accès à l'ensemble des paramètres de configuration de la borne. Certains sont modifiables et d'autres non. Ils sont répartis en deux grandes familles : ceux propres au protocole OCPP et ceux spécifiques au fabricant.": "Über die Registerkarte **Einstellungen** haben Sie Zugriff auf alle Konfigurationseinstellungen des Geräts. Einige davon sind veränderbar, andere nicht. Sie lassen sich in zwei große Gruppen unterteilen: die für das OCPP-Protokoll spezifischen und die herstellerspezifischen Einstellungen.", + "Le menu déroulant **Groupe d'autorisations** permet d'autoriser toutes les transactions *(**Tout autoriser**)* ou de sélectionner ": "Über das Dropdown-Menü **Berechtigungsgruppe** können Sie alle Transaktionen zulassen *(**Alles zulassen**)* oder auswählen ", "Le plugin **OCPP** permet d’utiliser Jeedom en tant que système central OCPP *(Open Charge Point Protocol)*. Il offre la possibilité de superviser une ou plusieurs bornes de recharge de véhicules électriques compatibles avec ce protocole.": "Das **OCPP**-Plugin ermöglicht es, Jeedom als zentrales OCPP-System *(Open Charge Point Protocol)* zu nutzen. Es bietet die Möglichkeit, eine oder mehrere mit diesem Protokoll kompatible Ladestationen für Elektrofahrzeuge zu überwachen.", "Les données des transactions *(charges)* propres à chaque contexte *(toutes, par équipement, par autorisation)* sont accessibles par le bouton **Transactions** :": "Die Transaktionsdaten *(Kosten)* für jeden Kontext *(alle, nach Gerät, nach Berechtigung)* sind über die Schaltfläche **Transaktionen** abrufbar:", - "Les mesures sont créées automatiquement par le plugin selon la configuration **MeterValuesSampledData** définie sur la borne.": "Die Messwerte werden vom Plugin automatisch anhand der am Anschluss definierten Konfiguration **MeterValuesSampledData** erstellt.", + "Les mesures sont créées automatiquement par le plugin à partir des paramètres de la borne : **MeterValuesSampledData** *(mesures périodiques pendant une charge)* et **MeterValuesAlignedData** *(relevés à intervalle fixe, réglé par **ClockAlignedDataInterval**)*.": "Die Messwerte werden vom Plugin automatisch anhand der Parameter des Messpunkts erstellt: **MeterValuesSampledData** *(periodische Messungen während einer Last)* und **MeterValuesAlignedData** *(Messwerte in festen Intervallen, die über **ClockAlignedDataInterval** festgelegt werden)*.", "Mesures": "Maßnahmen", - "Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)*.": "Standardmäßig lässt jede neu erstellte Klemme keine Last *(Transaktion)* zu.", + "Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)* : le groupe d'autorisations est réglé sur **Tout refuser**.": "Standardmäßig lässt jede neu erstellte Klemme keine Belastung *(Transaktion)* zu: Die Berechtigungsgruppe ist auf **Alles ablehnen** eingestellt.", "Paramètres de la borne": "Klemmenparameter", "Plugin OCPP": "OCPP-Plugin", "Pour ajouter un groupe d'autorisations, il suffit de cliquer sur le bouton **Ajouter un groupe** puis renseigner le nom du groupe.": "Um eine Berechtigungsgruppe hinzuzufügen, klicken Sie einfach auf die Schaltfläche **Gruppe hinzufügen** und geben Sie dann den Namen der Gruppe ein.", @@ -119,7 +127,8 @@ "Première version stable": "Erste stabile Version", "Si la borne fournit des valeurs par phase, les commandes sont suffixées par **L1**, **L2** ou **L3**.": "Wenn die Klemme Werte pro Phase liefert, werden die Befehle mit **L1**, **L2** oder **L3** ergänzt.", "Transactions": "Transaktionen", - "Un menu déroulant permet d'autoriser toutes les transactions ou de sélectionner ": "Über ein Dropdown-Menü können Sie alle Transaktionen zulassen oder auswählen ", + "Un identifiant *(20 caractères maximum)* doit obligatoirement être renseigné. Il est utilisé pour toutes les charges de la borne, qu'elles démarrent au branchement ou via la commande **Démarrer charge**, qui ne propose alors plus que cet identifiant. Toutes les transactions de la borne sont ainsi rattachées au même identifiant.": "Eine Kennung *(maximal 20 Zeichen)* muss zwingend angegeben werden. Sie wird für alle Ladevorgänge der Ladestation verwendet, unabhängig davon, ob diese beim Anschließen oder über den Befehl **Ladevorgang starten** gestartet werden, der dann nur noch diese Kennung anbietet. Alle Transaktionen der Ladestation werden somit derselben Kennung zugeordnet.", "Une autorisation étant composée :": "Eine Berechtigung setzt sich wie folgt zusammen:", - "un groupe d'autorisation": "eine Berechtigungsgruppe" + "démarrage au branchement": "Inbetriebnahme beim Anschließen", + "un groupe d'autorisations": "eine Berechtigungsgruppe" } \ No newline at end of file diff --git a/docs/.translation_memory/en_US.json b/docs/.translation_memory/en_US.json index ec902b8..30b9374 100644 --- a/docs/.translation_memory/en_US.json +++ b/docs/.translation_memory/en_US.json @@ -1,9 +1,11 @@ { + " est activé.": " is enabled.", "**Activer/Désactiver borne** *(action/other)* : disponibilité de la borne.": "**Enable/Disable Access Point** *(action/other)*: Access point availability.", "**Activer/Désactiver connecteur** *(action/other)* : disponibilité du connecteur.": "**Enable/Disable Connector** *(action/other)*: Connector availability.", "**Adresse IP/URL/Endpoint** : renseigner l'adresse du système central OCPP *(ws://": "**IP Address/URL/Endpoint**: Enter the address of the OCPP central system *(ws://", "**Arrêter charge connecteur** *(action/other)* : arrêter la transaction en cours.": "**Stop connector load** *(action/other)*: Stop the current transaction.", "**Autorisations** : ajout d'une case à cocher par identifiant pour autoriser les transactions concurrentes simultanées": "**Authorizations**: Added a checkbox per identifier to allow simultaneous concurrent transactions", + "**Autorisations** : ajout d'une option de démarrage automatique de la charge au branchement du véhicule en mode « Tout autoriser » *(avec un identifiant dédié par borne)*": "**Permissions**: Added an option to automatically start charging when the vehicle is plugged in while in “Allow All” mode *(with a dedicated ID per charging station)*", "**Autorisations** : ajout de bulles d'aide": "**Permissions**: Added tooltips", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Permissions**: Fixed a potential issue where credentials might be lost during backup", "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Authorizations**: Fixed the time offset for the expiration date sent to the gateway; it is now included in all authorization responses", @@ -19,6 +21,7 @@ "**Commandes** : ajout des commandes de redémarrage de la borne *(logiciel/matériel)*": "**Commands**: Added commands to restart the gateway *(software/hardware)*", "**Commandes** : ajout des commandes pour gérer le courant et/ou la puissance maximum lors de la charge *(bornes compatibles SmartCharging uniquement)*": "**Controls**: Added commands to manage current and/or maximum power during charging *(SmartCharging-compatible terminals only)*", "**Commandes** : définition de la liste des utilisateurs pouvant démarrer la charge": "**Commands**: Defining the list of users who can start the load", + "**Commandes** : la commande **Démarrer charge** ne propose que l'identifiant du démarrage au branchement lorsque celui-ci est activé": "**Commands**: The **Start Load** command only displays the start ID when the connection is enabled", "**Commandes** : meilleure gestion des limites de charge *(A/W)*": "**Commands**: Improved management of load limits *(A/W)*", "**Commandes** : mise à jour automatique de la liste des utilisateurs pouvant démarrer une charge": "**Commands**: Automatic update of the list of users who can start a load", "**Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)*": "**Commands**: Optimization of information transmitted to the charging station *(charge limit, charge start ID)*", @@ -50,6 +53,7 @@ "**Identifiant de la borne** : chaque borne doit avoir un identifiant unique pour être reconnue par Jeedom *(ws://": "**Terminal ID**: Each terminal must have a unique ID to be recognized by Jeedom *(ws://", "**Info borne** *(info/string)* : informations complémentaires.": "**Terminal Info** *(info/string)*: additional information.", "**Info connecteur** *(info/string)* : informations complémentaires.": "**Connector Info** *(info/string)*: additional information.", + "**Plugin** : compatibilité PHP 8.4": "**Plugin**: PHP 8.4 compatibility", "**Power.Active.Export – Puissance injectée** *(W)* : puissance instantanée renvoyée vers le réseau.": "**Power.Active.Export – Power fed into the grid** *(W)*: instantaneous power fed back into the grid.", "**Power.Active.Import – Puissance consommée** *(W)* : puissance instantanée utilisée.": "**Power.Active.Import – Power Consumed** *(W)*: instantaneous power consumption.", "**Power.Factor – Facteur de puissance** : rapport entre puissance active et apparente.": "**Power Factor**: the ratio of active power to apparent power.", @@ -80,13 +84,14 @@ ">**IMPORTANT**": ">**IMPORTANT**", ">**INFORMATION**": ">**INFORMATION**", ">Double cliquer sur le nom d'un groupe permet de le renommer.": ">Double-click a group's name to rename it.", - ">En mode \"Tout autoriser\", tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom.": ">In \"Allow All\" mode, any credentials presented at the terminal are accepted. The **Start Load** command then displays the list of Jeedom users.", + ">En mode **Tout autoriser**, tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom, ou uniquement l'identifiant défini si le ": ">In **Allow All** mode, any username presented to the terminal is accepted. The **Start Load** command then displays the list of Jeedom users, or only the specified username if the ", ">La communication s'établit par défaut sur le port ": ">Communication is established by default on port ", ">Pour afficher les champs non modifiables il faut cliquer sur l'icône en forme d'œil. Cliquer sur l'œil barré pour les cacher à nouveau.": ">To display the read-only fields, click the eye icon. Click the crossed-out eye icon to hide them again.", ">Quelle que soit la liste des transactions demandées *(toutes, par borne ou par utilisateur)*, celles-ci sont mises à jour en temps réel à la création ou à la fermeture.": ">Regardless of the list of requested transactions *(all, by terminal, or by user)*, they are updated in real time upon creation or closure.", ">S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.": ">If there is no information about the update, it means that the update only involves documentation, translations, or text.", ">Toute modification d'un paramètre de configuration de la borne est à appliquer en connaissance de cause. Une erreur étant susceptible d'entraîner des dysfonctionnements.": ">Any changes to the gateway's configuration settings should be made with full knowledge of the implications, as an error could lead to malfunctions.", "Ajouter des autorisations": "Add permissions", + "Après un arrêt via la commande **Arrêter charge**, la charge ne redémarre pas tant que le véhicule n'est pas débranché. Elle peut être relancée manuellement avec la commande **Démarrer charge**.": "After stopping the charge using the **Stop Charge** command, the charge will not resume until the vehicle is unplugged. It can be restarted manually using the **Start Charge** command.", "Autorisations": "Permissions", "Borne": "Terminal", "Changelog OCPP": "OCPP Changelog", @@ -104,14 +109,17 @@ "Connecteur(s)": "Connector(s)", "Dans les minutes qui suivent le démarrage du démon, les bornes de recharge correctement configurées se connectent au système central Jeedom. Les équipements correspondants sont créés automatiquement.": "Within minutes of the daemon starting up, properly configured charging stations connect to the Jeedom central system. The corresponding devices are created automatically.", "Début du développement": "Start of development", + "Démarrage au branchement": "Startup upon connection", + "En mode **Tout autoriser**, l'option **Démarrer au branchement** démarre automatiquement une charge dès qu'un véhicule est branché, sans badge ni action dans Jeedom.": "In **Allow All** mode, the **Start on Connection** option automatically starts charging as soon as a vehicle is plugged in, without requiring a badge or any action in Jeedom.", "Exemples de mesures": "Examples of measures", "Groupes d'autorisations": "Permission Groups", "L'onglet **Paramètres** donne accès à l'ensemble des paramètres de configuration de la borne. Certains sont modifiables et d'autres non. Ils sont répartis en deux grandes familles : ceux propres au protocole OCPP et ceux spécifiques au fabricant.": "The **Settings** tab provides access to all of the hub's configuration settings. Some settings can be modified, while others cannot. They are divided into two main categories: those specific to the OCPP protocol and those specific to the manufacturer.", + "Le menu déroulant **Groupe d'autorisations** permet d'autoriser toutes les transactions *(**Tout autoriser**)* ou de sélectionner ": "The **Permissions Group** drop-down menu allows you to authorize all transactions *(**Authorize All**)* or to select ", "Le plugin **OCPP** permet d’utiliser Jeedom en tant que système central OCPP *(Open Charge Point Protocol)*. Il offre la possibilité de superviser une ou plusieurs bornes de recharge de véhicules électriques compatibles avec ce protocole.": "The **OCPP** plugin allows you to use Jeedom as an OCPP *(Open Charge Point Protocol)* central system. It enables you to monitor one or more electric vehicle charging stations that are compatible with this protocol.", "Les données des transactions *(charges)* propres à chaque contexte *(toutes, par équipement, par autorisation)* sont accessibles par le bouton **Transactions** :": "Transaction data *(charges)* specific to each context *(all, by device, by authorization)* can be accessed via the **Transactions** button:", - "Les mesures sont créées automatiquement par le plugin selon la configuration **MeterValuesSampledData** définie sur la borne.": "Measurements are automatically created by the plugin based on the **MeterValuesSampledData** configuration defined on the terminal.", + "Les mesures sont créées automatiquement par le plugin à partir des paramètres de la borne : **MeterValuesSampledData** *(mesures périodiques pendant une charge)* et **MeterValuesAlignedData** *(relevés à intervalle fixe, réglé par **ClockAlignedDataInterval**)*.": "Meter readings are automatically generated by the plugin based on the terminal's settings: **MeterValuesSampledData** *(periodic readings during a load)* and **MeterValuesAlignedData** *(readings at fixed intervals, set by **ClockAlignedDataInterval**)*.", "Mesures": "Measurements", - "Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)*.": "By default, any newly created terminal does not allow any charges *(transactions)*.", + "Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)* : le groupe d'autorisations est réglé sur **Tout refuser**.": "By default, any newly created terminal does not allow any charges *(transactions)*: the permission group is set to **Deny All**.", "Paramètres de la borne": "Terminal settings", "Plugin OCPP": "OCPP Plugin", "Pour ajouter un groupe d'autorisations, il suffit de cliquer sur le bouton **Ajouter un groupe** puis renseigner le nom du groupe.": "To add a permissions group, simply click the **Add Group** button and enter the group name.", @@ -119,7 +127,8 @@ "Première version stable": "First stable release", "Si la borne fournit des valeurs par phase, les commandes sont suffixées par **L1**, **L2** ou **L3**.": "If the terminal provides values per phase, the commands are suffixed with **L1**, **L2**, or **L3**.", "Transactions": "Transactions", - "Un menu déroulant permet d'autoriser toutes les transactions ou de sélectionner ": "A drop-down menu allows you to authorize all transactions or select ", + "Un identifiant *(20 caractères maximum)* doit obligatoirement être renseigné. Il est utilisé pour toutes les charges de la borne, qu'elles démarrent au branchement ou via la commande **Démarrer charge**, qui ne propose alors plus que cet identifiant. Toutes les transactions de la borne sont ainsi rattachées au même identifiant.": "A user ID *(maximum 20 characters)* must be entered. It is used for all charging sessions at the charging station, whether they start upon connection or via the **Start Charging** command, which then only displays this user ID. All transactions at the charging station are thus linked to the same user ID.", "Une autorisation étant composée :": "An authorization consists of:", - "un groupe d'autorisation": "an authorization group" + "démarrage au branchement": "Startup upon connection", + "un groupe d'autorisations": "a group of permissions" } \ No newline at end of file diff --git a/docs/.translation_memory/es_ES.json b/docs/.translation_memory/es_ES.json index 1d9d477..7cf85b2 100644 --- a/docs/.translation_memory/es_ES.json +++ b/docs/.translation_memory/es_ES.json @@ -1,9 +1,11 @@ { + " est activé.": " está activada.", "**Activer/Désactiver borne** *(action/other)* : disponibilité de la borne.": "**Activar/Desactivar terminal** *(acción/otro)*: disponibilidad del terminal.", "**Activer/Désactiver connecteur** *(action/other)* : disponibilité du connecteur.": "**Activar/Desactivar conector** *(acción/otro)*: disponibilidad del conector.", "**Adresse IP/URL/Endpoint** : renseigner l'adresse du système central OCPP *(ws://": "**Dirección IP/URL/punto final**: introduce la dirección del sistema central OCPP *(ws://", "**Arrêter charge connecteur** *(action/other)* : arrêter la transaction en cours.": "**Detener la carga del conector** *(acción/otro)*: detener la transacción en curso.", "**Autorisations** : ajout d'une case à cocher par identifiant pour autoriser les transactions concurrentes simultanées": "**Autorizaciones**: se ha añadido una casilla de selección por identificador para autorizar transacciones concurrentes simultáneas", + "**Autorisations** : ajout d'une option de démarrage automatique de la charge au branchement du véhicule en mode « Tout autoriser » *(avec un identifiant dédié par borne)*": "**Autorizaciones**: se ha añadido una opción para iniciar automáticamente la recarga al conectar el vehículo en el modo «Permitir todo» *(con un identificador específico por punto de recarga)*", "**Autorisations** : ajout de bulles d'aide": "**Permisos**: se han añadido ventanas emergentes de ayuda", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Permisos**: se ha corregido un posible problema de pérdida de credenciales al guardar", "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Autorizaciones**: corrección del desfase horario de la fecha de caducidad transmitida al terminal; a partir de ahora se envía en todas las respuestas de autorización", @@ -19,6 +21,7 @@ "**Commandes** : ajout des commandes de redémarrage de la borne *(logiciel/matériel)*": "**Comandos**: se han añadido los comandos para reiniciar el terminal *(software/hardware)*", "**Commandes** : ajout des commandes pour gérer le courant et/ou la puissance maximum lors de la charge *(bornes compatibles SmartCharging uniquement)*": "**Comandos**: se han añadido comandos para gestionar la corriente y/o la potencia máxima durante la carga *(solo terminales compatibles con SmartCharging)*", "**Commandes** : définition de la liste des utilisateurs pouvant démarrer la charge": "**Comandos**: definición de la lista de usuarios que pueden iniciar la carga", + "**Commandes** : la commande **Démarrer charge** ne propose que l'identifiant du démarrage au branchement lorsque celui-ci est activé": "**Comandos**: el comando **Iniciar carga** solo muestra el identificador de inicio al conectarse cuando está activado", "**Commandes** : meilleure gestion des limites de charge *(A/W)*": "**Controles**: mejor gestión de los límites de carga *(A/W)*", "**Commandes** : mise à jour automatique de la liste des utilisateurs pouvant démarrer une charge": "**Comandos**: actualización automática de la lista de usuarios que pueden iniciar una carga", "**Commandes** : optimisation des informations transmises à la borne *(limite de charge, identifiant de démarrage de charge)*": "**Comandos**: optimización de la información transmitida a la estación de recarga *(límite de carga, identificador de inicio de carga)*", @@ -50,6 +53,7 @@ "**Identifiant de la borne** : chaque borne doit avoir un identifiant unique pour être reconnue par Jeedom *(ws://": "**Identificador del dispositivo**: cada dispositivo debe tener un identificador único para que Jeedom lo reconozca *(ws://", "**Info borne** *(info/string)* : informations complémentaires.": "**Información del terminal** *(info/string)*: información adicional.", "**Info connecteur** *(info/string)* : informations complémentaires.": "**Información del conector** *(info/string)*: información adicional.", + "**Plugin** : compatibilité PHP 8.4": "**Complemento**: compatible con PHP 8.4", "**Power.Active.Export – Puissance injectée** *(W)* : puissance instantanée renvoyée vers le réseau.": "**Power.Active.Export – Potencia inyectada** *(W)*: potencia instantánea devuelta a la red.", "**Power.Active.Import – Puissance consommée** *(W)* : puissance instantanée utilisée.": "**Power.Active.Import – Potencia consumida** *(W)*: potencia instantánea consumida.", "**Power.Factor – Facteur de puissance** : rapport entre puissance active et apparente.": "**Power.Factor – Factor de potencia**: relación entre la potencia activa y la potencia aparente.", @@ -80,13 +84,14 @@ ">**IMPORTANT**": ">**IMPORTANTE**", ">**INFORMATION**": ">**INFORMACIÓN**", ">Double cliquer sur le nom d'un groupe permet de le renommer.": ">Al hacer doble clic en el nombre de un grupo, se puede cambiar su nombre.", - ">En mode \"Tout autoriser\", tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom.": ">En el modo «Permitir todo», se acepta cualquier identificador que se presente en el terminal. El comando **Iniciar carga** muestra entonces la lista de usuarios de Jeedom.", + ">En mode **Tout autoriser**, tout identifiant présenté à la borne est accepté. La commande **Démarrer charge** propose alors la liste des utilisateurs Jeedom, ou uniquement l'identifiant défini si le ": ">En el modo **Permitir todo**, se acepta cualquier identificador que se presente en el terminal. El comando **Iniciar carga** muestra entonces la lista de usuarios de Jeedom, o solo el identificador definido si el ", ">La communication s'établit par défaut sur le port ": ">La comunicación se establece por defecto en el puerto ", ">Pour afficher les champs non modifiables il faut cliquer sur l'icône en forme d'œil. Cliquer sur l'œil barré pour les cacher à nouveau.": ">Para mostrar los campos no editables, hay que hacer clic en el icono con forma de ojo. Haz clic en el ojo tachado para volver a ocultarlos.", ">Quelle que soit la liste des transactions demandées *(toutes, par borne ou par utilisateur)*, celles-ci sont mises à jour en temps réel à la création ou à la fermeture.": ">Independientemente de la lista de transacciones solicitadas *(todas, por terminal o por usuario)*, estas se actualizan en tiempo real al crearse o al cerrarse.", ">S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.": ">Si no hay información sobre la actualización, es porque esta se refiere únicamente a la actualización de la documentación, la traducción o el texto.", ">Toute modification d'un paramètre de configuration de la borne est à appliquer en connaissance de cause. Une erreur étant susceptible d'entraîner des dysfonctionnements.": ">Cualquier modificación de un parámetro de configuración del terminal debe realizarse con pleno conocimiento de causa, ya que un error podría provocar fallos de funcionamiento.", "Ajouter des autorisations": "Añadir permisos", + "Après un arrêt via la commande **Arrêter charge**, la charge ne redémarre pas tant que le véhicule n'est pas débranché. Elle peut être relancée manuellement avec la commande **Démarrer charge**.": "Tras una interrupción mediante el comando **Detener carga**, la carga no se reanuda hasta que se desconecte el vehículo. Se puede reanudar manualmente con el comando **Iniciar carga**.", "Autorisations": "Autorizaciones", "Borne": "Terminal", "Changelog OCPP": "Registro de cambios de OCPP", @@ -104,14 +109,17 @@ "Connecteur(s)": "Conector(es)", "Dans les minutes qui suivent le démarrage du démon, les bornes de recharge correctement configurées se connectent au système central Jeedom. Les équipements correspondants sont créés automatiquement.": "En los minutos siguientes al inicio del demonio, los puntos de recarga correctamente configurados se conectan al sistema central Jeedom. Los dispositivos correspondientes se crean automáticamente.", "Début du développement": "Inicio del desarrollo", + "Démarrage au branchement": "Puesta en marcha al conectarlo", + "En mode **Tout autoriser**, l'option **Démarrer au branchement** démarre automatiquement une charge dès qu'un véhicule est branché, sans badge ni action dans Jeedom.": "En el modo **Permitir todo**, la opción **Iniciar al conectar** inicia automáticamente la recarga en cuanto se conecta un vehículo, sin necesidad de tarjeta ni de realizar ninguna acción en Jeedom.", "Exemples de mesures": "Ejemplos de medidas", "Groupes d'autorisations": "Grupos de permisos", "L'onglet **Paramètres** donne accès à l'ensemble des paramètres de configuration de la borne. Certains sont modifiables et d'autres non. Ils sont répartis en deux grandes familles : ceux propres au protocole OCPP et ceux spécifiques au fabricant.": "La pestaña **Configuración** permite acceder a todos los parámetros de configuración del terminal. Algunos se pueden modificar y otros no. Se dividen en dos grandes grupos: los propios del protocolo OCPP y los específicos del fabricante.", + "Le menu déroulant **Groupe d'autorisations** permet d'autoriser toutes les transactions *(**Tout autoriser**)* ou de sélectionner ": "El menú desplegable **Grupo de autorizaciones** permite autorizar todas las transacciones *(**Autorizar todo**)* o seleccionar ", "Le plugin **OCPP** permet d’utiliser Jeedom en tant que système central OCPP *(Open Charge Point Protocol)*. Il offre la possibilité de superviser une ou plusieurs bornes de recharge de véhicules électriques compatibles avec ce protocole.": "El complemento **OCPP** permite utilizar Jeedom como sistema central OCPP *(Open Charge Point Protocol)*. Ofrece la posibilidad de supervisar uno o varios puntos de recarga de vehículos eléctricos compatibles con este protocolo.", "Les données des transactions *(charges)* propres à chaque contexte *(toutes, par équipement, par autorisation)* sont accessibles par le bouton **Transactions** :": "Se puede acceder a los datos de las transacciones *(gastos)* específicos de cada contexto *(todas, por equipo, por autorización)* mediante el botón **Transacciones**:", - "Les mesures sont créées automatiquement par le plugin selon la configuration **MeterValuesSampledData** définie sur la borne.": "El plugin crea automáticamente las mediciones según la configuración **MeterValuesSampledData** definida en el terminal.", + "Les mesures sont créées automatiquement par le plugin à partir des paramètres de la borne : **MeterValuesSampledData** *(mesures périodiques pendant une charge)* et **MeterValuesAlignedData** *(relevés à intervalle fixe, réglé par **ClockAlignedDataInterval**)*.": "El plugin genera automáticamente las lecturas a partir de los parámetros del terminal: **MeterValuesSampledData** *(lecturas periódicas durante una carga)* y **MeterValuesAlignedData** *(lecturas a intervalos fijos, configurados mediante **ClockAlignedDataInterval**)*.", "Mesures": "Medidas", - "Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)*.": "Por defecto, cualquier terminal recién creado no permite ninguna carga *(transacción)*.", + "Par défaut, toute borne nouvellement créée n'autorise aucune charge *(transaction)* : le groupe d'autorisations est réglé sur **Tout refuser**.": "Por defecto, cualquier terminal recién creada no permite ninguna carga *(transacción)*: el grupo de permisos está configurado en **Rechazar todo**.", "Paramètres de la borne": "Parámetros del terminal", "Plugin OCPP": "Complemento OCPP", "Pour ajouter un groupe d'autorisations, il suffit de cliquer sur le bouton **Ajouter un groupe** puis renseigner le nom du groupe.": "Para añadir un grupo de permisos, basta con hacer clic en el botón **Añadir un grupo** y, a continuación, introducir el nombre del grupo.", @@ -119,7 +127,8 @@ "Première version stable": "Primera versión estable", "Si la borne fournit des valeurs par phase, les commandes sont suffixées par **L1**, **L2** ou **L3**.": "Si el terminal proporciona valores por fase, los comandos llevan el sufijo **L1**, **L2** o **L3**.", "Transactions": "Transacciones", - "Un menu déroulant permet d'autoriser toutes les transactions ou de sélectionner ": "Un menú desplegable permite autorizar todas las transacciones o seleccionar ", + "Un identifiant *(20 caractères maximum)* doit obligatoirement être renseigné. Il est utilisé pour toutes les charges de la borne, qu'elles démarrent au branchement ou via la commande **Démarrer charge**, qui ne propose alors plus que cet identifiant. Toutes les transactions de la borne sont ainsi rattachées au même identifiant.": "Es obligatorio introducir un identificador *(20 caracteres como máximo)*. Se utiliza para todas las cargas del punto de recarga, tanto si se inician al conectarse como mediante el comando **Iniciar carga**, que en ese caso solo muestra dicho identificador. De este modo, todas las transacciones del punto de recarga quedan vinculadas al mismo identificador.", "Une autorisation étant composée :": "Una autorización se compone de:", - "un groupe d'autorisation": "un grupo de permisos" + "démarrage au branchement": "Puesta en marcha al conectarlo", + "un groupe d'autorisations": "un grupo de permisos" } \ No newline at end of file diff --git a/docs/de_DE/changelog.md b/docs/de_DE/changelog.md index 3492586..2ad770e 100644 --- a/docs/de_DE/changelog.md +++ b/docs/de_DE/changelog.md @@ -4,6 +4,12 @@ > >Wenn keine Informationen zum Update vorhanden sind, bedeutet dies, dass es sich ausschließlich um eine Aktualisierung der Dokumentation, der Übersetzung oder des Textes handelt. +## 19/10/2026 ***(1.1.0)*** + +- **Berechtigungen**: Hinzufügen einer Option zum automatischen Start des Ladevorgangs beim Anschließen des Fahrzeugs im Modus „Alles zulassen“ *(mit einer dedizierten Kennung pro Ladestation)* +- **Befehle**: Der Befehl **Ladung starten** gibt nur die Start-ID beim Anschließen an, wenn diese Funktion aktiviert ist +- **Plugin**: Kompatibilität mit PHP 8.4 + ## 16/10/2026 ***(1.0.1)*** - **Fehler**: Kommunikationsfehler mit dem Gateway werden nun im Protokoll des Plugins gemeldet diff --git a/docs/de_DE/index.md b/docs/de_DE/index.md index 6ee5a8e..d9b541d 100644 --- a/docs/de_DE/index.md +++ b/docs/de_DE/index.md @@ -26,13 +26,21 @@ In den Minuten nach dem Start des Daemons verbinden sich die korrekt konfigurier ### Berechtigungen -Standardmäßig lässt jede neu erstellte Klemme keine Last *(Transaktion)* zu. +Standardmäßig lässt jede neu erstellte Klemme keine Belastung *(Transaktion)* zu: Die Berechtigungsgruppe ist auf **Alles ablehnen** eingestellt. -Über ein Dropdown-Menü können Sie alle Transaktionen zulassen oder auswählen [eine Berechtigungsgruppe](#berechtigungsgruppen). +Über das Dropdown-Menü **Berechtigungsgruppe** können Sie alle Transaktionen zulassen *(**Alles zulassen**)* oder auswählen [eine Berechtigungsgruppe](#berechtigungsgruppen). >**WICHTIG** > ->Im Modus „Alles zulassen“ wird jede am Terminal vorgelegte Identifikation akzeptiert. Der Befehl **Ladevorgang starten** zeigt dann die Liste der Jeedom-Benutzer an. +>Im Modus **Alles zulassen** wird jede am Terminal vorgelegte Kennung akzeptiert. Der Befehl **Ladevorgang starten** zeigt dann die Liste der Jeedom-Benutzer an oder nur die festgelegte Kennung, wenn der [Inbetriebnahme beim Anschließen](#start-beim-anschließen) ist aktiviert. + +### Start beim Anschließen + +Im Modus **Alles zulassen** startet die Option **Beim Anschließen starten** automatisch den Ladevorgang, sobald ein Fahrzeug angeschlossen wird, ohne dass ein Ausweis oder eine Aktion in Jeedom erforderlich ist. + +Eine Kennung *(maximal 20 Zeichen)* muss zwingend angegeben werden. Sie wird für alle Ladevorgänge der Ladestation verwendet, unabhängig davon, ob diese beim Anschließen oder über den Befehl **Ladevorgang starten** gestartet werden, der dann nur noch diese Kennung anbietet. Alle Transaktionen der Ladestation werden somit derselben Kennung zugeordnet. + +Nach einem Stopp über den Befehl **Ladevorgang stoppen** wird der Ladevorgang erst wieder aufgenommen, wenn das Fahrzeug vom Ladegerät getrennt wurde. Er kann manuell mit dem Befehl **Ladevorgang starten** wieder gestartet werden. ### Klemmenparameter @@ -115,7 +123,8 @@ Die Transaktionsdaten *(Kosten)* für jeden Kontext *(alle, nach Gerät, nach Be ## Maßnahmen -Die Messwerte werden vom Plugin automatisch anhand der am Anschluss definierten Konfiguration **MeterValuesSampledData** erstellt. +Die Messwerte werden vom Plugin automatisch anhand der Parameter des Messpunkts erstellt: **MeterValuesSampledData** *(periodische Messungen während einer Last)* und **MeterValuesAlignedData** *(Messwerte in festen Intervallen, die über **ClockAlignedDataInterval** festgelegt werden)*. + Jeder empfangene Messwert erzeugt einen Befehl vom Typ **info/numeric**, der standardmäßig protokolliert wird und die entsprechende Einheit enthält *(Wh, W, A, V, Hz, °C, %, RPM)*. Wenn die Klemme Werte pro Phase liefert, werden die Befehle mit **L1**, **L2** oder **L3** ergänzt. diff --git a/docs/en_US/changelog.md b/docs/en_US/changelog.md index f2036d8..4f84e33 100644 --- a/docs/en_US/changelog.md +++ b/docs/en_US/changelog.md @@ -4,6 +4,12 @@ > >If there is no information about the update, it means that the update only involves documentation, translations, or text. +## 19/10/2026 ***(1.1.0)*** + +- **Permissions**: Added an option to automatically start charging when the vehicle is plugged in while in “Allow All” mode *(with a dedicated ID per charging station)* +- **Commands**: The **Start Load** command only displays the start ID when the connection is enabled +- **Plugin**: PHP 8.4 compatibility + ## 16/10/2026 ***(1.0.1)*** - **Demon**: Communication errors with the gateway are now reported in the plugin log diff --git a/docs/en_US/index.md b/docs/en_US/index.md index 47a4dda..1792678 100644 --- a/docs/en_US/index.md +++ b/docs/en_US/index.md @@ -26,13 +26,21 @@ Within minutes of the daemon starting up, properly configured charging stations ### Permissions -By default, any newly created terminal does not allow any charges *(transactions)*. +By default, any newly created terminal does not allow any charges *(transactions)*: the permission group is set to **Deny All**. -A drop-down menu allows you to authorize all transactions or select [an authorization group](#permission-groups). +The **Permissions Group** drop-down menu allows you to authorize all transactions *(**Authorize All**)* or to select [a group of permissions](#permission-groups). >**IMPORTANT** > ->In "Allow All" mode, any credentials presented at the terminal are accepted. The **Start Load** command then displays the list of Jeedom users. +>In **Allow All** mode, any username presented to the terminal is accepted. The **Start Load** command then displays the list of Jeedom users, or only the specified username if the [Startup upon connection](#startup-upon-connection) is enabled. + +### Startup upon connection + +In **Allow All** mode, the **Start on Connection** option automatically starts charging as soon as a vehicle is plugged in, without requiring a badge or any action in Jeedom. + +A user ID *(maximum 20 characters)* must be entered. It is used for all charging sessions at the charging station, whether they start upon connection or via the **Start Charging** command, which then only displays this user ID. All transactions at the charging station are thus linked to the same user ID. + +After stopping the charge using the **Stop Charge** command, the charge will not resume until the vehicle is unplugged. It can be restarted manually using the **Start Charge** command. ### Terminal settings @@ -115,7 +123,8 @@ Transaction data *(charges)* specific to each context *(all, by device, by autho ## Measurements -Measurements are automatically created by the plugin based on the **MeterValuesSampledData** configuration defined on the terminal. +Meter readings are automatically generated by the plugin based on the terminal's settings: **MeterValuesSampledData** *(periodic readings during a load)* and **MeterValuesAlignedData** *(readings at fixed intervals, set by **ClockAlignedDataInterval**)*. + Each measurement received generates an **info/numeric** command, which is logged by default, with the appropriate unit *(Wh, W, A, V, Hz, °C, %, RPM)*. If the terminal provides values per phase, the commands are suffixed with **L1**, **L2**, or **L3**. diff --git a/docs/es_ES/changelog.md b/docs/es_ES/changelog.md index a9add9e..b6ae9a7 100644 --- a/docs/es_ES/changelog.md +++ b/docs/es_ES/changelog.md @@ -4,6 +4,12 @@ > >Si no hay información sobre la actualización, es porque esta se refiere únicamente a la actualización de la documentación, la traducción o el texto. +## 19/10/2026 ***(1.1.0)*** + +- **Autorizaciones**: se ha añadido una opción para iniciar automáticamente la recarga al conectar el vehículo en el modo «Permitir todo» *(con un identificador específico por punto de recarga)* +- **Comandos**: el comando **Iniciar carga** solo muestra el identificador de inicio al conectarse cuando está activado +- **Complemento**: compatible con PHP 8.4 + ## 16/10/2026 ***(1.0.1)*** - **Demonio**: los errores de comunicación con el terminal ahora se registran en el registro del complemento diff --git a/docs/es_ES/index.md b/docs/es_ES/index.md index e822dc6..d9b6be0 100644 --- a/docs/es_ES/index.md +++ b/docs/es_ES/index.md @@ -26,13 +26,21 @@ En los minutos siguientes al inicio del demonio, los puntos de recarga correctam ### Autorizaciones -Por defecto, cualquier terminal recién creado no permite ninguna carga *(transacción)*. +Por defecto, cualquier terminal recién creada no permite ninguna carga *(transacción)*: el grupo de permisos está configurado en **Rechazar todo**. -Un menú desplegable permite autorizar todas las transacciones o seleccionar [un grupo de permisos](#grupos-de-permisos). +El menú desplegable **Grupo de autorizaciones** permite autorizar todas las transacciones *(**Autorizar todo**)* o seleccionar [un grupo de permisos](#grupos-de-permisos). >**IMPORTANTE** > ->En el modo «Permitir todo», se acepta cualquier identificador que se presente en el terminal. El comando **Iniciar carga** muestra entonces la lista de usuarios de Jeedom. +>En el modo **Permitir todo**, se acepta cualquier identificador que se presente en el terminal. El comando **Iniciar carga** muestra entonces la lista de usuarios de Jeedom, o solo el identificador definido si el [Puesta en marcha al conectarlo](#puesta-en-marcha-al-conectarlo) está activada. + +### Puesta en marcha al conectarlo + +En el modo **Permitir todo**, la opción **Iniciar al conectar** inicia automáticamente la recarga en cuanto se conecta un vehículo, sin necesidad de tarjeta ni de realizar ninguna acción en Jeedom. + +Es obligatorio introducir un identificador *(20 caracteres como máximo)*. Se utiliza para todas las cargas del punto de recarga, tanto si se inician al conectarse como mediante el comando **Iniciar carga**, que en ese caso solo muestra dicho identificador. De este modo, todas las transacciones del punto de recarga quedan vinculadas al mismo identificador. + +Tras una interrupción mediante el comando **Detener carga**, la carga no se reanuda hasta que se desconecte el vehículo. Se puede reanudar manualmente con el comando **Iniciar carga**. ### Parámetros del terminal @@ -115,7 +123,8 @@ Se puede acceder a los datos de las transacciones *(gastos)* específicos de cad ## Medidas -El plugin crea automáticamente las mediciones según la configuración **MeterValuesSampledData** definida en el terminal. +El plugin genera automáticamente las lecturas a partir de los parámetros del terminal: **MeterValuesSampledData** *(lecturas periódicas durante una carga)* y **MeterValuesAlignedData** *(lecturas a intervalos fijos, configurados mediante **ClockAlignedDataInterval**)*. + Cada medida recibida genera un comando **info/numeric**, que se registra de forma predeterminada, con la unidad correspondiente *(Wh, W, A, V, Hz, °C, %, RPM)*. Si el terminal proporciona valores por fase, los comandos llevan el sufijo **L1**, **L2** o **L3**. From edb969d61f555c8ab3feef884316a99fcd23f646 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 30 Oct 2026 14:27:33 +0100 Subject: [PATCH 16/22] fix(ocpp): send only status and expiry date in authorization responses --- core/class/ocpp.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 5d501c0..e94e4fe 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -653,8 +653,7 @@ public function getAuth($_idTag = null): array { unset($auths[$_idTag]['expiry_date']); } - unset($auths[$_idTag]['name'], $auths[$_idTag]['concurrentTx']); - return $auths[$_idTag]; + return array_intersect_key($auths[$_idTag], array_flip(['status', 'expiry_date'])); } } return array('status' => 'Invalid'); From 6e9b12b70956c6a67941d807df209a9897eb13c2 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 30 Oct 2026 14:55:50 +0100 Subject: [PATCH 17/22] refactor(ocpp): cache auth groups per request --- core/class/ocpp.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index e94e4fe..9db626f 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -32,6 +32,8 @@ class ocpp extends eqLogic { + private static $_authGroups = array(); + public static function standardConfiguration() { return array( 'AllowOfflineTxForUnknownId' => array( @@ -296,6 +298,7 @@ public static function setAuthGroup(string $_groupId, array $_authList = array() if (file_exists($file)) { unlink($file); } + unset(self::$_authGroups[$_groupId]); if (!empty($_authList)) { if (($csv = fopen($file, 'w')) !== false) { log::add(__CLASS__, 'debug', __("Sauvegarde du groupe d'autorisations", __FILE__) . ' : ' . '/plugins/ocpp/data/' . $_groupId . '.csv'); @@ -318,6 +321,9 @@ public static function setAuthGroup(string $_groupId, array $_authList = array() } public static function getAuthGroup(string $_groupId): array { + if (isset(self::$_authGroups[$_groupId])) { + return self::$_authGroups[$_groupId]; + } $return = array(); $file = __DIR__ . '/../../data/' . $_groupId . '.csv'; if (is_file($file) && ($csv = fopen($file, 'r')) !== false) { @@ -330,6 +336,7 @@ public static function getAuthGroup(string $_groupId): array { } fclose($csv); } + self::$_authGroups[$_groupId] = $return; return $return; } @@ -338,6 +345,7 @@ public static function removeAuthGroup(string $_groupId) { if (file_exists($file)) { unlink($file); } + unset(self::$_authGroups[$_groupId]); foreach ((self::byTypeAndSearchConfiguration(__CLASS__, ['authGroupId' => $_groupId])) as $eqLogic) { $eqLogic->setConfiguration('authGroupId', '')->save(true); From 93829ca0de2a7625989bf1cefd84e91cdffdcab8 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 30 Oct 2026 15:18:23 +0100 Subject: [PATCH 18/22] fix(ocpp): replace auth group files atomically --- core/class/ocpp.class.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 9db626f..5eeba53 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -295,12 +295,13 @@ public function postUpdate() { public static function setAuthGroup(string $_groupId, array $_authList = array()) { $file = __DIR__ . '/../../data/' . $_groupId . '.csv'; - if (file_exists($file)) { - unlink($file); - } - unset(self::$_authGroups[$_groupId]); - if (!empty($_authList)) { - if (($csv = fopen($file, 'w')) !== false) { + if (empty($_authList)) { + if (file_exists($file)) { + unlink($file); + } + } else { + $tmpFile = $file . '.' . config::genKey(8); + if (($csv = fopen($tmpFile, 'w')) !== false) { log::add(__CLASS__, 'debug', __("Sauvegarde du groupe d'autorisations", __FILE__) . ' : ' . '/plugins/ocpp/data/' . $_groupId . '.csv'); fputcsv($csv, array_map('trim', array_keys($_authList[0])), ';'); foreach ($_authList as $auth) { @@ -310,10 +311,11 @@ public static function setAuthGroup(string $_groupId, array $_authList = array() } fclose($csv); } - if (!file_exists($file)) { + if (!file_exists($tmpFile) || !rename($tmpFile, $file)) { throw new Exception(__('Impossible de sauvegarder la liste des autorisations', __FILE__) . ' : ' . $file); } } + unset(self::$_authGroups[$_groupId]); foreach (self::byTypeAndSearchConfiguration(__CLASS__, ['authGroupId' => $_groupId]) as $eqLogic) { $eqLogic->updateAuthListCmd(); From e3c82ab4f73bb353b816e700ece2772f671330da Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 30 Oct 2026 17:34:34 +0100 Subject: [PATCH 19/22] refactor(ocpp): save auth groups server-side and keep new empty groups --- core/ajax/ocpp.ajax.php | 4 +- core/class/ocpp.class.php | 13 +++++- core/js/ocpp.class.js | 9 ++-- desktop/js/authorisations.js | 88 ++++++++++++------------------------ 4 files changed, 47 insertions(+), 67 deletions(-) diff --git a/core/ajax/ocpp.ajax.php b/core/ajax/ocpp.ajax.php index 9b6b807..dd26ce6 100644 --- a/core/ajax/ocpp.ajax.php +++ b/core/ajax/ocpp.ajax.php @@ -51,8 +51,8 @@ ajax::success($eqLogic->chargerChangeConfiguration(init('key'), init('value'))); } - if (init('action') == 'setAuthGroup') { - ajax::success(ocpp::setAuthGroup(init('groupId'), json_decode(init('authList', array()), true))); + if (init('action') == 'saveAuthGroups') { + ajax::success(ocpp::saveAuthGroups(json_decode(init('groups', array()), true))); } if (init('action') == 'getAuthGroup') { diff --git a/core/class/ocpp.class.php b/core/class/ocpp.class.php index 5eeba53..82d2315 100644 --- a/core/class/ocpp.class.php +++ b/core/class/ocpp.class.php @@ -293,6 +293,17 @@ public function postUpdate() { } } + public static function saveAuthGroups(array $_groups) { + $authGroups = (array) config::byKey('authGroups', __CLASS__, array()); + foreach ($_groups as $groupId => $group) { + if (isset($group['authList'])) { + self::setAuthGroup($groupId, $group['authList']); + } + $authGroups[$groupId] = $group['name']; + } + config::save('authGroups', $authGroups, __CLASS__); + } + public static function setAuthGroup(string $_groupId, array $_authList = array()) { $file = __DIR__ . '/../../data/' . $_groupId . '.csv'; if (empty($_authList)) { @@ -357,8 +368,8 @@ public static function removeAuthGroup(string $_groupId) { $authGroups = (array) config::byKey('authGroups', __CLASS__, array()); if (isset($authGroups[$_groupId])) { unset($authGroups[$_groupId]); + config::save('authGroups', $authGroups, __CLASS__); } - config::save('authGroups', $authGroups, __CLASS__); } public function createCmds() { diff --git a/core/js/ocpp.class.js b/core/js/ocpp.class.js index 56a718e..6096dad 100644 --- a/core/js/ocpp.class.js +++ b/core/js/ocpp.class.js @@ -78,8 +78,8 @@ jeedom.ocpp.changeConfiguration = function(_params) { /************************* Authorizations ************************************************/ -jeedom.ocpp.setAuthGroup = function(_params) { - var paramsRequired = ['groupId'] +jeedom.ocpp.saveAuthGroups = function(_params) { + var paramsRequired = ['groups'] var paramsSpecifics = {} try { jeedom.private.checkParamsRequired(_params || {}, paramsRequired) @@ -91,9 +91,8 @@ jeedom.ocpp.setAuthGroup = function(_params) { var paramsAJAX = jeedom.private.getParamsAJAX(params) paramsAJAX.url = 'plugins/ocpp/core/ajax/ocpp.ajax.php' paramsAJAX.data = { - action: 'setAuthGroup', - groupId: _params.groupId, - authList: JSON.stringify(_params.authList) + action: 'saveAuthGroups', + groups: JSON.stringify(_params.groups) } domUtils.ajax(paramsAJAX) } diff --git a/desktop/js/authorisations.js b/desktop/js/authorisations.js index 00432e2..0ce3229 100644 --- a/desktop/js/authorisations.js +++ b/desktop/js/authorisations.js @@ -178,69 +178,39 @@ ocppAuthModal.querySelector('#md_ocppAuthorizations').addEventListener('click', ocppAuthModal.querySelector('.authSave').unRegisterEvent('click').registerEvent('click', function(event) { const groups = {} - let changedGroups = false, changedAuths = false - - if (ocppAuthModal.hasClass('jeeDialogNoCloseBackdrop')) { - for (const _group of ocppAuthModal.querySelectorAll('#auth_groups_menu > li')) { - const groupId = _group.dataset.groupId - const table = ocppAuthModal.querySelector('#table_auth_' + groupId) - const authList = table?._dataTable.table.rows.map(row => row.node.getJeeValues('.authAttr')[0]) - - if (!(groupId in _authGroups) && (authList?.length === 0 || authList?.length === 1 && authList[0].id.trim() === '')) { - continue - } - - groups[groupId] = _group.querySelector('.authAction[data-action="selectGroup"]').innerText - if (!changedGroups && _group.dataset.changedGroup) { - changedGroups = true - } - - if (_group.dataset.changedAuth) { - jeedom.ocpp.setAuthGroup({ - groupId: groupId, - authList: authList, - async: false, - error: function(error) { - jeedomUtils.showAlert({ - message: error.message, - level: 'danger' - }) - }, - success: function() { - changedAuths = true - } - }) - } + for (const _group of ocppAuthModal.querySelectorAll('#auth_groups_menu > li')) { + if (!_group.dataset.changedGroup && !_group.dataset.changedAuth) { + continue + } + const groupId = _group.dataset.groupId + groups[groupId] = { name: _group.querySelector('.authAction[data-action="selectGroup"]').innerText } + if (_group.dataset.changedAuth) { + groups[groupId].authList = ocppAuthModal.querySelector('#table_auth_' + groupId)._dataTable.table.rows.map(row => row.node.getJeeValues('.authAttr')[0]) } } - closeOcppAuthModal() - - if (changedGroups) { - jeedom.config.save({ - plugin: 'ocpp', - configuration: { - authGroups: groups - }, - error: function(error) { - jeedomUtils.showAlert({ - message: error.message, - level: 'danger' - }) - }, - success: function() { - jeedomUtils.showAlert({ - message: "{{Les groupes d'autorisations ont été sauvegardés}}", - level: 'success' - }) - } - }) - } else if (changedAuths) { - jeedomUtils.showAlert({ - message: "{{Les listes d'autorisations ont été sauvegardées}}", - level: 'success' - }) + if (Object.keys(groups).length === 0) { + closeOcppAuthModal() + return } + + jeedom.ocpp.saveAuthGroups({ + groups: groups, + error: function(error) { + jeedomUtils.showAlert({ + attachTo: ocppAuthModal, + message: error.message, + level: 'danger' + }) + }, + success: function() { + closeOcppAuthModal() + jeedomUtils.showAlert({ + message: "{{Les groupes d'autorisations ont été sauvegardés}}", + level: 'success' + }) + } + }) }) ocppAuthModal.querySelector('button.btClose').unRegisterEvent('click').registerEvent('click', function(event) { From c20e5a024c715786bead6b8b7df11a32c02e9422 Mon Sep 17 00:00:00 2001 From: Salvialf Date: Fri, 30 Oct 2026 17:39:17 +0100 Subject: [PATCH 20/22] docs(changelog): bump pluginVersion and update changelog for 1.1.1 --- docs/fr_FR/changelog.md | 7 +++++++ plugin_info/info.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/fr_FR/changelog.md b/docs/fr_FR/changelog.md index 1a03caa..babef0e 100644 --- a/docs/fr_FR/changelog.md +++ b/docs/fr_FR/changelog.md @@ -4,6 +4,13 @@ > >S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte. +## 30/10/2026 ***(1.1.1)*** + +- **Autorisations** : correction du refus des badges lorsqu'un fichier CSV importé contient des colonnes supplémentaires +- **Autorisations** : sécurisation de l'enregistrement des listes d'autorisations *(la liste précédente est conservée en cas d'échec)* +- **Autorisations** : la fenêtre de gestion reste ouverte en cas d'erreur d'enregistrement et un nouveau groupe sans badge est désormais conservé +- **Transactions** : optimisation de l'affichage de la liste des transactions + ## 19/10/2026 ***(1.1.0)*** - **Autorisations** : ajout d'une option de démarrage automatique de la charge au branchement du véhicule en mode « Tout autoriser » *(avec un identifiant dédié par borne)* diff --git a/plugin_info/info.json b/plugin_info/info.json index 930c61e..7c26a53 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -1,7 +1,7 @@ { "id": "ocpp", "name": "OCPP", - "pluginVersion": "1.1.0", + "pluginVersion": "1.1.1", "description": { "fr_FR": "Plugin permettant de contrôler les bornes de recharge de véhicules compatibles avec le protocole OCPP en faisant de Jeedom un système central OCPP.", "en_US": "A plugin that allows you to control vehicle charging stations compatible with the OCPP protocol by turning Jeedom into an OCPP central system.", From d1ace92bce840f15d43c4802583d03a144c56d63 Mon Sep 17 00:00:00 2001 From: Salvialf <48010158+Salvialf@users.noreply.github.com> Date: Fri, 30 Oct 2026 16:39:39 +0000 Subject: [PATCH 21/22] Auto update translation done by jeedom/jeetranslate workflow --- core/i18n/de_DE.json | 1 - core/i18n/en_US.json | 1 - core/i18n/es_ES.json | 1 - core/i18n/it_IT.json | 1 - core/i18n/pt_PT.json | 1 - 5 files changed, 5 deletions(-) diff --git a/core/i18n/de_DE.json b/core/i18n/de_DE.json index 7080c6b..8f7721f 100644 --- a/core/i18n/de_DE.json +++ b/core/i18n/de_DE.json @@ -157,7 +157,6 @@ "Expiré": "Abgelaufen", "Invalide": "Ungültig", "Les groupes d'autorisations ont été sauvegardés": "Die Berechtigungsgruppen wurden gespeichert", - "Les listes d'autorisations ont été sauvegardées": "Die Berechtigungslisten wurden gespeichert", "Nom du nouveau groupe d'autorisations ?": "Name der neuen Berechtigungsgruppe?", "Nouveau nom du groupe d'autorisations ?": "Neuer Name der Berechtigungsgruppe?", "Supprimer": "Entfernen", diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json index a510961..9235441 100644 --- a/core/i18n/en_US.json +++ b/core/i18n/en_US.json @@ -157,7 +157,6 @@ "Expiré": "Expired", "Invalide": "Invalid", "Les groupes d'autorisations ont été sauvegardés": "Permission groups have been saved", - "Les listes d'autorisations ont été sauvegardées": "The permission lists have been saved", "Nom du nouveau groupe d'autorisations ?": "What should the new permission group be named?", "Nouveau nom du groupe d'autorisations ?": "New name for the permissions group?", "Supprimer": "Delete", diff --git a/core/i18n/es_ES.json b/core/i18n/es_ES.json index b8c059c..3f54e07 100644 --- a/core/i18n/es_ES.json +++ b/core/i18n/es_ES.json @@ -157,7 +157,6 @@ "Expiré": "Caducado", "Invalide": "No válido", "Les groupes d'autorisations ont été sauvegardés": "Se han guardado los grupos de permisos", - "Les listes d'autorisations ont été sauvegardées": "Se han guardado las listas de permisos", "Nom du nouveau groupe d'autorisations ?": "¿Cómo se llama el nuevo grupo de permisos?", "Nouveau nom du groupe d'autorisations ?": "¿Nuevo nombre del grupo de permisos?", "Supprimer": "Eliminar", diff --git a/core/i18n/it_IT.json b/core/i18n/it_IT.json index 04eae3e..a5a9987 100644 --- a/core/i18n/it_IT.json +++ b/core/i18n/it_IT.json @@ -157,7 +157,6 @@ "Expiré": "Scaduto", "Invalide": "Non valido", "Les groupes d'autorisations ont été sauvegardés": "I gruppi di autorizzazioni sono stati salvati", - "Les listes d'autorisations ont été sauvegardées": "Gli elenchi delle autorizzazioni sono stati salvati", "Nom du nouveau groupe d'autorisations ?": "Nome del nuovo gruppo di autorizzazioni?", "Nouveau nom du groupe d'autorisations ?": "Nuovo nome del gruppo di autorizzazioni?", "Supprimer": "Elimina", diff --git a/core/i18n/pt_PT.json b/core/i18n/pt_PT.json index c492741..6942b83 100644 --- a/core/i18n/pt_PT.json +++ b/core/i18n/pt_PT.json @@ -157,7 +157,6 @@ "Expiré": "Expirado", "Invalide": "Inválido", "Les groupes d'autorisations ont été sauvegardés": "Os grupos de autorizações foram guardados", - "Les listes d'autorisations ont été sauvegardées": "As listas de autorizações foram guardadas", "Nom du nouveau groupe d'autorisations ?": "Nome do novo grupo de autorizações?", "Nouveau nom du groupe d'autorisations ?": "Novo nome do grupo de autorizações?", "Supprimer": "Eliminar", From af63fec75a4b457868dcd1b8a9ab5f8692bbce4c Mon Sep 17 00:00:00 2001 From: Salvialf <48010158+Salvialf@users.noreply.github.com> Date: Fri, 30 Oct 2026 16:39:43 +0000 Subject: [PATCH 22/22] chore(docs): update translations --- docs/.translation_memory/de_DE.json | 4 ++++ docs/.translation_memory/en_US.json | 4 ++++ docs/.translation_memory/es_ES.json | 4 ++++ docs/de_DE/changelog.md | 7 +++++++ docs/en_US/changelog.md | 7 +++++++ docs/es_ES/changelog.md | 7 +++++++ 6 files changed, 33 insertions(+) diff --git a/docs/.translation_memory/de_DE.json b/docs/.translation_memory/de_DE.json index 000f5d3..311e273 100644 --- a/docs/.translation_memory/de_DE.json +++ b/docs/.translation_memory/de_DE.json @@ -9,12 +9,15 @@ "**Autorisations** : ajout de bulles d'aide": "**Berechtigungen**: Hinzufügen von Hinweisfeldern", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Berechtigungen**: Behebung eines möglichen Verlusts von Anmeldedaten beim Speichern", "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Berechtigungen**: Korrektur der Zeitverschiebung beim Ablaufdatum, das an die Terminalstation übermittelt wird; dieses wird nun in allen Berechtigungsantworten gesendet", + "**Autorisations** : correction du refus des badges lorsqu'un fichier CSV importé contient des colonnes supplémentaires": "**Berechtigungen**: Behebung des Problems, dass Ausweise abgelehnt wurden, wenn eine importierte CSV-Datei zusätzliche Spalten enthielt", "**Autorisations** : correction du tri des colonnes": "**Berechtigungen**: Korrektur der Spaltensortierung", "**Autorisations** : diverses corrections et optimisations à l'enregistrement": "**Berechtigungen**: verschiedene Korrekturen und Optimierungen bei der Registrierung", "**Autorisations** : gestion des autorisations par groupes": "**Berechtigungen**: Verwaltung von Berechtigungen nach Gruppen", + "**Autorisations** : la fenêtre de gestion reste ouverte en cas d'erreur d'enregistrement et un nouveau groupe sans badge est désormais conservé": "**Berechtigungen**: Das Verwaltungsfenster bleibt bei einem Speicherfehler geöffnet, und eine neue Gruppe ohne Ausweis wird nun beibehalten", "**Autorisations** : les identifiants ne sont plus sensibles à la casse pour autoriser une transaction": "**Berechtigungen**: Bei der Autorisierung einer Transaktion wird bei den Anmeldedaten nicht mehr zwischen Groß- und Kleinschreibung unterschieden", "**Autorisations** : optimisation de la sauvegarde des groupes et listes d'autorisations": "**Berechtigungen**: Optimierung der Speicherung von Gruppen und Berechtigungslisten", "**Autorisations** : possibilité d'ajouter un nom lisible lié à l'identifiant *(utilisé dans la liste des transactions et des utilisateurs pouvant démarrer une charge si renseigné)*": "**Berechtigungen**: Möglichkeit, einen lesbaren Namen zur Kennung hinzuzufügen *(wird in der Liste der Transaktionen und der Benutzer verwendet, die einen Ladevorgang starten können, sofern angegeben)*", + "**Autorisations** : sécurisation de l'enregistrement des listes d'autorisations *(la liste précédente est conservée en cas d'échec)*": "**Berechtigungen**: Sicherung der Speicherung von Berechtigungslisten *(die vorherige Liste bleibt bei einem Fehlschlag erhalten)*", "**Borne** : meilleure gestion de la (re)connexion au système central": "**Knotenpunkt**: Bessere Verwaltung der (Wieder-)Verbindung zum Zentralsystem", "**Borne** : optimisation de la prise en compte d'un remplacement avec le même identifiant": "**Terminal**: Optimierung der Berücksichtigung eines Austauschs mit derselben Kennung", "**Borne** : optimisation des statuts envoyés lors d'une demande d'autorisation": "**Terminal**: Optimierung der bei einer Autorisierungsanfrage gesendeten Statusmeldungen", @@ -71,6 +74,7 @@ "**Transactions** : ajout d'un pictogramme pour les transactions terminées affichant le motif de fin de transaction au survol": "**Transaktionen**: Hinzufügen eines Piktogramms für abgeschlossene Transaktionen, das beim Darüberfahren mit der Maus den Grund für den Abschluss der Transaktion anzeigt", "**Transactions** : fermeture automatique d'une éventuelle transaction non finalisée": "**Transaktionen**: Automatischer Abschluss einer eventuell noch nicht abgeschlossenen Transaktion", "**Transactions** : mise à jour en temps réel de la liste des transactions *(ouverture/fermeture)*": "**Transaktionen**: Echtzeit-Aktualisierung der Transaktionsliste *(Eröffnung/Schließung)*", + "**Transactions** : optimisation de l'affichage de la liste des transactions": "**Transaktionen**: Optimierung der Anzeige der Transaktionsliste", "**Utilisateur connecteur** *(info/string)* : identifiant de l'utilisateur en cours.": "**Benutzer-Connector** *(info/string)*: Kennung des aktuellen Benutzers.", "**Utilisateur** : identifiant ou nom de l'utilisateur.": "**Benutzer**: Benutzername oder Name des Benutzers.", "**Version du protocole** : activer la connexion OCPP en version 1.6.": "**Protokollversion**: OCPP-Verbindung in Version 1.6 aktivieren.", diff --git a/docs/.translation_memory/en_US.json b/docs/.translation_memory/en_US.json index 30b9374..e70097b 100644 --- a/docs/.translation_memory/en_US.json +++ b/docs/.translation_memory/en_US.json @@ -9,12 +9,15 @@ "**Autorisations** : ajout de bulles d'aide": "**Permissions**: Added tooltips", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Permissions**: Fixed a potential issue where credentials might be lost during backup", "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Authorizations**: Fixed the time offset for the expiration date sent to the gateway; it is now included in all authorization responses", + "**Autorisations** : correction du refus des badges lorsqu'un fichier CSV importé contient des colonnes supplémentaires": "**Authorizations**: Fixed an issue where badges were rejected when an imported CSV file contained additional columns", "**Autorisations** : correction du tri des colonnes": "**Permissions**: Fixed column sorting", "**Autorisations** : diverses corrections et optimisations à l'enregistrement": "**Permissions**: various fixes and optimizations related to registration", "**Autorisations** : gestion des autorisations par groupes": "**Permissions**: Permission management by groups", + "**Autorisations** : la fenêtre de gestion reste ouverte en cas d'erreur d'enregistrement et un nouveau groupe sans badge est désormais conservé": "**Permissions**: The management window remains open if a save error occurs, and a new group without a badge is now retained", "**Autorisations** : les identifiants ne sont plus sensibles à la casse pour autoriser une transaction": "**Authorizations**: Usernames are no longer case-sensitive when authorizing a transaction", "**Autorisations** : optimisation de la sauvegarde des groupes et listes d'autorisations": "**Permissions**: Optimizing the backup of permission groups and lists", "**Autorisations** : possibilité d'ajouter un nom lisible lié à l'identifiant *(utilisé dans la liste des transactions et des utilisateurs pouvant démarrer une charge si renseigné)*": "**Permissions**: Option to add a human-readable name associated with the ID *(used in the list of transactions and users who can start a load, if provided)*", + "**Autorisations** : sécurisation de l'enregistrement des listes d'autorisations *(la liste précédente est conservée en cas d'échec)*": "**Permissions**: Securing the saving of permission lists *(the previous list is retained in case of failure)*", "**Borne** : meilleure gestion de la (re)connexion au système central": "**Terminal**: improved management of (re)connection to the central system", "**Borne** : optimisation de la prise en compte d'un remplacement avec le même identifiant": "**Terminal**: Optimized handling of replacements with the same identifier", "**Borne** : optimisation des statuts envoyés lors d'une demande d'autorisation": "**Terminal**: Optimization of statuses sent during an authorization request", @@ -71,6 +74,7 @@ "**Transactions** : ajout d'un pictogramme pour les transactions terminées affichant le motif de fin de transaction au survol": "**Transactions**: Added an icon for completed transactions that displays the reason for completion when hovered over", "**Transactions** : fermeture automatique d'une éventuelle transaction non finalisée": "**Transactions**: Automatic closure of any uncompleted transaction", "**Transactions** : mise à jour en temps réel de la liste des transactions *(ouverture/fermeture)*": "**Transactions**: real-time updates to the list of transactions *(open/close)*", + "**Transactions** : optimisation de l'affichage de la liste des transactions": "**Transactions**: Optimizing the display of the transaction list", "**Utilisateur connecteur** *(info/string)* : identifiant de l'utilisateur en cours.": "**Connector user** *(info/string)*: ID of the current user.", "**Utilisateur** : identifiant ou nom de l'utilisateur.": "**User**: username or user name.", "**Version du protocole** : activer la connexion OCPP en version 1.6.": "**Protocol version**: Enable the OCPP connection, version 1.6.", diff --git a/docs/.translation_memory/es_ES.json b/docs/.translation_memory/es_ES.json index 7cf85b2..74f25c7 100644 --- a/docs/.translation_memory/es_ES.json +++ b/docs/.translation_memory/es_ES.json @@ -9,12 +9,15 @@ "**Autorisations** : ajout de bulles d'aide": "**Permisos**: se han añadido ventanas emergentes de ayuda", "**Autorisations** : correction d'éventuelle perte d'identifiants à la sauvegarde": "**Permisos**: se ha corregido un posible problema de pérdida de credenciales al guardar", "**Autorisations** : correction du décalage horaire de la date d'expiration transmise à la borne, désormais envoyée dans toutes les réponses d'autorisation": "**Autorizaciones**: corrección del desfase horario de la fecha de caducidad transmitida al terminal; a partir de ahora se envía en todas las respuestas de autorización", + "**Autorisations** : correction du refus des badges lorsqu'un fichier CSV importé contient des colonnes supplémentaires": "**Autorizaciones**: se ha corregido el error por el que se rechazaban las tarjetas de identificación cuando un archivo CSV importado contenía columnas adicionales", "**Autorisations** : correction du tri des colonnes": "**Permisos**: corrección del orden de las columnas", "**Autorisations** : diverses corrections et optimisations à l'enregistrement": "**Permisos**: diversas correcciones y optimizaciones en el registro", "**Autorisations** : gestion des autorisations par groupes": "**Permisos**: gestión de permisos por grupos", + "**Autorisations** : la fenêtre de gestion reste ouverte en cas d'erreur d'enregistrement et un nouveau groupe sans badge est désormais conservé": "**Autorizaciones**: la ventana de gestión permanece abierta en caso de error de registro y, a partir de ahora, se conserva un nuevo grupo sin credencial", "**Autorisations** : les identifiants ne sont plus sensibles à la casse pour autoriser une transaction": "**Autorizaciones**: los identificadores ya no distinguen entre mayúsculas y minúsculas a la hora de autorizar una transacción", "**Autorisations** : optimisation de la sauvegarde des groupes et listes d'autorisations": "**Permisos**: optimización de la copia de seguridad de los grupos y las listas de permisos", "**Autorisations** : possibilité d'ajouter un nom lisible lié à l'identifiant *(utilisé dans la liste des transactions et des utilisateurs pouvant démarrer une charge si renseigné)*": "**Autorizaciones**: posibilidad de añadir un nombre descriptivo asociado al identificador *(que se utiliza en la lista de transacciones y de usuarios que pueden iniciar una carga, si se ha introducido)*", + "**Autorisations** : sécurisation de l'enregistrement des listes d'autorisations *(la liste précédente est conservée en cas d'échec)*": "**Autorizaciones**: protección del registro de las listas de autorizaciones *(se conserva la lista anterior en caso de fallo)*", "**Borne** : meilleure gestion de la (re)connexion au système central": "**Terminal**: mejor gestión de la (re)conexión al sistema central", "**Borne** : optimisation de la prise en compte d'un remplacement avec le même identifiant": "**Terminal**: optimización del tratamiento de una sustitución con el mismo identificador", "**Borne** : optimisation des statuts envoyés lors d'une demande d'autorisation": "**Terminal**: optimización de los estados enviados durante una solicitud de autorización", @@ -71,6 +74,7 @@ "**Transactions** : ajout d'un pictogramme pour les transactions terminées affichant le motif de fin de transaction au survol": "**Transacciones**: se ha añadido un pictograma para las transacciones finalizadas que muestra el motivo del cierre de la transacción al pasar el cursor por encima.", "**Transactions** : fermeture automatique d'une éventuelle transaction non finalisée": "**Transacciones**: cierre automático de cualquier transacción que no se haya completado", "**Transactions** : mise à jour en temps réel de la liste des transactions *(ouverture/fermeture)*": "**Transacciones**: actualización en tiempo real de la lista de transacciones *(apertura/cierre)*", + "**Transactions** : optimisation de l'affichage de la liste des transactions": "**Transacciones**: optimización de la visualización de la lista de transacciones", "**Utilisateur connecteur** *(info/string)* : identifiant de l'utilisateur en cours.": "**Usuario del conector** *(info/string)*: identificador del usuario actual.", "**Utilisateur** : identifiant ou nom de l'utilisateur.": "**Usuario**: nombre de usuario o nombre del usuario.", "**Version du protocole** : activer la connexion OCPP en version 1.6.": "**Versión del protocolo**: activar la conexión OCPP en la versión 1.6.", diff --git a/docs/de_DE/changelog.md b/docs/de_DE/changelog.md index 2ad770e..9430c81 100644 --- a/docs/de_DE/changelog.md +++ b/docs/de_DE/changelog.md @@ -4,6 +4,13 @@ > >Wenn keine Informationen zum Update vorhanden sind, bedeutet dies, dass es sich ausschließlich um eine Aktualisierung der Dokumentation, der Übersetzung oder des Textes handelt. +## 30/10/2026 ***(1.1.1)*** + +- **Berechtigungen**: Behebung des Problems, dass Ausweise abgelehnt wurden, wenn eine importierte CSV-Datei zusätzliche Spalten enthielt +- **Berechtigungen**: Sicherung der Speicherung von Berechtigungslisten *(die vorherige Liste bleibt bei einem Fehlschlag erhalten)* +- **Berechtigungen**: Das Verwaltungsfenster bleibt bei einem Speicherfehler geöffnet, und eine neue Gruppe ohne Ausweis wird nun beibehalten +- **Transaktionen**: Optimierung der Anzeige der Transaktionsliste + ## 19/10/2026 ***(1.1.0)*** - **Berechtigungen**: Hinzufügen einer Option zum automatischen Start des Ladevorgangs beim Anschließen des Fahrzeugs im Modus „Alles zulassen“ *(mit einer dedizierten Kennung pro Ladestation)* diff --git a/docs/en_US/changelog.md b/docs/en_US/changelog.md index 4f84e33..676d7dd 100644 --- a/docs/en_US/changelog.md +++ b/docs/en_US/changelog.md @@ -4,6 +4,13 @@ > >If there is no information about the update, it means that the update only involves documentation, translations, or text. +## 30/10/2026 ***(1.1.1)*** + +- **Authorizations**: Fixed an issue where badges were rejected when an imported CSV file contained additional columns +- **Permissions**: Securing the saving of permission lists *(the previous list is retained in case of failure)* +- **Permissions**: The management window remains open if a save error occurs, and a new group without a badge is now retained +- **Transactions**: Optimizing the display of the transaction list + ## 19/10/2026 ***(1.1.0)*** - **Permissions**: Added an option to automatically start charging when the vehicle is plugged in while in “Allow All” mode *(with a dedicated ID per charging station)* diff --git a/docs/es_ES/changelog.md b/docs/es_ES/changelog.md index b6ae9a7..f14cf9e 100644 --- a/docs/es_ES/changelog.md +++ b/docs/es_ES/changelog.md @@ -4,6 +4,13 @@ > >Si no hay información sobre la actualización, es porque esta se refiere únicamente a la actualización de la documentación, la traducción o el texto. +## 30/10/2026 ***(1.1.1)*** + +- **Autorizaciones**: se ha corregido el error por el que se rechazaban las tarjetas de identificación cuando un archivo CSV importado contenía columnas adicionales +- **Autorizaciones**: protección del registro de las listas de autorizaciones *(se conserva la lista anterior en caso de fallo)* +- **Autorizaciones**: la ventana de gestión permanece abierta en caso de error de registro y, a partir de ahora, se conserva un nuevo grupo sin credencial +- **Transacciones**: optimización de la visualización de la lista de transacciones + ## 19/10/2026 ***(1.1.0)*** - **Autorizaciones**: se ha añadido una opción para iniciar automáticamente la recarga al conectar el vehículo en el modo «Permitir todo» *(con un identificador específico por punto de recarga)*