From 32c15782f8fe272ec8b2044560fa560a505fe985 Mon Sep 17 00:00:00 2001 From: Flock82 <81387035+Flock82@users.noreply.github.com> Date: Mon, 14 Aug 2023 23:16:49 +0200 Subject: [PATCH] [Kia] - Parameter update --- modules/soc_kia/parameters.py | 10 +++++----- modules/soc_kia/stamps.py | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/soc_kia/parameters.py b/modules/soc_kia/parameters.py index 8e8cb08c7..9b701e573 100755 --- a/modules/soc_kia/parameters.py +++ b/modules/soc_kia/parameters.py @@ -117,17 +117,17 @@ def loadBrandData(): setParameter('baseUrl', 'https://' + getParameter('host')) setParameter('clientId', 'fdc85c00-0a2f-4c64-bcb4-2cfb1500730a') setParameter('authClientId', '572e0304-5f8d-4b4c-9dd5-41aa84eed160') - setParameter('appId', 'a2b8469b-30a3-4361-8e13-6fceea8fbe74') - setParameter('GCMSenderId', '345127537656') - setParameter('PushType', 'APNS') + setParameter('appId', '1518dd6b-2759-4995-9ae5-c9ad4a9ddad1') + setParameter('GCMSenderId', 'cF5o4DiiQkaw5wsAkLzYIS:APA91bFB59MltBMK29zI0U2llq7khbB2jELkNFKMfBCH6KlCPL16pz_dG0fZ4ncvFn1IMT8nfojb83JyLiT_skBTXtClHhDCKeRbyPy3yQjCVRC3zTZt--wI7vv4jD9aknhHhiQsoZoU') + setParameter('PushType', 'GCM') setParameter('basicToken', 'Basic ZmRjODVjMDAtMGEyZi00YzY0LWJjYjQtMmNmYjE1MDA3MzBhOnNlY3JldA==') if getParameter('brand') == 'hyundai': setParameter('host', 'prd.eu-ccapi.hyundai.com:8080') setParameter('baseUrl', 'https://' + getParameter('host')) setParameter('clientId', '6d477c38-3ca4-4cf3-9557-2a1929a94654') setParameter('authClientId', '64621b96-0f0d-11ec-82a8-0242ac130003') - setParameter('appId', '1eba27d2-9a5b-4eba-8ec7-97eb6c62fb51') - setParameter('GCMSenderId', '414998006775') + setParameter('appId', '014d2225-8495-4735-812d-2616334fd15d') + setParameter('GCMSenderId', 'dQtCqr7gRjy31Ao4nPiLVy:APA91bF_tv9yPOTFa-sW9-vCxOVpzD_iLjRopN_zaKgPKdwS7OYTWFN626-ObhZyzka5kYFKG0KfCsuMOUD5aw9Gyrdh-IeBQZHIcfb5YNUrQBvfqQxbggk9kO6gZeFbCpCLHZB6wITC') setParameter('PushType', 'GCM') setParameter( 'basicToken', 'Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==') diff --git a/modules/soc_kia/stamps.py b/modules/soc_kia/stamps.py index 792767490..debe10542 100755 --- a/modules/soc_kia/stamps.py +++ b/modules/soc_kia/stamps.py @@ -12,12 +12,12 @@ def getStamp(): # Set App-ID and App-ID specific key brand = parameters.getParameter('brand') if brand == 'kia': - appid = "a2b8469b-30a3-4361-8e13-6fceea8fbe74" - secret_ba = bytearray.fromhex("C0B4D5C7089D987F027C96015929C70FA13486E934A33762BB2801E212E43395C283300BD43939B04DFA77F6F1E4F14C6D9B") + appid = "1518dd6b-2759-4995-9ae5-c9ad4a9ddad1" + secret_ba = bytearray.fromhex("C0B4D5C7089D987F027C96015929C70FA9D2B2AA99530CFD017E4B243C4BA5C5DED96DEB128EEB5DD3963DFC12432C9073EF") if brand == 'hyundai': - appid = "1eba27d2-9a5b-4eba-8ec7-97eb6c62fb51" - secret_ba = bytearray.fromhex("445B6846AFEF0D726646776865A650C9AEF98E51A474DCB7EC9B1B67D29C66EAAEF621CA02522A0B80A8087F7A3A7BB0F71B") + appid = "014d2225-8495-4735-812d-2616334fd15d" + secret_ba = bytearray.fromhex("445B6846AFEF0D726646776865A650C9F3A8B7B3AB22A195163F7A898D962F7CB21F967FA54BE5521AA60B10F6B7E0FADC3B") # Combine plaintext and convert to bytearray plaintext = appid + ":" + now