volvo2mqtt icon indicating copy to clipboard operation
volvo2mqtt copied to clipboard

Can't get connected - test_key isn't working - US AAOS API access no longer permitted by Volvo

Open bdwilson opened this issue 5 months ago • 9 comments

I have created a key in the developer portal. Tried putting both keys into the vccapikey array, but also tried just one. Same error on both. Any ideas? Thank you in advance!

image
# docker run -d --pull=always -e CONF_updateInterval=300 -e CONF_babelLocale='en_US' -e CONF_mqtt='@json {"broker": "192.168.1.226", "username": "", "password": "", "port": 1883}' -e CONF_volvoData='@json {"username": "[email protected]",
"password": "xxxxxx", "vin": "YV4EDxxxx", "vccapikey": ["xxxxx"]}' -e TZ='America/New_York' --name volvo2mqtt ghcr.io/dielee/volvo2mqtt:latest

Sep 24 20:56:14 volvo2mqtt [1] - INFO: Starting volvo2mqtt version v1.10.0
Sep 24 20:56:14 volvo2mqtt [1] - INFO: Starting login with OTP
Sep 24 20:56:15 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 0/24
Sep 24 20:56:20 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 1/24
Sep 24 20:56:25 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 2/24
Sep 24 20:56:30 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 3/24
Sep 24 20:56:35 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 4/24
Sep 24 20:56:40 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 5/24
Sep 24 20:56:45 volvo2mqtt [1] - INFO: Waiting for otp code... Please check your mailbox and post your otp code to the following mqtt topic "volvoAAOS2mqtt/otp_code". Retry 6/24
Traceback (most recent call last):
  File "/volvoAAOS2mqtt/./main.py", line 15, in <module>
    authorize()
  File "/volvoAAOS2mqtt/volvo.py", line 105, in authorize
    get_vcc_api_keys()
  File "/volvoAAOS2mqtt/volvo.py", line 245, in get_vcc_api_keys
    set_key_state(key)
  File "/volvoAAOS2mqtt/volvo.py", line 274, in set_key_state
    extended, extended_until = check_vcc_api_key(key)
  File "/volvoAAOS2mqtt/volvo.py", line 316, in check_vcc_api_key
    logging.warning("VCCAPIKEY " + test_key + " isn't working! " + data["error"]["message"])
KeyError: 'error'

bdwilson avatar Sep 25 '24 01:09 bdwilson