From 7a6495b40592376571bc359a952e0497cce1cbd5 Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Sat, 20 Apr 2024 18:19:33 +0200 Subject: [PATCH] Try without groupId --- app/ocpp_proto/chargepoint.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/ocpp_proto/chargepoint.py b/app/ocpp_proto/chargepoint.py index bb9042d..8c16f9f 100644 --- a/app/ocpp_proto/chargepoint.py +++ b/app/ocpp_proto/chargepoint.py @@ -52,11 +52,11 @@ class ChargePoint(cp): db.add(db_id_token) id_token_info=IdTokenInfoType( - status=AuthorizationStatusType.accepted, - group_id_token=IdTokenType( - type=IdTokenEnumType.central, - id_token=str(db_id_token.owner_id) - ) + status=AuthorizationStatusType.accepted#, + #group_id_token=IdTokenType( + #type=IdTokenEnumType.central, + #id_token=str(db_id_token.owner_id) + #) ) db_chargepoint.learn_user_id = None db_chargepoint.learn_until = None @@ -68,11 +68,11 @@ class ChargePoint(cp): ) else: id_token_info=IdTokenInfoType( - status=AuthorizationStatusType.accepted, - group_id_token=IdTokenType( - type=IdTokenEnumType.central, - id_token=str(db_id_token.owner_id) - ) + status=AuthorizationStatusType.accepted#, + #group_id_token=IdTokenType( + #type=IdTokenEnumType.central, + #id_token=str(db_id_token.owner_id) + #) ) return id_token_info