SOC: smart EQ
-
- Beiträge: 3778
- Registriert: Di Feb 25, 2020 9:23 am
- Has thanked: 3 times
- Been thanked: 23 times
Re: SOC: smart EQ
Anhand der Beiträge von HArnoldJ würde ich sagen, seine Muttersprache ist nicht deutsch. Teilweise sind sie auch aus dem Zusammenhang gerissen.
In letzter Zeit melden sich auch vermehrt Bots im Forum an...
@HArnoldJ
You may write in english if this is easier for you.
In letzter Zeit melden sich auch vermehrt Bots im Forum an...
@HArnoldJ
You may write in english if this is easier for you.
-
- Beiträge: 954
- Registriert: Mo Nov 02, 2020 9:50 am
- Has thanked: 5 times
- Been thanked: 6 times
Re: SOC: smart EQ
Thanks Lutz!LutzB hat geschrieben: ↑Do Aug 24, 2023 7:11 am Anhand der Beiträge von HArnoldJ würde ich sagen, seine Muttersprache ist nicht deutsch. Teilweise sind sie auch aus dem Zusammenhang gerissen.
In letzter Zeit melden sich auch vermehrt Bots im Forum an...
@HArnoldJ
You may write in english if this is easier for you.
@HArnoldJ
I added an english section at the end of the first entry in this thread on how to post issues.
viewtopic.php?p=76819#p76819
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Re: SOC: smart EQ
Entschuldigt die späte Antwort, habe es gar nicht mitbekommen, das jemand geantwortet hat
Was steht im soc log? Einstellungen System Fehlersuche
Bitte einige Zyklen als Code Block posten </>
Code: Alles auswählen
2023-08-27 01:21:41,201 - {modules.vehicles.smarteq.api:393} - {DEBUG:soc_ev0} - fetch_soc: (re)connecting ...
2023-08-27 01:21:41,203 - {modules.vehicles.smarteq.api:290} - {DEBUG:soc_ev0} - reconnect: refresh_token not found in self.store['Tokens']=""
2023-08-27 01:21:41,212 - {modules.vehicles.smarteq.api:294} - {DEBUG:soc_ev0} - reconnect: new_tokens={
"refresh_token": "",
"access_token": ""
}
2023-08-27 01:21:41,232 - {urllib3.connectionpool:973} - {DEBUG:soc_ev0} - Starting new HTTPS connection (1): id.mercedes-benz.com:443
2023-08-27 01:21:41,523 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /as/authorization.oauth2?client_id=70d89501-938c-4bec-82d0-6abb550b0825&response_type=code&scope=openid+profile+email+phone+ciam-uid+offline_access&redirect_uri=https://oneapp.microservice.smart.mercedes-benz.com&code_challenge=4aYIBkz9HRXKVTSs24Eyz4A9F8L1HIsDLvQ33dYMdtE&code_challenge_method=S256 HTTP/1.1" 302 0
2023-08-27 01:21:41,532 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response:
2023-08-27 01:21:41,663 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /ciam/auth/login?resume=%2Fas%2FQDYoDibuyu%2Fresume%2Fas%2Fauthorization.ping&request_info=eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6ImNNcTl2aFdkWU1kcGRBbjgifQ.vEjwgk3uCo5KOq0JKSsgeQfZYaeBEFrDIKpjFYoEyK6p6K2tR4SbzhVyUS4TUOcZTgnKUaCH1xzhKIt_h8dbc8vyeMFlwDHT.qc2YvuajYDE-k9-kahcwOQ.BWMHk9EPYp0xw_XuyLYBNLkAHVBZxtSeU0secoIkUQ7bLmiqr2fHe8g2HQ_Mpdp48Lhxrq-VaqMKS3dtsi6kuNkF-AMTUlEpwewHRaZYYMZQmIAPhgthYrRic08SLQ3ITsG_nlNOzHm7l2v4YboR1So2luGFAp7ni-kBTYJi4RAAKz5TvI2Y5hahZdk08yqx7Z16emcg4n2YQ
-
- Beiträge: 954
- Registriert: Mo Nov 02, 2020 9:50 am
- Has thanked: 5 times
- Been thanked: 6 times
Re: SOC: smart EQ
Das sieht erst mal normal aus nach einem Neustart.
Bitte den log für EINIGE Zyklen posten.
Evtl. den Kreispfeil im Dashboard einige Male im Abstand von 1-2 Minuten clicken, um mehrere Abruf-Zyklen zu erzeugen.
Bitte den log für EINIGE Zyklen posten.
Evtl. den Kreispfeil im Dashboard einige Male im Abstand von 1-2 Minuten clicken, um mehrere Abruf-Zyklen zu erzeugen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Re: SOC: smart EQ
Ich sehe gerade, das da etwas steht von login falsch. Aber die Zugangsdaten sind absolut identisch zur Smart EQ App. Der Abruf dort funktioniert einwandfrei.
Code: Alles auswählen
2023-08-27 01:01:40,970 - {modules.vehicles.smarteq.api:145} - {DEBUG:soc_ev0} - get_resume: resume = as/tSF228KbJk/resume/as/authorization.ping
2023-08-27 01:01:41,003 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "POST /ciam/auth/login/pass HTTP/1.1" 401 None
2023-08-27 01:01:41,005 - {modules.vehicles.smarteq.api:178} - {ERROR:soc_ev0} - login
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/smarteq/api.py", line 166, in login
response = self.session.post(url, headers=headers, data=data, verify=SSL_VERIFY_AUTH)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: for url: https://id.mercedes-benz.com/ciam/auth/login/pass
2023-08-27 01:01:41,017 - {modules.vehicles.smarteq.api:209} - {ERROR:soc_ev0} - login: Login failed - check username/password
2023-08-27 01:01:41,020 - {modules.vehicles.smarteq.api:403} - {ERROR:soc_ev0} - fetch_soc: (re-)connect failed
2023-08-27 01:01:41,020 - {modules.vehicles.smarteq.api:416} - {INFO:soc_ev0} - SOC/Range: 0%/0.0@n/a, Method: 3-full (re)connect
2023-08-27 01:01:41,021 - {modules.common.store._api:26} - {DEBUG:soc_ev0} - Raw data CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:01:41,033 - {modules.common.store._api:30} - {INFO:soc_ev0} - Saving CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:06:40,778 - {modules.common.component_context:24} - {DEBUG:soc_ev0} - Update Komponente ['SmartEQ']
2023-08-27 01:06:40,789 - {asyncio:59} - {DEBUG:soc_ev0} - Using selector: EpollSelector
2023-08-27 01:06:40,795 - {modules.vehicles.smarteq.api:393} - {DEBUG:soc_ev0} - fetch_soc: (re)connecting ...
2023-08-27 01:06:40,796 - {modules.vehicles.smarteq.api:290} - {DEBUG:soc_ev0} - reconnect: refresh_token not found in self.store['Tokens']=""
2023-08-27 01:06:40,797 - {modules.vehicles.smarteq.api:294} - {DEBUG:soc_ev0} - reconnect: new_tokens={
"refresh_token": "",
"access_token": ""
}
2023-08-27 01:06:40,806 - {urllib3.connectionpool:973} - {DEBUG:soc_ev0} - Starting new HTTPS connection (1): id.mercedes-benz.com:443
2023-08-27 01:06:41,255 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /as/authorization.oauth2?client_id=70d89501-938c-4bec-82d0-6abb550b0825&response_type=code&scope=openid+profile+email+phone+ciam-uid+offline_access&redirect_uri=https://oneapp.microservice.smart.mercedes-benz.com&code_challenge=S9KyArKewG-TEvyhvClCy7bihq_XrWp6DjuSli1iQZY&code_challenge_method=S256 HTTP/1.1" 302 0
2023-08-27 01:06:41,259 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response:
2023-08-27 01:06:41,381 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /ciam/auth/login?resume=%2Fas%2FphplbRLmm0%2Fresume%2Fas%2Fauthorization.ping&request_info=eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6IjVmQWhYMTBUX1FIU01OQmUifQ.D2pNjznct3wq-pNQTnQpHU75Cep4WIH9Ka4ZTAIJcuzRVlsnr--TJYnUMketzHOQ-8gKadClUxY9M-gEXLRMtRNTx-GIVFlb.JMgx6lcbOBq0fIGT5D0lzQ.ZvwWLXzJOcypQdP9dvpUDgGghOjGH91TrmphDeXMsxW89J-SIoOEz9Y-SEVxDkDsWvjYwhn2RVxrVEhO-5Wi80EOsWZrnFrYiF_sn3pXPCcSjhC3xkOvMSamR9ChZ7z7oWweWwJFeqWfFX4AscN18dbd4sXaWfXzaUOGjOv8ob55w_CxVqLRQjDXfo-xPO9Aor8wUlbWPIFv2_iGkRparezI6ojWmWz0gQkIUAEaPpfyHY7-VyWufrbDUNrnB1pB_XZ6baDfZ8nxAXm0x9Y8ZtGG1rxEfX2nA1lYQRU92GgcBxrzZKLedP-yzbl8xrxK08ajlf3lb29WK7AsnK30a7JBPH-_12IipUutIEDfJuIJ1yXK84l8uEA5t0_2agd1TmKXm1QESGpsCZAie8uq1T01h61adipZvyRSTCW8xEjkHjWs8nCHdF5Jymy8ZkugPQQlrHe6BlKlWm4tmABbKucxPHUaMGakwrPipC4vKF4uk0qWxvbfPISq1Z8u2f0D_L8OpxmoEoZV3h3OHj8L5qbdONatB8vKnfBT5uQJmZIwhn6Inc-harzcOzwlfWBZJrnGko3sRV_F3vXYLRudFZ5ONqI-ZS3SOffOXlITJOzkkwYxBvoj2WO0iWaquCL00PJYBQEq23z1NSobWdWerQ2PZ0NOR4H2lc1Q-fLrV687JZVgx9UqRp9rTgG8DNaUyCL1vR87HJ2wPVDlyH-oLskYPUUY-1E6XQq77G8H9jY1jp-909wmto1SD-5zM7EQlflgi6SXtcyvncpQLkPnQZWxQ_nr6lISc4DEM__z9fBtDd-cBA0liUFVJOn_0uIZcy9G-Z9qDXb65IfhSQ6QgGpJ-wunwJQsn_8wR79WuLjIbALEdDSg9pKd5mQG8mqLG7shVNsWrQtmHqdnStFpW3m5UpX0jIbms0FGWXV8zmtqqCO_cUEP29obAduydS3TC6KWYxeDotwCNuf30icfpdavuke9gGkBupdjrJvWlDI.aXaWWRwiqwcIXnLR4BqN_CcTyblc3H5hkhXOdx7l9qY HTTP/1.1" 200 None
2023-08-27 01:06:41,384 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response: <!DOCTYPE html><html lang=en xmlns=http://www.w3.org/1999/xhtml><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ciam/auth/static/favicon.ico><title>Mercedes me</title><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css integrity="sha256-UXesixbeLkB/UYxVTzuj/gg3+LMzgwAmg3zD+C4ZASQ=" crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script><script src=https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js integrity="sha256-CgSoWC9w5wNmI1aN8dIMK+6DPelUEtvDr+Bc2m/0Nx8=" crossorigin=anonymous></script><script>/*<![CDATA[*/
const initialState = "{\"resume\":\"\/as\/phplbRLmm0\/resume\/as\/authorization.ping\",\"country\":\"DE\",\"recaptchaSiteKey\":\"6LcmthsbAAAAAJABgXzZXLHJ3qVv2-Khab0aQM6F\",\"urlPF\":\"https:\/\/id.mercedes-benz.com\",\"isBotCheckActive\":true,\"appName\":\"seqcprod\",\"contextPath\":\"\/ciam\/auth\",\"isRememberMeEnabledByDefault\":false,\"touchpoint\":null,\"isRecaptchaActive\":false,\"isPasswordStrengthMeterEnabled\":false,\"acr\":[\"OTP\",\"PASSWORD\",\"REMEMBER_ME\"],\"deployedStage\":\"PROD\",\"requestInfo\":\"eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6IjVmQWhYMTBUX1FIU01OQmUifQ.D2pNjznct3wq-pNQTnQpHU75Cep4WIH9Ka4ZTAIJcuzRVlsnr--TJYnUMketzHOQ-8gKadClUxY9M-gEXLRMtRNTx-GIVFlb.JMgx6lcbOBq0fIGT5D0lzQ.ZvwWLXzJOcypQdP9dvpUDgGghOjGH91TrmphDeXMsxW89J-SIoOEz9Y-SEVxDkDsWvjYwhn2RVxrVEhO-5Wi80EOsWZrnFrYiF_sn3pXPCcSjhC3xkOvMSamR9ChZ7z7oWweWwJFeqWfFX4AscN18dbd4sXaWfXzaUOGjOv8ob55w_CxVqLRQjDXfo-xPO9Aor8wUlbWPIFv2_iGkRparezI6ojWmWz0gQkIUAEaPpfyHY7-VyWufrbDUNrnB1pB_XZ6baDfZ8nxAXm0x9Y8ZtGG1rxEfX2nA1lYQRU92GgcBxrzZKLedP-yzbl8xrxK08ajlf3lb29WK7AsnK30a7JBPH-_12IipUutIEDfJuIJ1yXK84l8uEA5t0_2agd1TmKXm1QESGpsCZAie8uq1T01h61adipZvyRSTCW8xEjkHjWs8nCHdF5Jymy8ZkugPQQlrHe6BlKlWm4tmABbKucxPHUaMGakwrPipC4vKF4uk0qWxvbfPISq1Z8u2f0D_L8OpxmoEoZV3h3OHj8L5qbdONatB8vKnfBT5uQJmZIwhn6Inc-harzcOzwlfWBZJrnGko3sRV_F3vXYLRudFZ5ONqI-ZS3SOffOXlITJOzkkwYxBvoj2WO0iWaquCL00PJYBQEq23z1NSobWdWerQ2PZ0NOR4H2lc1Q-fLrV687JZVgx9UqRp9rTgG8DNaUyCL1vR87HJ2wPVDlyH-oLskYPUUY-1E6XQq77G8H9jY1jp-909wmto1SD-5zM7EQlflgi6SXtcyvncpQLkPnQZWxQ_nr6lISc4DEM__z9fBtDd-cBA0liUFVJOn_0uIZcy9G-Z9qDXb65IfhSQ6QgGpJ-wunwJQsn_8wR79WuLjIbALEdDSg9pKd5mQG8mqLG7shVNsWrQtmHqdnStFpW3m5UpX0jIbms0FGWXV8zmtqqCO_cUEP29obAduydS3TC6KWYxeDotwCNuf30icfpdavuke9gGkBupdjrJvWlDI.aXaWWRwiqwcIXnLR4BqN_CcTyblc3H5hkhXOdx7l9qY\",\"lang\":\"de\",\"brand\":\"smart\",\"hideRegistration\":false}"// SPA initialization data
const landingPage = null// page to load on init
const landingPageParams = null
const landingErrors = null// errors to display on init
const autoResume = null// return to PF on init if true
const contextPath = "\/ciam\/auth"
const brand = "smart"
const pageTitle = null
const showError = null
const errorLang = null
const errorSummary = null
const errorStatus = null
const errorRequestId = null
const errorShowBack = null
/*]]>*/</script><link href=/ciam/auth/static/js/app.45a40028.js rel=preload as=script><link href=/ciam/auth/static/js/chunk-vendors.925d933d.js rel=preload as=script></head><body><noscript><strong>We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/ciam/auth/static/js/chunk-vendors.925d933d.js></script><script src=/ciam/auth/static/js/app.45a40028.js></script></body></html>
2023-08-27 01:06:41,391 - {modules.vehicles.smarteq.api:138} - {DEBUG:soc_ev0} - get_resume: cd.CData= /*<![CDATA[*/
const initialState = "{\"resume\":\"\/as\/phplbRLmm0\/resume\/as\/authorization.ping\",\"country\":\"DE\",\"recaptchaSiteKey\":\"6LcmthsbAAAAAJABgXzZXLHJ3qVv2-Khab0aQM6F\",\"urlPF\":\"https:\/\/id.mercedes-benz.com\",\"isBotCheckActive\":true,\"appName\":\"seqcprod\",\"contextPath\":\"\/ciam\/auth\",\"isRememberMeEnabledByDefault\":false,\"touchpoint\":null,\"isRecaptchaActive\":false,\"isPasswordStrengthMeterEnabled\":false,\"acr\":[\"OTP\",\"PASSWORD\",\"REMEMBER_ME\"],\"deployedStage\":\"PROD\",\"requestInfo\":\"eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6IjVmQWhYMTBUX1FIU01OQmUifQ.D2pNjznct3wq-pNQTnQpHU75Cep4WIH9Ka4ZTAIJcuzRVlsnr--TJYnUMketzHOQ-8gKadClUxY9M-gEXLRMtRNTx-GIVFlb.JMgx6lcbOBq0fIGT5D0lzQ.ZvwWLXzJOcypQdP9dvpUDgGghOjGH91TrmphDeXMsxW89J-SIoOEz9Y-SEVxDkDsWvjYwhn2RVxrVEhO-5Wi80EOsWZrnFrYiF_sn3pXPCcSjhC3xkOvMSamR9ChZ7z7oWweWwJFeqWfFX4AscN18dbd4sXaWfXzaUOGjOv8ob55w_CxVqLRQjDXfo-xPO9Aor8wUlbWPIFv2_iGkRparezI6ojWmWz0gQkIUAEaPpfyHY7-VyWufrbDUNrnB1pB_XZ6baDfZ8nxAXm0x9Y8ZtGG1rxEfX2nA1lYQRU92GgcBxrzZKLedP-yzbl8xrxK08ajlf3lb29WK7AsnK30a7JBPH-_12IipUutIEDfJuIJ1yXK84l8uEA5t0_2agd1TmKXm1QESGpsCZAie8uq1T01h61adipZvyRSTCW8xEjkHjWs8nCHdF5Jymy8ZkugPQQlrHe6BlKlWm4tmABbKucxPHUaMGakwrPipC4vKF4uk0qWxvbfPISq1Z8u2f0D_L8OpxmoEoZV3h3OHj8L5qbdONatB8vKnfBT5uQJmZIwhn6Inc-harzcOzwlfWBZJrnGko3sRV_F3vXYLRudFZ5ONqI-ZS3SOffOXlITJOzkkwYxBvoj2WO0iWaquCL00PJYBQEq23z1NSobWdWerQ2PZ0NOR4H2lc1Q-fLrV687JZVgx9UqRp9rTgG8DNaUyCL1vR87HJ2wPVDlyH-oLskYPUUY-1E6XQq77G8H9jY1jp-909wmto1SD-5zM7EQlflgi6SXtcyvncpQLkPnQZWxQ_nr6lISc4DEM__z9fBtDd-cBA0liUFVJOn_0uIZcy9G-Z9qDXb65IfhSQ6QgGpJ-wunwJQsn_8wR79WuLjIbALEdDSg9pKd5mQG8mqLG7shVNsWrQtmHqdnStFpW3m5UpX0jIbms0FGWXV8zmtqqCO_cUEP29obAduydS3TC6KWYxeDotwCNuf30icfpdavuke9gGkBupdjrJvWlDI.aXaWWRwiqwcIXnLR4BqN_CcTyblc3H5hkhXOdx7l9qY\",\"lang\":\"de\",\"brand\":\"smart\",\"hideRegistration\":false}"// SPA initialization data
const landingPage = null// page to load on init
const landingPageParams = null
const landingErrors = null// errors to display on init
const autoResume = null// return to PF on init if true
const contextPath = "\/ciam\/auth"
const brand = "smart"
const pageTitle = null
const showError = null
const errorLang = null
const errorSummary = null
const errorStatus = null
const errorRequestId = null
const errorShowBack = null
/*]]>*/
2023-08-27 01:06:41,391 - {modules.vehicles.smarteq.api:145} - {DEBUG:soc_ev0} - get_resume: resume = as/phplbRLmm0/resume/as/authorization.ping
2023-08-27 01:06:41,418 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "POST /ciam/auth/login/pass HTTP/1.1" 401 None
2023-08-27 01:06:41,420 - {modules.vehicles.smarteq.api:178} - {ERROR:soc_ev0} - login
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/smarteq/api.py", line 166, in login
response = self.session.post(url, headers=headers, data=data, verify=SSL_VERIFY_AUTH)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: for url: https://id.mercedes-benz.com/ciam/auth/login/pass
2023-08-27 01:06:41,426 - {modules.vehicles.smarteq.api:209} - {ERROR:soc_ev0} - login: Login failed - check username/password
2023-08-27 01:06:41,429 - {modules.vehicles.smarteq.api:403} - {ERROR:soc_ev0} - fetch_soc: (re-)connect failed
2023-08-27 01:06:41,430 - {modules.vehicles.smarteq.api:416} - {INFO:soc_ev0} - SOC/Range: 0%/0.0@n/a, Method: 3-full (re)connect
2023-08-27 01:06:41,430 - {modules.common.store._api:26} - {DEBUG:soc_ev0} - Raw data CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:06:41,445 - {modules.common.store._api:30} - {INFO:soc_ev0} - Saving CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:11:41,334 - {modules.common.component_context:24} - {DEBUG:soc_ev0} - Update Komponente ['SmartEQ']
2023-08-27 01:11:41,362 - {asyncio:59} - {DEBUG:soc_ev0} - Using selector: EpollSelector
2023-08-27 01:11:41,371 - {modules.vehicles.smarteq.api:393} - {DEBUG:soc_ev0} - fetch_soc: (re)connecting ...
2023-08-27 01:11:41,372 - {modules.vehicles.smarteq.api:290} - {DEBUG:soc_ev0} - reconnect: refresh_token not found in self.store['Tokens']=""
2023-08-27 01:11:41,373 - {modules.vehicles.smarteq.api:294} - {DEBUG:soc_ev0} - reconnect: new_tokens={
"refresh_token": "",
"access_token": ""
}
2023-08-27 01:11:41,395 - {urllib3.connectionpool:973} - {DEBUG:soc_ev0} - Starting new HTTPS connection (1): id.mercedes-benz.com:443
2023-08-27 01:11:41,855 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /as/authorization.oauth2?client_id=70d89501-938c-4bec-82d0-6abb550b0825&response_type=code&scope=openid+profile+email+phone+ciam-uid+offline_access&redirect_uri=https://oneapp.microservice.smart.mercedes-benz.com&code_challenge=TSmln0_rsR-r73Uf_2IErGADMnl-OihXm5HAGZDhusM&code_challenge_method=S256 HTTP/1.1" 302 0
2023-08-27 01:11:41,858 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response:
2023-08-27 01:11:41,973 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /ciam/auth/login?resume=%2Fas%2FZzxESm5RNk%2Fresume%2Fas%2Fauthorization.ping&request_info=eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6InFXRDBhV2FtdnBzSVJxb20ifQ.TKZoonnTZVjaBKYSXsiYUTCaX_o2cWgtY-EPlSI7VYDJeNW0V9KjoBsPlYOUHinmsfuA_tXG3NmEIi5i0IMODKH7eYe7_9Ys.YpREAYcPeGJakRUck43k3g.SiGR7ZeGe7_Eef4aOuLWo8fdL4UHXHfy69BAnGchjMdq06cjgJE54gH9y7a-Kq2UqV4pv5aLL1MpB1QtfLqsmYstkUcGQhgfdciutaMy8iwkfnLXR5irYKhnUrGyUYCXzHiKp_AcHwPaFMhFpIaV6v4BL8ZEd_sU4OOjduzPC6Webe0CklIUdCMzERpdUow1EoxwT2ZJ1Bq8BAlHlxV-RPBgccmirxg94Bu0UiVky2f83yseIi77uld79CcQIj8x3IGuWWjWkYKzq4tuhumywaXEq53MjHAGLBqhadbvKptG9MPCq9wA6pXgq42uO5T_bmdy5Lq3KIRQ_SNg8dK8__Nc-XluML_gjCMAvEAqUe-VZg1cf2Nrjlg8otPyGdTflk5eoJa_h9EHpedKaTuo700w5WDIqrkU0thflwWB_Wgv53lH7_MyTsohXgjE87xPewLHdGPTfhTxyipz5iyMSScCT4ti0bVcTCnNj5_My1oUr-Owybhq2KUa701eTcscg53Q4SJr52cLkBo4kCw6i1jg9rWR0BToRZbUnKjSyFNM0QECunAL5C6ZLKwdWT16Il-ctFqrQpPz0mgAEQ96U9eO24Sdg_F3uaCWJJiw1jRobHaCfHBiNta6AUvzQVQqgy2f-VX3bo4V4AuTkwUFd3FvxbVso_hHj-W5cSWuB-4wXczIO5XGLH4-MJDCschnYlq2ahKkokLc8-7kIxaexWVJjzGTY9n7g9x-fTVLOaW6K8NTTJsyHLEAEoBYDwfPCSJBLzai96kE_8retK38DuxkOcxj7ooq5FgTGu48XlTLnaFsWxrgDJuacSpcEXfzoAk3UL_Kn7T9eTqDFYQI3YkZ6EjJuPdtNXohbZ-Cd6Mga24fvZcU-8SS13chc3xAeSnWv4OT-1VvcvAUSuImh3eS_VupH1kSKD1Dg6xEih7wQHsQDFuG9fPcz_u1Ui3007pwVU4-vHTLd3bQWQ98gUXjahjprnNcJ1kgLdWbt2w.dr-TAyUC4o7uGjBf9KmEM6Fj3JuL-MyTjbWelKkmYUU HTTP/1.1" 200 None
2023-08-27 01:11:41,976 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response: <!DOCTYPE html><html lang=en xmlns=http://www.w3.org/1999/xhtml><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ciam/auth/static/favicon.ico><title>Mercedes me</title><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css integrity="sha256-UXesixbeLkB/UYxVTzuj/gg3+LMzgwAmg3zD+C4ZASQ=" crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script><script src=https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js integrity="sha256-CgSoWC9w5wNmI1aN8dIMK+6DPelUEtvDr+Bc2m/0Nx8=" crossorigin=anonymous></script><script>/*<![CDATA[*/
const initialState = "{\"resume\":\"\/as\/ZzxESm5RNk\/resume\/as\/authorization.ping\",\"country\":\"DE\",\"recaptchaSiteKey\":\"6LcmthsbAAAAAJABgXzZXLHJ3qVv2-Khab0aQM6F\",\"urlPF\":\"https:\/\/id.mercedes-benz.com\",\"isBotCheckActive\":true,\"appName\":\"seqcprod\",\"contextPath\":\"\/ciam\/auth\",\"isRememberMeEnabledByDefault\":false,\"touchpoint\":null,\"isRecaptchaActive\":false,\"isPasswordStrengthMeterEnabled\":false,\"acr\":[\"OTP\",\"PASSWORD\",\"REMEMBER_ME\"],\"deployedStage\":\"PROD\",\"requestInfo\":\"eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6InFXRDBhV2FtdnBzSVJxb20ifQ.TKZoonnTZVjaBKYSXsiYUTCaX_o2cWgtY-EPlSI7VYDJeNW0V9KjoBsPlYOUHinmsfuA_tXG3NmEIi5i0IMODKH7eYe7_9Ys.YpREAYcPeGJakRUck43k3g.SiGR7ZeGe7_Eef4aOuLWo8fdL4UHXHfy69BAnGchjMdq06cjgJE54gH9y7a-Kq2UqV4pv5aLL1MpB1QtfLqsmYstkUcGQhgfdciutaMy8iwkfnLXR5irYKhnUrGyUYCXzHiKp_AcHwPaFMhFpIaV6v4BL8ZEd_sU4OOjduzPC6Webe0CklIUdCMzERpdUow1EoxwT2ZJ1Bq8BAlHlxV-RPBgccmirxg94Bu0UiVky2f83yseIi77uld79CcQIj8x3IGuWWjWkYKzq4tuhumywaXEq53MjHAGLBqhadbvKptG9MPCq9wA6pXgq42uO5T_bmdy5Lq3KIRQ_SNg8dK8__Nc-XluML_gjCMAvEAqUe-VZg1cf2Nrjlg8otPyGdTflk5eoJa_h9EHpedKaTuo700w5WDIqrkU0thflwWB_Wgv53lH7_MyTsohXgjE87xPewLHdGPTfhTxyipz5iyMSScCT4ti0bVcTCnNj5_My1oUr-Owybhq2KUa701eTcscg53Q4SJr52cLkBo4kCw6i1jg9rWR0BToRZbUnKjSyFNM0QECunAL5C6ZLKwdWT16Il-ctFqrQpPz0mgAEQ96U9eO24Sdg_F3uaCWJJiw1jRobHaCfHBiNta6AUvzQVQqgy2f-VX3bo4V4AuTkwUFd3FvxbVso_hHj-W5cSWuB-4wXczIO5XGLH4-MJDCschnYlq2ahKkokLc8-7kIxaexWVJjzGTY9n7g9x-fTVLOaW6K8NTTJsyHLEAEoBYDwfPCSJBLzai96kE_8retK38DuxkOcxj7ooq5FgTGu48XlTLnaFsWxrgDJuacSpcEXfzoAk3UL_Kn7T9eTqDFYQI3YkZ6EjJuPdtNXohbZ-Cd6Mga24fvZcU-8SS13chc3xAeSnWv4OT-1VvcvAUSuImh3eS_VupH1kSKD1Dg6xEih7wQHsQDFuG9fPcz_u1Ui3007pwVU4-vHTLd3bQWQ98gUXjahjprnNcJ1kgLdWbt2w.dr-TAyUC4o7uGjBf9KmEM6Fj3JuL-MyTjbWelKkmYUU\",\"lang\":\"de\",\"brand\":\"smart\",\"hideRegistration\":false}"// SPA initialization data
const landingPage = null// page to load on init
const landingPageParams = null
const landingErrors = null// errors to display on init
const autoResume = null// return to PF on init if true
const contextPath = "\/ciam\/auth"
const brand = "smart"
const pageTitle = null
const showError = null
const errorLang = null
const errorSummary = null
const errorStatus = null
const errorRequestId = null
const errorShowBack = null
/*]]>*/</script><link href=/ciam/auth/static/js/app.45a40028.js rel=preload as=script><link href=/ciam/auth/static/js/chunk-vendors.925d933d.js rel=preload as=script></head><body><noscript><strong>We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/ciam/auth/static/js/chunk-vendors.925d933d.js></script><script src=/ciam/auth/static/js/app.45a40028.js></script></body></html>
2023-08-27 01:11:41,985 - {modules.vehicles.smarteq.api:138} - {DEBUG:soc_ev0} - get_resume: cd.CData= /*<![CDATA[*/
const initialState = "{\"resume\":\"\/as\/ZzxESm5RNk\/resume\/as\/authorization.ping\",\"country\":\"DE\",\"recaptchaSiteKey\":\"6LcmthsbAAAAAJABgXzZXLHJ3qVv2-Khab0aQM6F\",\"urlPF\":\"https:\/\/id.mercedes-benz.com\",\"isBotCheckActive\":true,\"appName\":\"seqcprod\",\"contextPath\":\"\/ciam\/auth\",\"isRememberMeEnabledByDefault\":false,\"touchpoint\":null,\"isRecaptchaActive\":false,\"isPasswordStrengthMeterEnabled\":false,\"acr\":[\"OTP\",\"PASSWORD\",\"REMEMBER_ME\"],\"deployedStage\":\"PROD\",\"requestInfo\":\"eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6InFXRDBhV2FtdnBzSVJxb20ifQ.TKZoonnTZVjaBKYSXsiYUTCaX_o2cWgtY-EPlSI7VYDJeNW0V9KjoBsPlYOUHinmsfuA_tXG3NmEIi5i0IMODKH7eYe7_9Ys.YpREAYcPeGJakRUck43k3g.SiGR7ZeGe7_Eef4aOuLWo8fdL4UHXHfy69BAnGchjMdq06cjgJE54gH9y7a-Kq2UqV4pv5aLL1MpB1QtfLqsmYstkUcGQhgfdciutaMy8iwkfnLXR5irYKhnUrGyUYCXzHiKp_AcHwPaFMhFpIaV6v4BL8ZEd_sU4OOjduzPC6Webe0CklIUdCMzERpdUow1EoxwT2ZJ1Bq8BAlHlxV-RPBgccmirxg94Bu0UiVky2f83yseIi77uld79CcQIj8x3IGuWWjWkYKzq4tuhumywaXEq53MjHAGLBqhadbvKptG9MPCq9wA6pXgq42uO5T_bmdy5Lq3KIRQ_SNg8dK8__Nc-XluML_gjCMAvEAqUe-VZg1cf2Nrjlg8otPyGdTflk5eoJa_h9EHpedKaTuo700w5WDIqrkU0thflwWB_Wgv53lH7_MyTsohXgjE87xPewLHdGPTfhTxyipz5iyMSScCT4ti0bVcTCnNj5_My1oUr-Owybhq2KUa701eTcscg53Q4SJr52cLkBo4kCw6i1jg9rWR0BToRZbUnKjSyFNM0QECunAL5C6ZLKwdWT16Il-ctFqrQpPz0mgAEQ96U9eO24Sdg_F3uaCWJJiw1jRobHaCfHBiNta6AUvzQVQqgy2f-VX3bo4V4AuTkwUFd3FvxbVso_hHj-W5cSWuB-4wXczIO5XGLH4-MJDCschnYlq2ahKkokLc8-7kIxaexWVJjzGTY9n7g9x-fTVLOaW6K8NTTJsyHLEAEoBYDwfPCSJBLzai96kE_8retK38DuxkOcxj7ooq5FgTGu48XlTLnaFsWxrgDJuacSpcEXfzoAk3UL_Kn7T9eTqDFYQI3YkZ6EjJuPdtNXohbZ-Cd6Mga24fvZcU-8SS13chc3xAeSnWv4OT-1VvcvAUSuImh3eS_VupH1kSKD1Dg6xEih7wQHsQDFuG9fPcz_u1Ui3007pwVU4-vHTLd3bQWQ98gUXjahjprnNcJ1kgLdWbt2w.dr-TAyUC4o7uGjBf9KmEM6Fj3JuL-MyTjbWelKkmYUU\",\"lang\":\"de\",\"brand\":\"smart\",\"hideRegistration\":false}"// SPA initialization data
const landingPage = null// page to load on init
const landingPageParams = null
const landingErrors = null// errors to display on init
const autoResume = null// return to PF on init if true
const contextPath = "\/ciam\/auth"
const brand = "smart"
const pageTitle = null
const showError = null
const errorLang = null
const errorSummary = null
const errorStatus = null
const errorRequestId = null
const errorShowBack = null
/*]]>*/
2023-08-27 01:11:41,986 - {modules.vehicles.smarteq.api:145} - {DEBUG:soc_ev0} - get_resume: resume = as/ZzxESm5RNk/resume/as/authorization.ping
2023-08-27 01:11:42,013 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "POST /ciam/auth/login/pass HTTP/1.1" 401 None
2023-08-27 01:11:42,015 - {modules.vehicles.smarteq.api:178} - {ERROR:soc_ev0} - login
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/smarteq/api.py", line 166, in login
response = self.session.post(url, headers=headers, data=data, verify=SSL_VERIFY_AUTH)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: for url: https://id.mercedes-benz.com/ciam/auth/login/pass
2023-08-27 01:11:42,022 - {modules.vehicles.smarteq.api:209} - {ERROR:soc_ev0} - login: Login failed - check username/password
2023-08-27 01:11:42,026 - {modules.vehicles.smarteq.api:403} - {ERROR:soc_ev0} - fetch_soc: (re-)connect failed
2023-08-27 01:11:42,026 - {modules.vehicles.smarteq.api:416} - {INFO:soc_ev0} - SOC/Range: 0%/0.0@n/a, Method: 3-full (re)connect
2023-08-27 01:11:42,027 - {modules.common.store._api:26} - {DEBUG:soc_ev0} - Raw data CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:11:42,042 - {modules.common.store._api:30} - {INFO:soc_ev0} - Saving CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:16:41,206 - {modules.common.component_context:24} - {DEBUG:soc_ev0} - Update Komponente ['SmartEQ']
2023-08-27 01:16:41,212 - {asyncio:59} - {DEBUG:soc_ev0} - Using selector: EpollSelector
2023-08-27 01:16:41,225 - {modules.vehicles.smarteq.api:393} - {DEBUG:soc_ev0} - fetch_soc: (re)connecting ...
2023-08-27 01:16:41,230 - {modules.vehicles.smarteq.api:290} - {DEBUG:soc_ev0} - reconnect: refresh_token not found in self.store['Tokens']=""
2023-08-27 01:16:41,231 - {modules.vehicles.smarteq.api:294} - {DEBUG:soc_ev0} - reconnect: new_tokens={
"refresh_token": "",
"access_token": ""
}
2023-08-27 01:16:41,247 - {urllib3.connectionpool:973} - {DEBUG:soc_ev0} - Starting new HTTPS connection (1): id.mercedes-benz.com:443
2023-08-27 01:16:41,494 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /as/authorization.oauth2?client_id=70d89501-938c-4bec-82d0-6abb550b0825&response_type=code&scope=openid+profile+email+phone+ciam-uid+offline_access&redirect_uri=https://oneapp.microservice.smart.mercedes-benz.com&code_challenge=rRgqtUP0nsKD0jSTi8S6wW6eM7QdiBybMrjxULYNav4&code_challenge_method=S256 HTTP/1.1" 302 0
2023-08-27 01:16:41,498 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response:
2023-08-27 01:16:41,611 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /ciam/auth/login?resume=%2Fas%2FJUYBK8n44D%2Fresume%2Fas%2Fauthorization.ping&request_info=eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eS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92pJ-tNs7NRx7euLMndMEpfn_J4pY1b9gHDK6A6Ii8Ru6Vy4mXKp_bFI6h0Atmnow5_Ss9Y_ZcVecaC-ih3RAf9t90U._dtaEAgt0XUJ0KRrj_XtupOIEqIyceWY2T7-6J2x-ds HTTP/1.1" 200 None
2023-08-27 01:16:41,614 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response: <!DOCTYPE html><html lang=en xmlns=http://www.w3.org/1999/xhtml><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ciam/auth/static/favicon.ico><title>Mercedes me</title><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css integrity="sha256-UXesixbeLkB/UYxVTzuj/gg3+LMzgwAmg3zD+C4ZASQ=" crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin=anonymous></script><script src=https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js integrity="sha256-CgSoWC9w5wNmI1aN8dIMK+6DPelUEtvDr+Bc2m/0Nx8=" crossorigin=anonymous></script><script>/*<![CDATA[*/
const initialState = "{\"resume\":\"\/as\/JUYBK8n44D\/resume\/as\/authorization.ping\",\"country\":\"DE\",\"recaptchaSiteKey\":\"6LcmthsbAAAAAJABgXzZXLHJ3qVv2-Khab0aQM6F\",\"urlPF\":\"https:\/\/id.mercedes-benz.com\",\"isBotCheckActive\":true,\"appName\":\"seqcprod\",\"contextPath\":\"\/ciam\/auth\",\"isRememberMeEnabledByDefault\":false,\"touchpoint\":null,\"isRecaptchaActive\":false,\"isPasswordStrengthMeterEnabled\":false,\"acr\":[\"OTP\",\"PASSWORD\",\"REMEMBER_ME\"],\"deployedStage\":\"PROD\",\"requestInfo\":\"eyJlbmMiOiJBMjU2Q0JDLUhTN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VqeImkRIN5aieP7EG89fX-Enonz_HCNmuisDjEQuP91roP7TAKY37Pf3eWcTCBYZtToMMy57SKScNtfFSHiNSBrJ92pJ-tNs7NRx7euLMndMEpfn_J4pY1b9gHDK6A6Ii8Ru6Vy4mXKp_bFI6h0Atmnow5_Ss9Y_ZcVecaC-ih3RAf9t90U._dtaEAgt0XUJ0KRrj_XtupOIEqIyceWY2T7-6J2x-ds\",\"lang\":\"de\",\"brand\":\"smart\",\"hideRegistration\":false}"// SPA initialization data
const landingPage = null// page to load on init
const landingPageParams = null
const landingErrors = null// errors to display on init
const autoResume = null// return to PF on init if true
const contextPath = "\/ciam\/auth"
const brand = "smart"
const pageTitle = null
const showError = null
const errorLang = null
const errorSummary = null
const errorStatus = null
const errorRequestId = null
const errorShowBack = null
/*]]>*/</script><link href=/ciam/auth/static/js/app.45a40028.js rel=preload as=script><link href=/ciam/auth/static/js/chunk-vendors.925d933d.js rel=preload as=script></head><body><noscript><strong>We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/ciam/auth/static/js/chunk-vendors.925d933d.js></script><script src=/ciam/auth/static/js/app.45a40028.js></script></body></html>
2023-08-27 01:16:41,621 - {modules.vehicles.smarteq.api:138} - {DEBUG:soc_ev0} - get_resume: cd.CData= /*<![CDATA[*/
const initialState = "{\"resume\":\"\/as\/JUYBK8n44D\/resume\/as\/authorization.ping\",\"country\":\"DE\",\"recaptchaSiteKey\":\"6LcmthsbAAAAAJABgXzZXLHJ3qVv2-Khab0aQM6F\",\"urlPF\":\"https:\/\/id.mercedes-benz.com\",\"isBotCheckActive\":true,\"appName\":\"seqcprod\",\"contextPath\":\"\/ciam\/auth\",\"isRememberMeEnabledByDefault\":false,\"touchpoint\":null,\"isRecaptchaActive\":false,\"isPasswordStrengthMeterEnabled\":false,\"acr\":[\"OTP\",\"PASSWORD\",\"REMEMBER_ME\"],\"deployedStage\":\"PROD\",\"requestInfo\":\"eyJlbmMiOiJBMjU2Q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abW0sHHfPVqeImkRIN5aieP7EG89fX-Enonz_HCNmuisDjEQuP91roP7TAKY37Pf3eWcTCBYZtToMMy57SKScNtfFSHiNSBrJ92pJ-tNs7NRx7euLMndMEpfn_J4pY1b9gHDK6A6Ii8Ru6Vy4mXKp_bFI6h0Atmnow5_Ss9Y_ZcVecaC-ih3RAf9t90U._dtaEAgt0XUJ0KRrj_XtupOIEqIyceWY2T7-6J2x-ds\",\"lang\":\"de\",\"brand\":\"smart\",\"hideRegistration\":false}"// SPA initialization data
const landingPage = null// page to load on init
const landingPageParams = null
const landingErrors = null// errors to display on init
const autoResume = null// return to PF on init if true
const contextPath = "\/ciam\/auth"
const brand = "smart"
const pageTitle = null
const showError = null
const errorLang = null
const errorSummary = null
const errorStatus = null
const errorRequestId = null
const errorShowBack = null
/*]]>*/
2023-08-27 01:16:41,622 - {modules.vehicles.smarteq.api:145} - {DEBUG:soc_ev0} - get_resume: resume = as/JUYBK8n44D/resume/as/authorization.ping
2023-08-27 01:16:41,647 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "POST /ciam/auth/login/pass HTTP/1.1" 401 None
2023-08-27 01:16:41,649 - {modules.vehicles.smarteq.api:178} - {ERROR:soc_ev0} - login
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/smarteq/api.py", line 166, in login
response = self.session.post(url, headers=headers, data=data, verify=SSL_VERIFY_AUTH)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: for url: https://id.mercedes-benz.com/ciam/auth/login/pass
2023-08-27 01:16:41,656 - {modules.vehicles.smarteq.api:209} - {ERROR:soc_ev0} - login: Login failed - check username/password
2023-08-27 01:16:41,659 - {modules.vehicles.smarteq.api:403} - {ERROR:soc_ev0} - fetch_soc: (re-)connect failed
2023-08-27 01:16:41,660 - {modules.vehicles.smarteq.api:416} - {INFO:soc_ev0} - SOC/Range: 0%/0.0@n/a, Method: 3-full (re)connect
2023-08-27 01:16:41,660 - {modules.common.store._api:26} - {DEBUG:soc_ev0} - Raw data CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:16:41,674 - {modules.common.store._api:30} - {INFO:soc_ev0} - Saving CarState(soc=0, range=0.0, soc_timestamp=)
2023-08-27 01:21:41,183 - {modules.common.component_context:24} - {DEBUG:soc_ev0} - Update Komponente ['SmartEQ']
2023-08-27 01:21:41,195 - {asyncio:59} - {DEBUG:soc_ev0} - Using selector: EpollSelector
2023-08-27 01:21:41,201 - {modules.vehicles.smarteq.api:393} - {DEBUG:soc_ev0} - fetch_soc: (re)connecting ...
2023-08-27 01:21:41,203 - {modules.vehicles.smarteq.api:290} - {DEBUG:soc_ev0} - reconnect: refresh_token not found in self.store['Tokens']=""
2023-08-27 01:21:41,212 - {modules.vehicles.smarteq.api:294} - {DEBUG:soc_ev0} - reconnect: new_tokens={
"refresh_token": "",
"access_token": ""
}
2023-08-27 01:21:41,232 - {urllib3.connectionpool:973} - {DEBUG:soc_ev0} - Starting new HTTPS connection (1): id.mercedes-benz.com:443
2023-08-27 01:21:41,523 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /as/authorization.oauth2?client_id=70d89501-938c-4bec-82d0-6abb550b0825&response_type=code&scope=openid+profile+email+phone+ciam-uid+offline_access&redirect_uri=https://oneapp.microservice.smart.mercedes-benz.com&code_challenge=4aYIBkz9HRXKVTSs24Eyz4A9F8L1HIsDLvQ33dYMdtE&code_challenge_method=S256 HTTP/1.1" 302 0
2023-08-27 01:21:41,532 - {modules.common.req:11} - {DEBUG:soc_ev0} - Get-Response:
2023-08-27 01:21:41,663 - {urllib3.connectionpool:452} - {DEBUG:soc_ev0} - https://id.mercedes-benz.com:443 "GET /ciam/auth/login?resume=%2Fas%2FQDYoDibuyu%2Fresume%2Fas%2Fauthorization.ping&request_info=eyJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiRklSU1RfRU5DUllQVElPTl9JRCIsImFsZyI6IlBCRVMyLUhTNTEyK0EyNTZLVyIsImN0eSI6IkpXVCIsInAyYyI6NjU1MzYsInAycyI6ImNNcTl2aFdkWU1kcGRBbjgifQ.vEjwgk3uCo5KOq0JKSsgeQfZYaeBEFrDIKpjFYoEyK6p6K2tR4SbzhVyUS4TUOcZTgnKUaCH1xzhKIt_h8dbc8vyeMFlwDHT.qc2YvuajYDE-k9-kahcwOQ.BWMHk9EPYp0xw_XuyLYBNLkAHVBZxtSeU0secoIkUQ7bLmiqr2fHe8g2HQ_Mpdp48Lhxrq-VaqMKS3dtsi6kuNkF-AMTUlEpwewHRaZYYMZQmIAPhgthYrRic08SLQ3ITsG_nlNOzHm7l2v4YboR1So2luGFAp7ni-kBTYJi4RAAKz5TvI2Y5hahZdk08yqx7Z16emcg4n2YQ
-
- Beiträge: 954
- Registriert: Mo Nov 02, 2020 9:50 am
- Has thanked: 5 times
- Been thanked: 6 times
Re: SOC: smart EQ
Sieht nach falschem User oder Password aus.
Evtl Gross/Kleinschreibung prüfen.
Wenn Du nicht weiter kommst, kannst Du mir User, Passwort und Vin per PN schicken, dann kann ich das testen.
Passwort vorher evtl. ändern..
BTW, ich habe für den soc Abruf in MercedesMe einen eigenen Mitbenutzer angelegt.
Damit kommen sich openwb und App nicht in die Quere.
Mit demselben User musste ich in der App hin und wieder das Passwort neu eingeben mit 2FA, ...
Evtl Gross/Kleinschreibung prüfen.
Wenn Du nicht weiter kommst, kannst Du mir User, Passwort und Vin per PN schicken, dann kann ich das testen.
Passwort vorher evtl. ändern..
BTW, ich habe für den soc Abruf in MercedesMe einen eigenen Mitbenutzer angelegt.
Damit kommen sich openwb und App nicht in die Quere.
Mit demselben User musste ich in der App hin und wieder das Passwort neu eingeben mit 2FA, ...
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Re: SOC: smart EQ
Danke für das Angebot, aber aus welchem Grund auch immer ...
Nach dem Einloggen über den PC in MercedesMe hat der Abruf in der OpenWB auf einmal funktioniert. Dachte, ich hätte einen Zahlendreher in der VIN oder irgendwas, aber es hat alles gestimmt. Plötzlich geht's, keiner weiß warum, und ich habe wie oft das Fahrzeug neu angelegt usw...
Nach dem Einloggen über den PC in MercedesMe hat der Abruf in der OpenWB auf einmal funktioniert. Dachte, ich hätte einen Zahlendreher in der VIN oder irgendwas, aber es hat alles gestimmt. Plötzlich geht's, keiner weiß warum, und ich habe wie oft das Fahrzeug neu angelegt usw...
-
- Beiträge: 954
- Registriert: Mo Nov 02, 2020 9:50 am
- Has thanked: 5 times
- Been thanked: 6 times
Re: SOC: smart EQ
Ok das Verhalten ist mir neu, danke für den Hinweis.
Ich werde das im 1. Beitrag ergänzen.
Ich werde das im 1. Beitrag ergänzen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Re: SOC: smart EQ
Ich bekomme seit ein paar Tagen diese Meldung (aus dem Nichts)
Hat das schonmal jemand gehabt?
Code: Alles auswählen
Modulmeldung:
<class 'UnboundLocalError'> local variable 'code' referenced before assignment
-
- Beiträge: 954
- Registriert: Mo Nov 02, 2020 9:50 am
- Has thanked: 5 times
- Been thanked: 6 times
Re: SOC: smart EQ
Das scheint neuerdings zu passieren, wenn die Oauth Daten (Token) nicht (mehr) vorhanden sind (z.B. nach einem Neustart) und ein neuer kompletter Login notwendig wird.Humidor hat geschrieben: ↑So Sep 10, 2023 10:24 am Ich bekomme seit ein paar Tagen diese Meldung (aus dem Nichts)
Hat das schonmal jemand gehabt?Code: Alles auswählen
Modulmeldung: <class 'UnboundLocalError'> local variable 'code' referenced before assignment
Es scheint Mercedes/Smart hat auf dem API jetzt 2-Faktor Authentifizierung eingeschaltet, d.h. beim ersten Einloggen kommt per email ein PIN der dann im smartEQ-Modul bekennt gemacht werden muss, erst dann werden die Token bereitgestelt.
Ich bin dabei, das zu analysieren.
Die Änderung wird ziemlich umfangreich sein, daher kann ich nicht vorhersagen, bis wann das wieder läuft.
Mögliche Alternativen wären iobroker oder Home Assistant mit entsprechenden BEV-Adaptern + MQTT oder Manuell+Berechnung.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour