Can't install this plugin

Hello,
i just tried to install this plugin via Homebridge GUI, but i always recieve an error message.
0 verbose cli /usr/bin/node /usr/bin/npm 1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 7ms 4 timing config:load:defaults Completed in 5ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 0ms 6 timing config:load:builtin Completed in 0ms 7 timing config:load:cli Completed in 1ms 8 warn config global-style This option has been deprecated in favor of--install-strategy=shallow`
9 timing config:load:env Completed in 1ms
10 timing config:load:project Completed in 0ms
11 timing config:load:file:/home/homebridge/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/usr/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 0ms
16 timing config:load Completed in 9ms
17 timing npm:load:configload Completed in 9ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm install<EMAIL_ADDRESS>21 verbose argv "install" "--global"<EMAIL_ADDRESS>22 timing npm:load:setTitle Completed in 1ms
23 timing config:load:flatten Completed in 2ms
24 timing npm:load:display Completed in 2ms
25 verbose logfile logs-max:10 dir:/home/homebridge/.npm/_logs/2023-03-29T06_45_48_543Z-
26 verbose logfile /home/homebridge/.npm/_logs/2023-03-29T06_45_48_543Z-debug-0.log
27 timing npm:load:logFile Completed in 3ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 23ms
31 timing config:load:flatten Completed in 1ms
32 timing arborist:ctor Completed in 1ms
33 silly logfile start cleaning logs, removing 1 files
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 5ms
36 timing idealTree:userRequests Completed in 2ms
37 silly idealTree buildDeps
38 silly fetch manifest<EMAIL_ADDRESS>39 http fetch GET 200 https://registry.npmjs.org/homebridge-vw 979ms (cache revalidated)
40 silly placeDep ROOT<EMAIL_ADDRESS>OK for:  want: 1.0.9
41 timing idealTree:#root Completed in 986ms
42 timing idealTree:node_modules/homebridge-vw Completed in 0ms
43 timing idealTree:buildDeps Completed in 987ms
44 timing idealTree:fixDepFlags Completed in 0ms
45 timing idealTree Completed in 995ms
46 timing reify:loadTrees Completed in 996ms
47 timing reify:diffTrees Completed in 0ms
48 silly reify moves {}
49 timing reify:retireShallow Completed in 1ms
50 timing reify:createSparse Completed in 1ms
51 timing reify:loadBundles Completed in 0ms
52 http fetch GET 200 https://registry.npmjs.org/homebridge-vw/-/homebridge-vw-1.0.9.tgz 709ms (cache revalidated)
53 timing reifyNode:node_modules/homebridge-vw Completed in 721ms
54 timing reify:unpack Completed in 721ms
55 timing reify:unretire Completed in 0ms
56 timing build:queue Completed in 0ms
57 info run<EMAIL_ADDRESS>postinstall node_modules/homebridge-vw node postinstall.js
58 info run<EMAIL_ADDRESS>postinstall { code: 1, signal: null }
59 timing reify:rollback:createSparse Completed in 2ms
60 timing reify:rollback:retireShallow Completed in 0ms
61 timing command:install Completed in 2140ms
62 verbose stack Error: command failed
62 verbose stack     at ChildProcess. (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
62 verbose stack     at ChildProcess.emit (node:events:513:28)
62 verbose stack     at maybeClose (node:internal/child_process:1091:16)
62 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
63 verbose pkgid<EMAIL_ADDRESS>64 verbose cwd /usr
65 verbose Linux 5.15.102-1-pve
66 verbose node v18.15.0
67 verbose npm  v9.5.0
68 error code 1
69 error path /usr/lib/node_modules/homebridge-vw
70 error command failed
71 error command sh -c node postinstall.js
72 verbose exit 1
73 timing npm Completed in 2173ms
74 verbose unfinished npm timer reify<PHONE_NUMBER>577
75 verbose unfinished npm timer reify:build<PHONE_NUMBER>301
76 verbose unfinished npm timer build<PHONE_NUMBER>301
77 verbose unfinished npm timer build:deps<PHONE_NUMBER>301
78 verbose unfinished npm timer build:run:postinstall<PHONE_NUMBER>302
79 verbose unfinished npm timer build:run:postinstall:node_modules/homebridge-vw<PHONE_NUMBER>302
80 verbose code 1
81 error A complete log of this run can be found in:
81 error     /home/homebridge/.npm/_logs/2023-03-29T06_45_48_543Z-debug-0.log
`

Hi @CyberChris79
I am not really sure what the issue is but it seems the issues is related to the postinstall which all it does is:
remove the dist/venv folder and installs a new python environment with the following command:
python3 -m venv dist/venv && dist/venv/bin/pip3 install beautifulsoup4 jsonpickle requests xmltodict
Maybe you don't have python3 in your path or something like that? You could also try and check /home/homebridge/.npm/_logs/2023-03-29T06_45_48_543Z-debug-0.log if it contains any useful information.

Hello @marn06 ,
thank you. The error message, i posted first, was the complete log in the file /home/homebridge/.npm/_logs/2023-03-29T06_45_48_543Z-debug-0.log

I can't install it either:
Error: Command failed: sh ./install.sh
at ChildProcess.exithandler (node:child_process:412:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:313:12) {

code: 1,
killed: false,
signal: null,
cmd: 'sh ./install.sh'
}
Node.js v18.12.1
npm ERR! code 1
npm ERR! path /var/lib/homebridge/node_modules/homebridge-vw
npm ERR! command failed
npm ERR! command sh -c -- node postinstall.js
npm ERR!  Please review log for details.

Hi @gawain33
Do you know if you have python3 in path on your machine? Try running the command in terminal:
python3
If it does not work, that's the reason.

Thank you for the quick response.
It seems to be installed:
@.***
@.***:/var/lib/homebridge $ python3
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.

On 17/04/2023, 13:41, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Do you know if you have python3 in path on your machine? Try running the command in terminal:
python3
If it does not work, that's the reason.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1511184829, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHPY5KKAAUWIG4GZJXCLXBUT73ANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

That folder doesn’t exist, probably because the install fails.
@.***:/var/lib/homebridge/node_modules $ dir
dist  homebridge  homebridge-connexoon  homebridge-doorbird  homebridge-nest
I tried to run that command from the higher folder:
@.***:/var/lib/homebridge/node_modules $ python3 -m venv dist/venv && dist/venv/bin/pip3 install beautifulsoup4 jsonpickle requests xmltodict
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/var/lib/homebridge/node_modules/dist/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
@.***:/var/lib/homebridge/node_modules $
On 17/04/2023, 14:04, "marn06" @.***> wrote:
Try and run the command manually in the folder /var/lib/homebridge/node_modules/homebridge-vw:
python3 -m venv dist/venv && dist/venv/bin/pip3 install beautifulsoup4 jsonpickle requests xmltodict
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1511214473, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP6HI54CPVEWCSGBMZDXBUWV7ANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
Then you are missing the package  python3-venv which you install by running:
apt-get install python3-venv
This should of course be a dependency in this project.

Thank you for helping me with this.  I tried that command and get this result:
@.:~ $ apt-get install python3-venv
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
@.:~ $
On 18/04/2023, 10:58, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Then you are missing the package python3-venv which you install by running:
apt-get install python3-venv
This should of course be a dependency in this project.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1512716569, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP6C4O2OYHGCQ3FFJ4DXBZJS7ANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
Try running it with sudo:
sudo apt-get install python3-venv
And also try run this command that should work if you have venv:
python3 -m venv --help

Thanks again for sticking with me.  I tried the first line with sudo and that worked, the node is now installed.
I entered my login info and the VIN and seem to be connected.  I don’t understand SPIN.  Can you help with that please?
[A picture containing text, electronics, screenshot  Description automatically generated]
These are the symbols I see.
I try to click the fan symbol to heat the car but it keeps going back to the Off setting.
On 18/04/2023, 12:03, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Try running it with sudo:
sudo apt-get install python3-venv
And also try run this command that should work if you have venv:
python3 -m venv --help
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1512799405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP2KPT4OGGXAFVPSO3TXBZRHNANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
The spin is the 4-digit code that you chose in the offical WeConnect app to unlock/lock your car.

Hi @@.***>
Thank you for that, the locking is working now.
The climatization still turns off a few seconds after I turn it on.  Is there perhaps a log I can send to you?
Gavin
On 20/04/2023, 09:05, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
The spin is the 4-digit code that you chose in the offical WeConnect app to unlock/lock your car.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1515816860, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP5ARURJE46BMPZNMU3XCDNZ5ANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
If you navigate to the folder of the plugin (./node_modules/homebridge-vw/dist) there is a weconnect.log file, that contains all the logs. It might be that there is no relevant information due to the logging level, and you can try manually changing it in the main.py or nativeAPI.py file to logging.DEBUG

I’m sorry @@.***> but I don’t have the knowledge of the pi environment to do that.
On 20/04/2023, 10:46, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
If you navigate to the folder of the plugin (./node_modules/homebridge-vw/dist) there is a weconnect.log file, that contains all the logs. It might be that there is no relevant information due to the logging level, and you can try manually changing it in the main.py or nativeAPI.py file to logging.DEBUG
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1515954554, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP3VCLUEP2OYD3DH6BTXCDZVZANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
I have deployed a new version 1.0.14 in which you can add loggingLevel to the config, example:
"showBatteryTile": false,
"loggingLevel": "INFO",

Hi
Thank you for that.  I have updated and added "loggingLevel": "INFO" to the config.   How do I get that info to you?
Gavin
On 04/05/2023, 14:13, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
I have deployed a new version 1.0.14 in which you can add loggingLevel to the config, example:
"showBatteryTile": false,
"loggingLevel": "INFO",
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1534667011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP6RU727ATWO2C4SSNLXEOMPJANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @CyberChris79
With loggingLevel set to INFO, you should see what is happening when you try to start climatisation, my log looks like this:

Thank you.  Is this useful?
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Requesting OAuth [fal]
[08/05/2023, 10:57:16] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 10:57:16] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 10:57:16] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Response with code: 200
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Received OAuth [fal]
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Requesting OAuth [cubic]
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Response with code: 200
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Saving access to file
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Requesting personal data
[08/05/2023, 10:57:16] [WeConnect] Python: [08/05/2023 10:57:16] [API::INFO] Preparing command: /personalData
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/253a382f-ecb7-44c7-ad97-961c00ba71e1/personalData
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Response with code: 200
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Received business identity
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Saving access to file
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Response with code: 200
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Received fal/mal Uri
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVGZZZCRZMD038890/status
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/vsr/v1/VW/DE/vehicles/WVGZZZCRZMD038890/status
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Response with code: 200
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [VSR::WARNING] [parse_vsr] item 0x02040C0002, field 0x02040C0002 not found
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [VSR::WARNING] [parse_vsr] {'id': '0x02040C0002', 'tsCarSentUtc': '2023-05-07T13:59:01Z', 'tsCarSent': '2023-05-07T13:59:02', 'tsCarCaptured': '2023-05-07T15:59:02', 'tsTssReceivedUtc': '2023-05-07T13:59:06Z', 'milCarCaptured': 32809, 'milCarSent': 32809, 'textId': 'scr.no_driveability'}
[08/05/2023, 10:57:17] [WeConnect] Python: [08/05/2023 10:57:17] [API::INFO] Preparing command: /bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[08/05/2023, 10:57:18] [WeConnect] Python: [08/05/2023 10:57:18] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[08/05/2023, 10:57:18] [WeConnect] Python: [08/05/2023 10:57:18] [API::INFO] Response with code: 200
[08/05/2023, 10:57:18] [WeConnect] Python: [08/05/2023 10:57:18] [WeConnect::ERROR] Fatal Error: 'windowHeatingStatusData'
[08/05/2023, 10:57:18] [WeConnect] Get climatisation state: Error: [08/05/2023 10:57:18] [WeConnect::ERROR] Fatal Error: 'windowHeatingStatusData'
And then:
[08/05/2023, 11:02:02] [WeConnect] Python: [08/05/2023 11:02:02] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[08/05/2023, 11:02:02] [WeConnect] Python: [08/05/2023 11:02:02] [API::INFO] Response with code: 200
[08/05/2023, 11:02:02] [WeConnect] Python: [08/05/2023 11:02:02] [API::INFO] Received fal/mal Uri
[08/05/2023, 11:02:02] [WeConnect] Python: [08/05/2023 11:02:02] [API::INFO] Preparing command: /bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[08/05/2023, 11:02:03] [WeConnect] Python: [08/05/2023 11:02:03] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[08/05/2023, 11:02:03] [WeConnect] Python: [08/05/2023 11:02:03] [API::INFO] Response with code: 200
[08/05/2023, 11:02:03] [WeConnect] Python: [08/05/2023 11:02:03] [WeConnect::ERROR] Fatal Error: 'windowHeatingStatusData'
[08/05/2023, 11:02:03] [WeConnect] Set climatisation state Error: [08/05/2023 11:02:03] [WeConnect::ERROR] Fatal Error: 'windowHeatingStatusData'
On 08/05/2023, 10:54, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
With loggingLevel set to INFO, you should see what is happening when you try to start climatisation, my log looks like this:
[image]https://user-images.githubusercontent.com/3353498/236781225-4a90ddf5-42d1-49d3-9eb4-5379378a71ed.png
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1538000786, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP2KJIR2YCPSB2RTCFDXFCYEXANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
It was very informative yes, I have released a new verson 1.0.15, which should solve the problem.

Thank you so much for supporting me.  It still doesn’t work:
[08/05/2023, 14:42:58] [WeConnect] Python: [08/05/2023 14:42:58] [API::WARNING] Forcing login
[08/05/2023 14:42:58] [API::INFO] Attempting to login
[08/05/2023, 14:42:59] [WeConnect] Python: [08/05/2023 14:42:59] [API::INFO] Sending GET request to @.***_vw-dilab_com?relayState=e7f069933cb8e9758be23aaf8968710c1cf6f94b
[08/05/2023, 14:42:59] [WeConnect] Python: [08/05/2023 14:42:59] [API::INFO] Response with code: 200
[08/05/2023, 14:42:59] [WeConnect] Python: [08/05/2023 14:42:59] [API::INFO] Found email login url: @.***_vw-dilab_com/login/identifier
[08/05/2023, 14:42:59] [WeConnect] Python: [08/05/2023 14:42:59] [API::INFO] Sending GET request to @.***_vw-dilab_com/login/authenticate?relayState=e7f069933cb8e9758be23aaf8968710c1cf6f94b
[08/05/2023, 14:42:59] [WeConnect] Python: [08/05/2023 14:42:59] [API::INFO] Response with code: 200
[08/05/2023, 14:43:01] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 14:43:01] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 14:43:01] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 14:43:01] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[08/05/2023, 14:43:02] [WeConnect] Python: [08/05/2023 14:43:02] [API::INFO] Sending GET request to carnet://identity-kit/login#state=y2Hxq-eaEftEFY7aBSMNhittcaFcO6gAYUQvj5FXR2b&code=eyJraWQiOiI0OD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ooauYSFM71oLW8j_HW5WBTMRTMBb3kvp59-BSXbYeQT-6c
[08/05/2023, 14:43:02] [WeConnect] Python: [08/05/2023 14:43:02] [API::INFO] Response with code: 200
[08/05/2023, 14:43:02] [WeConnect] Python: [08/05/2023 14:43:02] [API::INFO] Received Identities
[08/05/2023, 14:43:02] [WeConnect] Python: [08/05/2023 14:43:02] [API::INFO] Received CarNet Identity Kit
[08/05/2023, 14:43:02] [WeConnect] Python: [08/05/2023 14:43:02] [API::INFO] Requesting Tokens
[08/05/2023, 14:43:03] [WeConnect] Python: [08/05/2023 14:43:03] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[08/05/2023, 14:43:03] [WeConnect] Python: [08/05/2023 14:43:03] [API::INFO] Response with code: 200
[08/05/2023, 14:43:03] [WeConnect] Python: [08/05/2023 14:43:03] [API::INFO] Received Tokens
[08/05/2023, 14:43:03] [WeConnect] Python: [08/05/2023 14:43:03] [API::WARNING] X-client-id not found.
On 08/05/2023, 14:41, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
It was very informative yes, I have released a new verson 1.0.15, which should solve the problem.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1538295700, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP5FDYP2EL7QXBLHIYDXFDSYJANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
Does climatisation work for you in the We Connect phone app? It might be that you need to login here:
https://identity.vwgroup.io/signin-service/v1/signin/a827267f-6cc8-4b02-a178-3205b06a6210@apps_vw-dilab_com?relayState=f419755e75e27d8b924e8121a4825baf8bbac3d8
and consent to some terms and conditions, but else than that I am not sure on the error you get:
The context was invalid, deduced from the fact that there are no security requirements for the combination of service, operation and channel stored in MBB R&R.

Thanks marn06 I really appreciate you trying to help.
I checked my login there and can see the connected apps:
[A close-up of a logo  Description automatically generated with low confidence]
All of the functions work fine in the We Connect App.
On 11/05/2023, 12:18, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Does climatisation work for you in the We Connect phone app? It might be that you need to login here:
@.***_vw-dilab_com?relayState=f419755e75e27d8b924e8121a4825baf8bbac3d8
and consent to some terms and conditions, but else than that I am not sure on the error you get:
The context was invalid, deduced from the fact that there are no security requirements for the combination of service, operation and channel stored in MBB R&R.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1543729134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHPZHA77QZJKAOVD4MP3XFS4IJANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

I don’t know if it was logging into that site but for some reason it appears to be working now.  I’ll monitor for a few days and update you.
Thank you again for the fantastic support.
On 11/05/2023, 12:24, "Gavin Crayston" @.***> wrote:
Thanks marn06 I really appreciate you trying to help.
I checked my login there and can see the connected apps:
[A close-up of a logo  Description automatically generated with low confidence]
All of the functions work fine in the We Connect App.
On 11/05/2023, 12:18, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
Does climatisation work for you in the We Connect phone app? It might be that you need to login here:
@.***_vw-dilab_com?relayState=f419755e75e27d8b924e8121a4825baf8bbac3d8
and consent to some terms and conditions, but else than that I am not sure on the error you get:
The context was invalid, deduced from the fact that there are no security requirements for the combination of service, operation and channel stored in MBB R&R.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1543729134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHPZHA77QZJKAOVD4MP3XFS4IJANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hello @marn06  ,
thank you for your support.
I also could install this plugin after your instructions, because i recieved the same error messages one after the other like @gawain33
But i still can't start this plugin.
My error message is
`5/16/2023, 7:44:22 PM] [WeConnect] Python: Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 7, in
from car import Car
File "/usr/lib/node_modules/homebridge-vw/dist/car.py", line 10, in
from car_states import CarStates
File "/usr/lib/node_modules/homebridge-vw/dist/car_states.py", line 1, in
from typing import TypedDict
ImportError: cannot import name 'TypedDict' from 'typing' (/usr/lib/python3.7/typing.py)
[5/16/2023, 7:44:22 PM] [WeConnect] Get climatisation state: Error: Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 7, in
from car import Car
File "/usr/lib/node_modules/homebridge-vw/dist/car.py", line 10, in
from car_states import CarStates
File "/usr/lib/node_modules/homebridge-vw/dist/car_states.py", line 1, in
from typing import TypedDict
ImportError: cannot import name 'TypedDict' from 'typing' (/usr/lib/python3.7/typing.py)`

Hi @CyberChris79
I am using a library that was introduced in Python 3.8, and you’re using Python 3.7 so the easiest would be to upgrade Python. Alternatively I could deploy a new version that installs the library if it is missing.

Hello @marn06 ,
thank you for the fast answer. I think a new version with autoinstall the library would be very helpful.

Hello @marn06 ,
i just did an upgrade from Debian 11 Buster to Debian 11 Bullseye and now i got Pyhton 3.9.2
Now after installation of this plugin, i get this error message
`Python: Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 25, in
[5/17/2023, 8:35:31 AM] [WeConnect] Python:     logging.FileHandler('weconnect.log'),
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
[5/17/2023, 8:35:31 AM] [WeConnect] Python:     return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/usr/lib/node_modules/homebridge-vw/dist/weconnect.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 43, in
logger.error('Fatal Error: ' + str(e))
NameError: name 'logger' is not defined
[5/17/2023, 8:35:31 AM] [WeConnect] Get climatisation state: Error:     return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/usr/lib/node_modules/homebridge-vw/dist/weconnect.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 43, in
logger.error('Fatal Error: ' + str(e))
NameError: name 'logger' is not defined`

Hi @CyberChris79
The issue is that your homebridge does not have write permission to the folder in which the log file is stored, personally I would try and uninstall the plugin and then reinstall it.
If that does not work you should be able to run:
sudo chmod -R 777 /usr/lib/node_modules/homebridge-vw/dist
which enables r+w and execute for all users.

Hallo @marn06 ,
thank you i could solve this by setting the permision rights.
Now i get this message
`[5/17/2023, 7:28:03 PM] [WeConnect] Python: [17/05/2023 19:28:03] [API::WARNING] Session file not found
[5/17/2023, 7:28:03 PM] [WeConnect] Python: [17/05/2023 19:28:03] [API::WARNING] Access file not found
[17/05/2023 19:28:03] [API::WARNING] Forcing login
[5/17/2023, 7:28:05 PM] [WeConnect] Python: [17/05/2023 19:28:05] [API::WARNING] X-client-id not found. Requesting a new one
[5/17/2023, 7:28:05 PM] [CameraUI] camera.ui v5.0.27 is listening on port 8081 (http)
[5/17/2023, 7:28:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[5/17/2023, 7:28:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[5/17/2023, 7:28:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[5/17/2023, 7:28:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[5/17/2023, 7:28:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[5/17/2023, 7:28:06 PM] [WeConnect] Python: [17/05/2023 19:28:06] [API::CRITICAL] Raising error msg: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: XXXXXXXXXX could not be found.
[5/17/2023, 7:28:06 PM] [WeConnect] Python: [17/05/2023 19:28:06] [WeConnect::ERROR] VWError: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: XXXXXXXXXXXXX could not be found.
[5/17/2023, 7:28:06 PM] [WeConnect] Get climatisation state: Error: [17/05/2023 19:28:06] [WeConnect::ERROR] VWError: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: XXXXXXXXXXXX could not be found.
`

Hi @CyberChris79
Can you send your config for the plugin? It seems that you have defined a VIN that is XXXXXXXXXXXXX ?

Hi @CyberChris79
Makes sense.. does lock/unlock work?

i will test it tomorrow and let you know.
Thank you

Hello @marn06 ,
unlock/lock does also not work. I tried and get this error messages back
`[5/18/2023, 7:03:28 AM] [WeConnect] Python: [18/05/2023 07:03:28] [API::WARNING] Access file not found
[5/18/2023, 7:03:28 AM] [WeConnect] Python: [18/05/2023 07:03:28] [API::WARNING] Forcing login
[5/18/2023, 7:03:29 AM] [WeConnect] Python: [18/05/2023 07:03:29] [API::WARNING] X-client-id not found. Requesting a new one
[5/18/2023, 7:03:30 AM] [WeConnect] Python: [18/05/2023 07:03:30] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:30 AM] [WeConnect] Python: [18/05/2023 07:03:30] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:30 AM] [WeConnect] Get climatisation state: Error: [18/05/2023 07:03:30] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:42 AM] [WeConnect] Python: [18/05/2023 07:03:42] [API::WARNING] Access file not found
[18/05/2023 07:03:42] [API::WARNING] Forcing login
[5/18/2023, 7:03:44 AM] [WeConnect] Python: [18/05/2023 07:03:44] [API::WARNING] X-client-id not found. Requesting a new one
[5/18/2023, 7:03:45 AM] [WeConnect] Python: [18/05/2023 07:03:45] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[18/05/2023 07:03:45] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:45 AM] [WeConnect] Set climatisation state Error: [18/05/2023 07:03:45] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[18/05/2023 07:03:45] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:48 AM] [WeConnect] Python: [18/05/2023 07:03:48] [API::WARNING] Access file not found
[5/18/2023, 7:03:48 AM] [WeConnect] Python: [18/05/2023 07:03:48] [API::WARNING] Forcing login
[5/18/2023, 7:03:50 AM] [WeConnect] Python: [18/05/2023 07:03:50] [API::WARNING] X-client-id not found. Requesting a new one
[5/18/2023, 7:03:51 AM] [WeConnect] Python: [18/05/2023 07:03:51] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[18/05/2023 07:03:51] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:51 AM] [WeConnect] Set charging state Error: [18/05/2023 07:03:51] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[18/05/2023 07:03:51] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:55 AM] [WeConnect] Python: [18/05/2023 07:03:55] [API::WARNING] Access file not found
[18/05/2023 07:03:55] [API::WARNING] Forcing login
[5/18/2023, 7:03:56 AM] [WeConnect] Python: [18/05/2023 07:03:56] [API::WARNING] X-client-id not found. Requesting a new one
[5/18/2023, 7:03:57 AM] [WeConnect] Python: [18/05/2023 07:03:57] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:57 AM] [WeConnect] Python: [18/05/2023 07:03:57] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:03:57 AM] [WeConnect] Set locked state: [18/05/2023 07:03:57] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:04:00 AM] [WeConnect] Python: [18/05/2023 07:04:00] [API::WARNING] Access file not found
[5/18/2023, 7:04:00 AM] [WeConnect] Python: [18/05/2023 07:04:00] [API::WARNING] Forcing login
[5/18/2023, 7:04:02 AM] [WeConnect] Python: [18/05/2023 07:04:02] [API::WARNING] X-client-id not found. Requesting a new one
[5/18/2023, 7:04:03 AM] [WeConnect] Python: [18/05/2023 07:04:03] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:04:03 AM] [WeConnect] Python: [18/05/2023 07:04:03] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
[5/18/2023, 7:04:03 AM] [WeConnect] Set window heating state Error: [18/05/2023 07:04:03] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=xxxxxxxxxx
`

Hi @CyberChris79 it is strange that it keeps saying that access file is not found, can you check the dist folder and see if it contains a weconnectAPI.access file? Path should be /var/lib/homebridge/node_modules/homebridge-vw/dist if it doesn’t it might be permissions issue again, you Can check by creating a file manually at the location from the homebridge terminal

Hello @marn06 ,
ok, now it's more clear.
My node_module path is under /usr/lib/node_modules/ and not under /var/lib/homebridge/node_modules/
I really don't know why, but all plugins are located there.
That's why the file doesn't exist.

Hi @CyberChris79
Eventhough your path is different it should still create the file there, but if the file does not exist in your path then I would guess that the homebridge user is missing permissions to write to the path. Try creating a file in your path using the homebridge terminal.

Hello @marn06 ,
i have created the folder and file manually and gave the whole folder "777" rights, The owner of this folder is "root" and the homebridge user is called "homebridge". Is this maybe also imortant.
Because it still show the error message "Access File not found"

Hi @CyberChris79
I would suggest that you open terminal from homebridge and run: touch /usr/lib/node_modules/homebridge-vw/dist/test.access to test if you get permission denied.

Hello @marn06 ,
that works for me.

Hi @CyberChris79
So permission is not the issue and I also see it has created the session file. Can you change loggingLevel to INFO and restart homebridge? Hopefully the info logs tells something useful.

Hello @marn06 ,
here is my detailed error message
[5/20/2023, 8:55:04 PM] [WeConnect] Python: [20/05/2023 20:55:04] [API::WARNING] Access file not found [20/05/2023 20:55:04] [API::WARNING] Forcing login [20/05/2023 20:55:04] [API::INFO] Attempting to login [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=4323d590e531a1b89d23251d91d21eb7d92383af [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Response with code: 200 [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Found email login url: /signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/identifier [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=4323d590e531a1b89d23251d91d21eb7d92383af [20/05/2023 20:55:05] [API::INFO] Response with code: 200 [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Sending GET request to carnet://identity-kit/login#state=CFvzCjVZYWJQ9gNJAkaJMnOl8Llesa1WrJ4eOGS5CqV&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGYwZmVmNy00YjJjLTQzZTAtYTIzYy1kMzI2NjY4NzIwMzIiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pb1wvYXNzdXJhbmNlXC9sb2EtMiIsInNjcCI6Im9wZW5pZCBwcm9maWxlIG1iYiBjYXJzIGJpcnRoZGF0ZSBuaWNrbmFtZSBhZGRyZXNzIHBob25lIiwiYWF0IjoiaWRlbnRpdHlraXQiLCJpc3MiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pbyIsImp0dCI6ImF1dGhvcml6YXRpb25fY29kZSIsImV4cCI6MTY4NDYwOTIwNSwiaWF0IjoxNjg0NjA4OTA1LCJub25jZSI6Iml0bzlxaFBnbGtBbXZqbnJTYjdWcGxhaTUtRjRZdk5GQ0hKdWllVkdjNVAiLCJqdGkiOiJiZTk3M2M5OC00ZDdjLTQxZjAtODRkNi03OTY1M2JmYTQ5NjIifQ.Ak6FDtJnWipdKEXej3W9JMD9aR5sQi4JtOkWnfVuFkN_uGJMFMZl8O4UyIU7vtFUseYTlA_LcIYFrqH1eiccwwVmf0dqFSZY12w-wADs0RMOwaG4s53UU3qVp-Uw4dqsj6gJC1dwipSDf_2f4RpU4DhpX4-NG5gW1JZDTzSRYVogWSvYojxBdZsgsIySDO4kzc_LWc2uqO5mB3-jl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5BbFdZarddCrJ16Hjr9CFqjxIqmBIcj7ZZlVL7s3ZITlhmLnTZhcGJ0GeA5-FxQYVEBQjCex5jA-fEAYHfUtkvJ59KJ5lyjTzGYWBdRaobImFighTyTN-6gp_Ev-aNuFnHm2QIhCKNT98G9FZ7BJUNAqOY1ghEbHq689cHzgreRvfSfzrgFjO5kRhRXmIWLUcqyqR6FVCCiJPpsTQkwPBUyRSwgynuAKrJWPDF0vuZe8fvgt2pOxBVBj6t2nPU8OTuTurCazs [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Response with code: 200 [20/05/2023 20:55:05] [API::INFO] Received Identities [5/20/2023, 8:55:05 PM] [WeConnect] Python: [20/05/2023 20:55:05] [API::INFO] Received CarNet Identity Kit [20/05/2023 20:55:05] [API::INFO] Requesting Tokens [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode [20/05/2023 20:55:06] [API::INFO] Response with code: 200 [20/05/2023 20:55:06] [API::INFO] Received Tokens [20/05/2023 20:55:06] [API::WARNING] X-client-id not found. Requesting a new one [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/register/v1 [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Response with code: 200 [20/05/2023 20:55:06] [API::INFO] Received X-client-id [20/05/2023 20:55:06] [API::INFO] Requesting OAuth [fal] [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token [20/05/2023 20:55:06] [API::INFO] Response with code: 200 [20/05/2023 20:55:06] [API::INFO] Received OAuth [fal] [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Requesting OAuth [cubic] [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Response with code: 200 [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Saving access to file [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Requesting personal data [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Preparing command: /personalData [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/personalData [5/20/2023, 8:55:06 PM] [WeConnect] Python: [20/05/2023 20:55:06] [API::INFO] Response with code: 200 [20/05/2023 20:55:06] [API::INFO] Received business identity [20/05/2023 20:55:06] [API::INFO] Saving access to file [20/05/2023 20:55:06] [API::INFO] Preparing command: /cs/vds/v1/vehicles/XXXXXXXXXXXXXXXXX/homeRegion [5/20/2023, 8:55:07 PM] [WeConnect] Python: [20/05/2023 20:55:07] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/XXXXXXXXXXXXXXXXX/homeRegion [20/05/2023 20:55:07] [API::INFO] Response with code: 404 [5/20/2023, 8:55:07 PM] [WeConnect] Python: [20/05/2023 20:55:07] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=XXXXXXXXXXXXXXXXX [20/05/2023 20:55:07] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=XXXXXXXXXXXXXXXXX [5/20/2023, 8:55:07 PM] [WeConnect] Get climatisation state: Error: [20/05/2023 20:55:07] [API::CRITICAL] Raising error msg: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=XXXXXXXXXXXXXXXXX [20/05/2023 20:55:07] [WeConnect::ERROR] VWError: Error 404: [mbbc.vds.sopCalculationFailed] Could not calculate the SOP for vin=XXXXXXXXXXXXXXXXX

Hi @CyberChris79
Based on the fact that your config does not have a VIN I assume that the plugin retrieved the VIN from the API. Try and delete the carStates.json which contains the VIN and then restart the plugin. You should see the following in the log with logLevel INFO:
[5/21/2023, 11:32:10 AM] [VW Passat] Python: [21/05/2023 11:32:10] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/XXX/realCarData
[5/21/2023, 11:32:10 AM] [VW Passat] Python: [21/05/2023 11:32:10] [API::INFO] Response with code: 200
[5/21/2023, 11:32:10 AM] [VW Passat] Python: [21/05/2023 11:32:10] [WeConnect::INFO] VIN: XXX

Hello @marn06 ,
but i am using my VIN number in the config file. It is not empty. I just replaced it to xxxxxxx before i post it here.
In my config the VIN filed is not empy
I tried the config also without a VIN number and deletet also the carSatest,json, but i never get back this log information you posted.
Sorry about that.

Hi @CyberChris79
That is okay, but I think you should try and remove it from the config and have the plugin fetch the VIN because the only reason I can come up with based on your responses is that your VIN is incorrect. If the plugin will not return a VIN it will never work, because it would mean that no cars are registered to your account. Can you show a log with logLevel INFO after deleting carStates.json and removing VIN from config?

Hello @marn06 ,
no i leave the VIN field empty and deleted also the carStates.json file.
This is the Log file with INFO logLevel
[5/22/2023, 3:24:03 PM] [WeConnect] Python: [22/05/2023 15:24:03] [API::WARNING] Access file not found [22/05/2023 15:24:03] [API::WARNING] Forcing login [22/05/2023 15:24:03] [API::INFO] Attempting to login [5/22/2023, 3:24:03 PM] [WeConnect] Python: [22/05/2023 15:24:03] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=6dabb82a67578004b8968f5c38427a67cd810fcb [5/22/2023, 3:24:03 PM] [WeConnect] Python: [22/05/2023 15:24:03] [API::INFO] Response with code: 200 [5/22/2023, 3:24:03 PM] [WeConnect] Python: [22/05/2023 15:24:03] [API::INFO] Found email login url: /signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/identifier [5/22/2023, 3:24:04 PM] [WeConnect] Python: [22/05/2023 15:24:04] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=6dabb82a67578004b8968f5c38427a67cd810fcb [5/22/2023, 3:24:04 PM] [WeConnect] Python: [22/05/2023 15:24:04] [API::INFO] Response with code: 200 [5/22/2023, 3:24:04 PM] [WeConnect] Python: [22/05/2023 15:24:04] [API::INFO] Sending GET request to carnet://identity-kit/login#state=n4BMJpWDh8gDmTvrumOJjBxmaN9tW3LOjdLLvfrguNF&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGYwZmVmNy00YjJjLTQzZTAtYTIzYy1kMzI2NjY4NzIwMzIiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pb1wvYXNzdXJhbmNlXC9sb2EtMiIsInNjcCI6Im9wZW5pZCBwcm9maWxlIG1iYiBjYXJzIGJpcnRoZGF0ZSBuaWNrbmFtZSBhZGRyZXNzIHBob25lIiwiYWF0IjoiaWRlbnRpdHlraXQiLCJpc3MiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pbyIsImp0dCI6ImF1dGhvcml6YXRpb25fY29kZSIsImV4cCI6MTY4NDc2MjE0NCwiaWF0IjoxNjg0NzYxODQ0LCJub25jZSI6IjhRZFdnRF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f3pY0CqziGmuSfc0UE3qV-UWowwngq2i8Vb_qJAR82R7NX6MotDj-h9vUGzcj6ITTw24yL2YXZ_BkAVGEgK3xVAtN05el-U0NF5MeA51aEsjLJ2XIG0GVbC2G8RFwqjqTsry4rI_oeWT4UvUGcxfRH8Y1jrhW7goynT7IwM6OkQmM8YqX7boIEo5cVTr_5Mi2FMgG3Ac541rHCzW3UeJOeRK3RBrqPglIab9uiKgHPadkUNmkm6UvfFTpPDhmjb6KaaeiYFbohSNLqRiZrri4xn2dXawiY8xWWHCQ1LLjO07ws7u2W789VVGZEQSPHlE-mMai7MAxpJ6k8rnAlh7z71JRWcF5tOoylRosC0pDPulYPTvh7ydtrgllsuh8mbLKaIJi91iOCOU8G24f0phqb1-NWY6zwbdsmUswbPa4PcoYI3W2uoBRst029rnLodSzu9ivkUD3w8PZCxAvfUOAOEvT-Up0-FO72MtOeGGuQZRIYlPdp9-HawKS2XaAUSxRKf_3KvJ6Ut0R7y9gj1ILgnru6pXJZjWZGL-3EjrB76Mzx6d6vuou1GosOVboHCYvb-nwvlGfZgVfLEi7WsRo [5/22/2023, 3:24:04 PM] [WeConnect] Python: [22/05/2023 15:24:04] [API::INFO] Response with code: 200 [22/05/2023 15:24:04] [API::INFO] Received Identities [22/05/2023 15:24:04] [API::INFO] Received CarNet Identity Kit [22/05/2023 15:24:04] [API::INFO] Requesting Tokens [5/22/2023, 3:24:05 PM] [WeConnect] Python: [22/05/2023 15:24:05] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode [5/22/2023, 3:24:05 PM] [WeConnect] Python: [22/05/2023 15:24:05] [API::INFO] Response with code: 200 [22/05/2023 15:24:05] [API::INFO] Received Tokens [22/05/2023 15:24:05] [API::WARNING] X-client-id not found.  The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [5/22/2023, 3:24:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [5/22/2023, 3:24:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [5/22/2023, 3:24:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [5/22/2023, 3:24:06 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [5/22/2023, 3:24:06 PM] [WeConnect] Python: [22/05/2023 15:24:06] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status [22/05/2023 15:24:06] [API::INFO] Response with code: 200 [5/22/2023, 3:24:06 PM] [WeConnect] Python: [22/05/2023 15:24:06] [API::INFO] Preparing command: /bs/climatisation/v1/VW/DE/vehicles/WVWZZZ3CZME071148/climater [5/22/2023, 3:24:06 PM] [WeConnect] Python: [22/05/2023 15:24:06] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/climatisation/v1/VW/DE/vehicles/WVWZZZ3CZME071148/climater [5/22/2023, 3:24:06 PM] [WeConnect] Python: [22/05/2023 15:24:06] [API::INFO] Response with code: 403 [22/05/2023 15:24:06] [API::CRITICAL] Raising error msg: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found. [22/05/2023 15:24:06] [WeConnect::ERROR] VWError: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found. [5/22/2023, 3:24:06 PM] [WeConnect] Get climatisation state: Error: [22/05/2023 15:24:06] [API::INFO] Response with code: 403 [22/05/2023 15:24:06] [API::CRITICAL] Raising error msg: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found. [22/05/2023 15:24:06] [WeConnect::ERROR] VWError: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found.

Hi @CyberChris79
Based on your last post I Think you should try to login here, and see if it resolves anything.
https://identity.vwgroup.io/signin-service/v1/signin/a827267f-6cc8-4b02-a178-3205b06a6210@apps_vw-dilab_com?relayState=f419755e75e27d8b924e8121a4825baf8bbac3d8

Hi @CyberChris79
No idea unfortunately, but are you able to turn on climatisation from the native weconnect app from vw?

Hello @marn06 ,
yes, i can cool down or heat the car with the WeConnect App. Also i can unlock/lock the car.

Hi @CyberChris79
What does the log show when trying to lock the car?

Hello @marn06 ,
i tried now lock/unlock with empty VIN field and deleted carStates.json file. JFYI: the carStates.json file was empty.
it's nothing happens.
That is the log for unlock
`
[5/23/2023, 8:10:30 PM] [Homebridge UI] Homebridge log truncated by admin.
[5/23/2023, 8:10:38 PM] [WeConnect] Python: [23/05/2023 20:10:38] [API::WARNING] Access file not found
[5/23/2023, 8:10:38 PM] [WeConnect] Python: [23/05/2023 20:10:38] [API::WARNING] Forcing login
[23/05/2023 20:10:38] [API::INFO] Attempting to login
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=33b4549a4a798b36b47eae841e891138331cf724
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Response with code: 200
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Found email login url: /signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/identifier
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=33b4549a4a798b36b47eae841e891138331cf724
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Response with code: 200
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Sending GET request to carnet://identity-kit/login#state=qtEsqvrmzRKoz4Tj8F0TiWTKUAWKb91iQGRKFFThOS5&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGYwZmVmNy00YjJjLTQzZTAtYTIzYy1kMzI2NjY4NzIwMzIiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pb1wvYXNzdXJhbmNlXC9sb2EtMiIsInNjcCI6Im9wZW5pZCBwcm9maWxlIG1iYiBjYXJzIGJpcnRoZGF0ZSBuaWNrbmFtZSBhZGRyZXNzIHBob25lIiwiYWF0IjoiaWRlbnRpdHlraXQiLCJpc3MiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pbyIsImp0dCI6ImF1dGhvcml6YXRpb25fY29kZSIsImV4cCI6MTY4NDg2NTczOSwiaWF0IjoxNjg0ODY1NDM5LCJub25jZSI6IkdhTWE0Q2FrYkFNYzNNU3NGNEdra1c0TW0ydWpZUFBUc0tnREFkT3hMdEsiLCJqdGkiOiI5YjRhNDE2YS03OTViLTQzN2YtYmU5MC1mZDg1ZTcxYTcxODQifQ.DqUhCsjAhFLlFOcoaLCJdz-MrDWDFCbhxblddQUq_DYUCA7hfXdO5tyGmqvS2qLxAbml6gyq5lTfgUKoCkMZQ6a-paSWiMd1NVnEi0kH11ipDGaExr1yZtuRTvY7eX14IQD8tPnh2qjkEL8Iv6FxdEDbfoGmTYvVQPgGagaXp8VhROezM24-KDuYJjb6mPrT5oPrpxKilQwhg85oyMBLNXg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7bMTgUs-YRcFBepxoKNu9YqL8lDIduQNCnch_DSghdqjpEsw8AsJj6nk3kbyQTuHs6o46NmDeipg4IOtzI6SZ9MVuxxpjrJquRyD47gr-QTEhEYIhOKzXdln9Qxeal_LWWSSAIY5lFwasfhW3ILCxPJqjAx9XqXOvLPUDV8vy_3YAh4JxTIgbnrcBXG338oZstOOAH14kgC_Y5guRgEgI2mLLIG9DlzN0qLewQ_y4uWu_4sl-A2JJwSlIJTwvcBKB0qNxr3XIY0sx4vWzWU
[23/05/2023 20:10:39] [API::INFO] Response with code: 200
[5/23/2023, 8:10:39 PM] [WeConnect] Python: [23/05/2023 20:10:39] [API::INFO] Received Identities
[23/05/2023 20:10:39] [API::INFO] Received CarNet Identity Kit
[23/05/2023 20:10:39] [API::INFO] Requesting Tokens
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Response with code: 200
[23/05/2023 20:10:40] [API::INFO] Received Tokens
[23/05/2023 20:10:40] [API::WARNING] X-client-id not found. Requesting a new one
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/register/v1
[23/05/2023 20:10:40] [API::INFO] Response with code: 200
[23/05/2023 20:10:40] [API::INFO] Received X-client-id
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Requesting OAuth [fal]
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[23/05/2023 20:10:40] [API::INFO] Response with code: 200
[23/05/2023 20:10:40] [API::INFO] Received OAuth [fal]
[23/05/2023 20:10:40] [API::INFO] Requesting OAuth [cubic]
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Response with code: 200
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Saving access to file
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Requesting personal data
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Preparing command: /personalData
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/personalData
[23/05/2023 20:10:40] [API::INFO] Response with code: 200
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Received business identity
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Saving access to file
[5/23/2023, 8:10:40 PM] [WeConnect] Python: [23/05/2023 20:10:40] [API::INFO] Preparing command: /realCarData
[5/23/2023, 8:10:41 PM] [WeConnect] Python: [23/05/2023 20:10:41] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/realCarData
[23/05/2023 20:10:41] [API::INFO] Response with code: 200
[5/23/2023, 8:10:41 PM] [WeConnect] Python: [23/05/2023 20:10:41] [WeConnect::INFO] VIN: WVWZZZ3CZME071148
[23/05/2023 20:10:41] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/23/2023, 8:10:41 PM] [WeConnect] Python: [23/05/2023 20:10:41] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/23/2023, 8:10:41 PM] [WeConnect] Python: [23/05/2023 20:10:41] [API::INFO] Response with code: 200
[23/05/2023 20:10:41] [API::INFO] Received fal/mal Uri
[23/05/2023 20:10:41] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[5/23/2023, 8:10:41 PM] [WeConnect] Python: [23/05/2023 20:10:41] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[23/05/2023 20:10:41] [API::INFO] Response with code: 200
and this is the log for lock
`
[5/23/2023, 8:12:02 PM] [Homebridge UI] Homebridge log truncated by admin.
[5/23/2023, 8:12:04 PM] [WeConnect] Python: [23/05/2023 20:12:04] [API::WARNING] Access file not found
[5/23/2023, 8:12:04 PM] [WeConnect] Python: [23/05/2023 20:12:04] [API::WARNING] Forcing login
[23/05/2023 20:12:04] [API::INFO] Attempting to login
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=4c704336abdf0123c57a32956ed5f97b08e26307
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Response with code: 200
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Found email login url: /signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/identifier
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=4c704336abdf0123c57a32956ed5f97b08e26307
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Response with code: 200
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Sending GET request to carnet://identity-kit/login#state=gSoAnH8Pt3Hg7RWg-0d31WmUwP3nulmREU4m2zF1mS3&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGYwZmVmNy00YjJjLTQzZTAtYTIzYy1kMzI2NjY4NzIwMzIiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pb1wvYXNzdXJhbmNlXC9sb2EtMiIsInNjcCI6Im9wZW5pZCBwcm9maWxlIG1iYiBjYXJzIGJpcnRoZGF0ZSBuaWNrbmFtZSBhZGRyZXNzIHBob25lIiwiYWF0IjoiaWRlbnRpdHlraXQiLCJpc3MiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pbyIsImp0dCI6ImF1dGhvcml6YXRpb25fY29kZSIsImV4cCI6MTY4NDg2NTgyNSwiaWF0IjoxNjg0ODY1NTI1LCJub25jZSI6Ik1GMkRZTVlrLTFPRUJUM2EzWkN1c0dQckZiUTV2VUV3OExjYUxDUzBTdWwiLCJqdGkiOiI5Zjk2YjEwNS02ZDQ2LTQzMmEtOGM1ZS00OTgzYmM2ZDJlMWMifQ.H-_G7YkybdINJy-HWapLuM0_OrMfAXT1Nd_b4u2O0tLjzWZqpMFK2BfDCGClgeN8JurbbZ-h7hPBBwPx-5C8lXgGqAik9av0qyC5dNgr299GbWvtnQWDSBatP9_FLbyqXnET0Iqr6PoFWsLsjzTO8XK-WpmtIJ_EiH8fqLDdJvbUgJDP_8yefADAJO5POwk78IWLhcwizQU7yrIluLRYy7htI9esUTOCJQN_wMULnPntSVfO6OHtfdLXQ_3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bxIYLAPYM84ieigYZlsYWtciPhSjVEvS4cNLbCsVa-KNm-XYP1OmE-VHp_wIeG3h3tGFDsmGu_kMn41m64YVFFBZRvhYH2qLG4P6J244NYVMtxdRd7j3y_v0hafzQqmcS00sGMVjnzBAkndSJcBSGOntR0sX7ZocvFLOLRpmFKgJfL_xcRjAPUBOA6XLT7wp5DCBNNNrYJwuWZKI33rgoydQ
[23/05/2023 20:12:05] [API::INFO] Response with code: 200
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Received Identities
[5/23/2023, 8:12:05 PM] [WeConnect] Python: [23/05/2023 20:12:05] [API::INFO] Received CarNet Identity Kit
[23/05/2023 20:12:05] [API::INFO] Requesting Tokens
[5/23/2023, 8:12:06 PM] [WeConnect] Python: [23/05/2023 20:12:06] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[5/23/2023, 8:12:06 PM] [WeConnect] Python: [23/05/2023 20:12:06] [API::INFO] Response with code: 200
[23/05/2023 20:12:06] [API::INFO] Received Tokens
[23/05/2023 20:12:06] [API::WARNING] X-client-id not found.  So it Will always try to get the climatisation State and fail. Try and comment the self.setClimatisationStatus in the car.py file, and maybe you need to restart homebridge.

Hello @marn06 ,
after i delted these lines i get the following log file
`
[5/23/2023, 8:25:27 PM] [WeConnect] Python: [23/05/2023 20:25:27] [API::INFO] Preparing command: /realCarData
[5/23/2023, 8:25:27 PM] [WeConnect] Python: [23/05/2023 20:25:27] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/realCarData
[5/23/2023, 8:25:27 PM] [WeConnect] Python: [23/05/2023 20:25:27] [API::INFO] Response with code: 200
[23/05/2023 20:25:27] [WeConnect::INFO] VIN: WVWZZZ3CZME071148
[23/05/2023 20:25:27] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[23/05/2023 20:25:28] [API::INFO] Response with code: 200
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::INFO] Received fal/mal Uri
[23/05/2023 20:25:28] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::INFO] Response with code: 200
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::INFO] Preparing command: /bs/batterycharge/v1/VW/DE/vehicles/WVWZZZ3CZME071148/charger
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/batterycharge/v1/VW/DE/vehicles/WVWZZZ3CZME071148/charger
[23/05/2023 20:25:28] [API::INFO] Response with code: 403
[5/23/2023, 8:25:28 PM] [WeConnect] Python: [23/05/2023 20:25:28] [API::CRITICAL] Raising error msg: Error 403: [batterycharge.auth.forbidden] The service: rbatterycharge_v1 for VIN: WVWZZZ3CZME071148 could not be found.
[23/05/2023 20:25:28] [WeConnect::ERROR] VWError: Error 403: [batterycharge.auth.forbidden] The service: rbatterycharge_v1 for VIN: WVWZZZ3CZME071148 could not be found.
[5/23/2023, 8:25:28 PM] [WeConnect] Get climatisation state: Error: [23/05/2023 20:25:28] [API::CRITICAL] Raising error msg: Error 403: [batterycharge.auth.forbidden] The service: rbatterycharge_v1 for VIN: WVWZZZ3CZME071148 could not be found.
[23/05/2023 20:25:28] [WeConnect::ERROR] VWError: Error 403: [batterycharge.auth.forbidden] The service: rbatterycharge_v1 for VIN: WVWZZZ3CZME071148 could not be found.
`

Hi @CyberChris79
I added a diesel_car.py to the repo in the master branch, try using that.

Hello @marn06
well, what can i see. First i can say the lock/unlock works now great.
and the second i can say is a big big THANK YOU!
Here is the log for unlock
`
[5/25/2023, 8:57:48 PM] [WeConnect] Python: [25/05/2023 20:57:48] [API::INFO] Preparing command: /realCarData
[5/25/2023, 8:57:48 PM] [WeConnect] Python: [25/05/2023 20:57:48] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/realCarData
[5/25/2023, 8:57:48 PM] [WeConnect] Python: [25/05/2023 20:57:48] [API::INFO] Response with code: 200
[25/05/2023 20:57:48] [WeConnect::INFO] VIN: WVWZZZ3CZME071148
[25/05/2023 20:57:48] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Response with code: 200
[25/05/2023 20:57:49] [API::INFO] Received fal/mal Uri
[25/05/2023 20:57:49] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[25/05/2023 20:57:49] [API::INFO] Response with code: 200
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Requesting secure token
[25/05/2023 20:57:49] [API::INFO] Preparing command: /rolesrights/authorization/v2/vehicles/WVWZZZ3CZME071148/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/rolesrights/authorization/v2/vehicles/WVWZZZ3CZME071148/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Response with code: 200
[25/05/2023 20:57:49] [API::INFO] Received secure token
[25/05/2023 20:57:49] [API::INFO] Generating secure pin
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Generated secure pin
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Completing security pin auth
[25/05/2023 20:57:49] [API::INFO] Preparing command: /rolesrights/authorization/v2/security-pin-auth-completed
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Sending POST request to https://mal-1a.prd.ece.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed
[25/05/2023 20:57:49] [API::INFO] Response with code: 200
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Completed security pin auth
[25/05/2023 20:57:49] [API::INFO] Received security token
[25/05/2023 20:57:49] [API::INFO] Preparing command: /bs/rlu/v1/VW/DE/vehicles/WVWZZZ3CZME071148/actions
[5/25/2023, 8:57:49 PM] [WeConnect] Python: [25/05/2023 20:57:49] [API::INFO] Sending POST request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/VW/DE/vehicles/WVWZZZ3CZME071148/actions
[25/05/2023 20:57:49] [API::INFO] Response with code: 202
`
and this is the log for lock
`
[5/25/2023, 8:58:08 PM] [WeConnect] Python: [25/05/2023 20:58:08] [API::INFO] Preparing command: /realCarData
[5/25/2023, 8:58:08 PM] [WeConnect] Python: [25/05/2023 20:58:08] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/realCarData
[5/25/2023, 8:58:08 PM] [WeConnect] Python: [25/05/2023 20:58:08] [API::INFO] Response with code: 200
[25/05/2023 20:58:08] [WeConnect::INFO] VIN: WVWZZZ3CZME071148
[25/05/2023 20:58:08] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/25/2023, 8:58:08 PM] [WeConnect] Python: [25/05/2023 20:58:08] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[25/05/2023 20:58:08] [API::INFO] Response with code: 200
[5/25/2023, 8:58:08 PM] [WeConnect] Python: [25/05/2023 20:58:08] [API::INFO] Received fal/mal Uri
[25/05/2023 20:58:08] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[5/25/2023, 8:58:08 PM] [WeConnect] Python: [25/05/2023 20:58:08] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[25/05/2023 20:58:08] [API::INFO] Response with code: 200
[5/25/2023, 8:58:10 PM] [WeConnect] Python: [25/05/2023 20:58:10] [API::INFO] Preparing command: /realCarData
[5/25/2023, 8:58:11 PM] [WeConnect] Python: [25/05/2023 20:58:11] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/c0f0fef7-4b2c-43e0-a23c-d32666872032/realCarData
[5/25/2023, 8:58:11 PM] [WeConnect] Python: [25/05/2023 20:58:11] [API::INFO] Response with code: 200
[25/05/2023 20:58:11] [WeConnect::INFO] VIN: WVWZZZ3CZME071148
[25/05/2023 20:58:11] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[5/25/2023, 8:58:11 PM] [WeConnect] Python: [25/05/2023 20:58:11] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVWZZZ3CZME071148/homeRegion
[25/05/2023 20:58:11] [API::INFO] Response with code: 200
[5/25/2023, 8:58:11 PM] [WeConnect] Python: [25/05/2023 20:58:11] [API::INFO] Received fal/mal Uri
[25/05/2023 20:58:11] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[5/25/2023, 8:58:11 PM] [WeConnect] Python: [25/05/2023 20:58:11] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[25/05/2023 20:58:11] [API::INFO] Response with code: 200
`
How is the future plan. Do you integrate it to the next update? Are you creating also an script which installes the pyton 3.9 under Debian Buster 10?
Greetings
CyberChris

Hi @CyberChris79
You're welcome.
I would like to modify the solution to make climatisation work with diesel cars aswell.
Could you try and use the new car_diesel.py and also replace the NativeAPI.py with the NativeAPI_diesel.py ? You need to rename it to NativeAPI.py.
Why do you feel that it is needed to install python 3.9? I would imagine that people are slowly upgrading to newer versions, I myself use python 3.11.

Hello @marn06 ,
now i have uploaded both files and renamed it to car.py and NativeAPI.py
That yould be really great, if the climatisation works also in diesel cars.
No, python 3.9 is not needed, but my old config had python 3.7 and i could not update it to 3.8 or higher. So i decided to upgrade my Linux version from 10 to 11 and now i've got the python 3.9.2 as default.
So it would be great to have the 3.9.2 in Debian 10 also. I did not get it.

Hi @CyberChris79
Can you send the log when you try to use climatisation with the new files?

Hello @marn06 ,
sorry for the delay,
After i updated to v1.0.16, i get following messages time after time
[6/3/2023, 8:07:01 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:01 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:01 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:01 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'Battery Level': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:14 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:14 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:14 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info. [6/3/2023, 8:07:14 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'Battery Level': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
If i now activate or deactive the climate function, i get the follwing error message
`
[6/3/2023, 8:09:28 AM] [Homebridge UI] Homebridge log truncated by admin.
[6/3/2023, 8:09:34 AM] [WeConnect] Python: Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 21, in
logging.FileHandler('weconnect.log'),
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/usr/lib/node_modules/homebridge-vw/dist/weconnect.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 40, in
logger.error('Fatal Error: ' + str(e))
NameError: name 'logger' is not defined
[6/3/2023, 8:09:34 AM] [WeConnect] Set climatisation state Error: Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 21, in
logging.FileHandler('weconnect.log'),
File "/usr/lib/python3.9/logging/init.py", line 1142, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python3.9/logging/init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: '/usr/lib/node_modules/homebridge-vw/dist/weconnect.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/node_modules/homebridge-vw/dist/main.py", line 40, in
logger.error('Fatal Error: ' + str(e))
NameError: name 'logger' is not defined
[6/3/2023, 8:09:39 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[6/3/2023, 8:09:39 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
[6/3/2023, 8:09:39 AM] [homebridge-vw] This plugin generated a warning from the characteristic 'On': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://homebridge.io/w/JtMGR for more info.
`

Hi @CyberChris79
There's an issue with permissions as you saw previously, see the error:
PermissionError: [Errno 13] Permission denied: '/usr/lib/node_modules/homebridge-vw/dist/weconnect.log'

Hi @CyberChris79
Since I don't have access to a diesel car with WeConnect I am sort of developing in blind, so I have modified the diesel_car.py file to use heating instead of climatisation which is what I believe works with a diesel car. You can try it out and see if it works, if not there's not much more I can do.

Hello @marn06 ,
thank you very much. I updated the diesel_car.py file with your new one.
Unfortunately it does not start the climatisation, so you can't help me further by this issue.
You need anybody close to you with a diesel car.
This is my log file right now.
`
[6/17/2023, 2:06:34 PM] [WeConnect] Python: [17/06/2023 14:06:34] [API::WARNING] Access file not found
[17/06/2023 14:06:34] [API::WARNING] Forcing login
[6/17/2023, 2:06:34 PM] [WeConnect] Python: [17/06/2023 14:06:34] [API::INFO] Attempting to login
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/signin/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com?relayState=8b33756cd8afd842b421adc9c7a008d119850b25
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Response with code: 200
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Found email login url: /signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/identifier
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Sending GET request to https://identity.vwgroup.io/signin-service/v1/9496332b-ea03-4091-a224-8c746b885068@apps_vw-dilab_com/login/authenticate?relayState=8b33756cd8afd842b421adc9c7a008d119850b25
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Response with code: 200
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Sending GET request to carnet://identity-kit/login#state=8UU4LEZwFOysEWX2WCzuiFS-u9aD1wuSXCBl8zGV0XX&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjMGYwZmVmNy00YjJjLTQzZTAtYTIzYy1kMzI2NjY4NzIwMzIiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczpcL1wvaWRlbnRpdHkudndncm91cC5pb1wvYXNzdXJhbmNlXC9sb2EtMiIsInNjcCI6Im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hwIjoxNjg3MDA3MTk1LCJpYXQiOjE2ODcwMDM1OTUsImp0aSI6ImVkNWE0NTJiLWY4YjktNDRkYS05YzlkLTIwZDI1MmVhNzNmYSIsImVtYWlsIjoiY2hyaXN0aWFuQHN1dGEuZGUifQ.hNZ8xX84_a0tD28mKMriyV48roGQVmgyX5G44M0R9LZ7VcvVWM1LuntbWYEKdJNbbpbfSJ-I0AjLoeUNznhGkvtrkckQpp-ONwzIEP1XmQRj-lPtsMw8EEl4la1YoYSvCEEtuf3DQJMBct7ZKlFGvloQCWYCJWzWwGKmRd2E1F3caUzoCq7U8Yz__ODdYdSei6NyirPZ15B2r0x4w6--0qEBDFrHaoQEg3VQuOQqQwvNv323omqnRzLwAFKDzROHBMxGLUWB_pYT3N4wKlCW6dHbHz7NGSaUf8X1Cfca5OwzTm8yC9_a4pyTDgSybc1ONowQP9rkJirBJsidQv1Owj87h1c1SWsLZjWvAeJf5Mn0FyVCTkiWiN_kPj9faZ8XbzP4P0_vCOf53s2sauONonHcirzM3p3bSbCl2a33EknsegewIG0HMFcoJeh9kRrMoFFcr3KrB_7QF0_UjqYIqtNRLICYOmfMPUXzH3tSyzaAtwiQxNJWmT57CIfjhlsSQBvG7RPky_0T27-fNhJjBulvvXdp48hi9r9OcXmo3gv7gEUd1faZSOhEDMsT3BJyxau97LKezcts0mPv45tMuiUgSohISVXxsMxyNlWknrt5CEZA5QhFZoHlpSx-CX4pRN4R36g0Sz6-yPYDfRNmWu_pS8AZrj64J5XHSa0WWUc
[6/17/2023, 2:06:35 PM] [WeConnect] Python: [17/06/2023 14:06:35] [API::INFO] Response with code: 200
[17/06/2023 14:06:35] [API::INFO] Received Identities
[17/06/2023 14:06:35] [API::INFO] Received CarNet Identity Kit
[17/06/2023 14:06:35] [API::INFO] Requesting Tokens
[6/17/2023, 2:06:36 PM] [WeConnect] Python: [17/06/2023 14:06:36] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[17/06/2023 14:06:36] [API::INFO] Response with code: 200
[6/17/2023, 2:06:36 PM] [WeConnect] Python: [17/06/2023 14:06:36] [API::INFO] Received Tokens
[17/06/2023 14:06:36] [API::WARNING] X-client-id not found.  The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[6/17/2023, 2:06:37 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[6/17/2023, 2:06:37 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[6/17/2023, 2:06:37 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[6/17/2023, 2:06:37 PM] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[6/17/2023, 2:06:37 PM] [WeConnect] Python: [17/06/2023 14:06:37] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/vsr/v1/VW/DE/vehicles/WVWZZZ3CZME071148/status
[17/06/2023 14:06:37] [API::INFO] Response with code: 200
[6/17/2023, 2:06:37 PM] [WeConnect] Python: [17/06/2023 14:06:37] [VSR::WARNING] [parse_vsr] item 0x0202FFFFFF, field 0x020203A222 not found
[6/17/2023, 2:06:37 PM] [WeConnect] Python: [17/06/2023 14:06:37] [VSR::WARNING] [parse_vsr] {'id': '0x020203A222', 'tsCarSentUtc': '2023-06-15T06:44:06Z', 'tsCarSent': '2023-06-15T08:44:13', 'tsCarCaptured': '2023-06-13T11:34:55', 'tsTssReceivedUtc': '2023-06-15T06:44:06Z', 'milCarCaptured': 20191, 'milCarSent': 20260, 'textId': 'warning.msgA222'}
[6/17/2023, 2:06:37 PM] [WeConnect] Python: [17/06/2023 14:06:37] [API::INFO] Preparing command: /bs/climatisation/v1/VW/DE/vehicles/WVWZZZ3CZME071148/climater
[6/17/2023, 2:06:37 PM] [WeConnect] Python: [17/06/2023 14:06:37] [API::INFO] Sending GET request to https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/climatisation/v1/VW/DE/vehicles/WVWZZZ3CZME071148/climater
[17/06/2023 14:06:37] [API::INFO] Response with code: 403
[6/17/2023, 2:06:37 PM] [WeConnect] Python: [17/06/2023 14:06:37] [API::CRITICAL] Raising error msg: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found.
[17/06/2023 14:06:37] [WeConnect::ERROR] VWError: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found.
[6/17/2023, 2:06:37 PM] [WeConnect] Get climatisation state: Error: [17/06/2023 14:06:37] [API::CRITICAL] Raising error msg: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found.
[17/06/2023 14:06:37] [WeConnect::ERROR] VWError: Error 403: [climatisation.auth.forbidden] The service: rclima_v1 for VIN: WVWZZZ3CZME071148 could not be found.
`
Thank you very much for your help
Cheers
Chris

Hi @CyberChris79
Based on your log it actually does not seem as if you replaced the diesel_car.py file with the new version. Can you please double check? The new file should use heating instead of climatisation.

Hello @marn06 ,
sorry for my delay.
I have compared the file before and the current you have created.
This is the file i replaced actually

and this is the source code of the file i am using right now
https://pastebin.com/L12PfBh2
So i think i am using the right file which you have changed again and where you are using heating instead of climatisation.

Hi @CyberChris79
Okay, well unfortunately I guess we're left at it being difficult for me to troubleshoot more now that I do not have access to a diesel car.

Hi
I am having trouble with the plugin again.  For some reason it is giving this error:
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::WARNING] Access file not found
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::WARNING] Forcing login
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::INFO] Attempting to login
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::INFO] Sending GET request to @.***_vw-dilab_com?relayState=bcfeaa6176a5e828d013c9ba1aa8a6c787834ce9
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::INFO] Response with code: 200
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::INFO] Found email login url: @.***_vw-dilab_com/login/identifier
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::INFO] Sending GET request to @.***_vw-dilab_com/login/authenticate?relayState=bcfeaa6176a5e828d013c9ba1aa8a6c787834ce9
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::INFO] Response with code: 200
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [API::CRITICAL] Raising error msg: Cannot find IDK credentials
[11/08/2023, 14:29:26] [WeConnect] Python: [11/08/2023 14:29:26] [WeConnect::ERROR] VWError: Cannot find IDK credentials
[11/08/2023, 14:29:26] [WeConnect] Get climatisation state: Error: [11/08/2023 14:29:26] [WeConnect::ERROR] VWError: Cannot find IDK credentials

Hi @gawain33
Please see: https://github.com/marn06/homebridge-vw/issues/7#issuecomment-1676865566

Hi @gawain33
I have just uploaded a new version 1.0.22 which should show more information about the error, try that.

Thank you:
[14/08/2023, 13:40:52] [WeConnect] Python: [14/08/2023 13:40:52] [API::WARNING] Session file not found
[14/08/2023, 13:40:52] [WeConnect] Python: [14/08/2023 13:40:52] [API::WARNING] Access file not found
[14/08/2023 13:40:52] [API::INFO] logger
[14/08/2023, 13:40:52] [WeConnect] Python: [14/08/2023 13:40:52] [API::WARNING] Forcing login
[14/08/2023, 13:40:52] [WeConnect] Python: [14/08/2023 13:40:52] [API::INFO] Attempting to login
[14/08/2023, 13:40:53] [WeConnect] Python: [14/08/2023 13:40:53] [API::INFO] Sending GET request to @.***_vw-dilab_com?relayState=12e6d16065758c7c7aafb4a3f1381eb3c7b725c8
[14/08/2023, 13:40:53] [WeConnect] Python: [14/08/2023 13:40:53] [API::INFO] Response with code: 200
[14/08/2023, 13:40:53] [WeConnect] Python: [14/08/2023 13:40:53] [API::INFO] Found email login url: @.***_vw-dilab_com/login/identifier
[14/08/2023, 13:40:53] [WeConnect] Python: [14/08/2023 13:40:53] [API::INFO] Sending GET request to @.***_vw-dilab_com/login/authenticate?relayState=12e6d16065758c7c7aafb4a3f1381eb3c7b725c8
[14/08/2023, 13:40:53] [WeConnect] Python: [14/08/2023 13:40:53] [API::INFO] Response with code: 200
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Sending GET request to carnet://identity-kit/login#state=-5zo7DLcyzdPzaarLtAwyGzcxkYrLgvM8TsBOWZ07oo&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIyNTNhMzgyZi1lY2I3LTQ0YzctYWQ5Ny05NjFjMDBiYTcxZTEiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczovL2lkZW50aXR5LnZ3Z3JvdXAuaW8vYXNzdXJhbmNlL2xvYS0yIiwic2NwIjoib3BlbmlkIHByb2ZpbGUgbWJiIGNhcnMgYmlydGhkYXRlIG5pY2tuYW1lIGFkZHJlc3MgcGhvbmUiLCJhYXQiOiJpZGVudGl0eWtpdCIsImlzcyI6Imh0dHBzOi8vaWRlbnRpdHkudndncm91cC5pbyIsImp0dCI6ImF1dGhvcml6YXRpb25fY29kZSIsImV4cCI6MTY5MjAxMzU1NCwiaWF0IjoxNjkyMDEzMjU0LCJub25jZSI6Im9PdVo3Z1d6R3lqYkVmalVWWFRHRG9PSXBZQUlCREVCTFZIZEFYWkdhaVYiLCJqdGkiOiIxYWUzNTQ4My00OWQxLTQ2ZDUtYjh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V_fciT2APKEaqDY1sHwNMVh3QRuooDTk1jTFbcABYQ4YCepD6569ZBhTixSDig_N9iKGW5I3dQEv_nlCdjMNZ0pM7jeQw8yiJAEzWhzMXpTQYaVQ907r6RShYiSMC1zHg78gGSuZrLVKTtVKKrDq2axpDFg09dxL3ltEU_IeeGEnHM1tAaS72NpBCWzgqTZFg2GzivtFduZqmInGxwy4jDpZbnzeUElDGwyiec0BdrwzphThIl0kwKuDiT7QjXXJckW4Ms3WEsZh74c9sV31mCS92A_74eVaivt2dFQtNCuMDZY-GBrmm9J2cWQhhdQtMybL5rdhoqHzWgAgqjwI81O7YBWhA5wkCAJuTpGbEuvxz9pyltpxauQVq0EZ3y2XqHqEqBmmRmx5koCc4H5c3v9o4U4s9XQumUq5RDU1FkOK5DMXRIfV0qs2OkfznySUWB-crp715hP0mN1V0V0D7t6dxjm_CM
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Response with code: 200
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Received Identities
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Received CarNet Identity Kit
[14/08/2023 13:40:54] [API::INFO] Requesting Tokens
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Response with code: 200
[14/08/2023, 13:40:54] [WeConnect] Python: [14/08/2023 13:40:54] [API::INFO] Received Tokens
[14/08/2023 13:40:54] [API::WARNING] X-client-id not found. Requesting a new one
[14/08/2023, 13:40:55] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:40:55] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:40:55] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:40:55] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:40:55] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/register/v1
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Response with code: 200
[14/08/2023 13:40:55] [API::INFO] Received X-client-id
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Requesting OAuth [fal]
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Response with code: 200
[14/08/2023 13:40:55] [API::INFO] Received OAuth [fal]
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Requesting OAuth [cubic]
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/oauth2/v1/token
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Response with code: 200
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Saving access to file
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Requesting personal data
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Preparing command: /personalData
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Sending GET request to https://customer-profile.apps.emea.vwapps.io/v1/customers/253a382f-ecb7-44c7-ad97-961c00ba71e1/personalData
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Response with code: 200
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Received business identity
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Saving access to file
[14/08/2023, 13:40:55] [WeConnect] Python: [14/08/2023 13:40:55] [API::INFO] Preparing command: /cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Sending GET request to https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/WVGZZZCRZMD038890/homeRegion
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Response with code: 200
[14/08/2023 13:40:56] [API::INFO] Received fal/mal Uri
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Preparing command: /bs/vsr/v1/VW/DE/vehicles/WVGZZZCRZMD038890/status
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/vsr/v1/VW/DE/vehicles/WVGZZZCRZMD038890/status
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Response with code: 200
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [VSR::WARNING] [parse_vsr] item 0x02040C0002, field 0x02040C0002 not found
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [VSR::WARNING] [parse_vsr] {'id': '0x02040C0002', 'tsCarSentUtc': '2023-08-13T13:30:51Z', 'tsCarSent': '2023-08-13T13:30:42', 'tsCarCaptured': '2023-08-13T15:30:42', 'tsTssReceivedUtc': '2023-08-13T13:30:44Z', 'milCarCaptured': 37920, 'milCarSent': 37920, 'textId': 'scr.no_driveability'}
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Preparing command: /bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/climatisation/v1/VW/DE/vehicles/WVGZZZCRZMD038890/climater
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Response with code: 200
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Preparing command: /bs/batterycharge/v1/VW/DE/vehicles/WVGZZZCRZMD038890/charger
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Sending GET request to https://msg.volkswagen.de/fs-car/bs/batterycharge/v1/VW/DE/vehicles/WVGZZZCRZMD038890/charger
[14/08/2023, 13:40:56] [WeConnect] Python: [14/08/2023 13:40:56] [API::INFO] Response with code: 200
[14/08/2023, 13:40:56] [WeConnect] Get current state on data received:
window._IDK = {
templateModel: @._vw-dilab_com","clientAppName":"We Connect App","clientAppDisplayName":"We Connect App","legalEntityInfo":{"name":"Volkswagen","shortName":"VOLKSWAGEN","productName":"Volkswagen @.@.>@.@.@.>,"password":null},"error":null,"relayState":"12e6d16065758c7c7aafb4a3f1381eb3c7b725c8","nextButtonDisabled":false,"enableNextButtonAfterSeconds":0,"postAction":"login/authenticate","identifierUrl":"login/identifier"},
disabledFeatures: {
isFooterEnabled: true,
},
currentLocale: 'en',
csrf_parameterName: '_csrf',
csrf_token: 'Vyky00uHqBtzzXv8FJaCHn8veb5FU_eBgCvw6cIFVLgEfy_WNEhT6nm_mShe9UOaIru2LEYWVIZwZMes5hPJ2vpjMoo0Ghbl',
userSession: {
userId: '',
countryOfResidence: ''
},
baseUrl: 'https://identity.vwgroup.io',
consentBaseUrl: 'http://consentapi-service.idk-peu.svc.cluster.local:8080'
}
{
"templateModel": @._vw-dilab_com","clientAppName":"We Connect App","clientAppDisplayName":"We Connect App","legalEntityInfo":{"name":"Volkswagen","shortName":"VOLKSWAGEN","productName":"Volkswagen @.@.>@.@.@.>,"password":null},"error":null,"relayState":"12e6d16065758c7c7aafb4a3f1381eb3c7b725c8","nextButtonDisabled":false,"enableNextButtonAfterSeconds":0,"postAction":"login/authenticate","identifierUrl":"login/identifier"},
"disabledFeatures": {
"isFooterEnabled": true,
},
"currentLocale": "en",
"csrf_parameterName": "_csrf",
"csrf_token": "Vyky00uHqBtzzXv8FJaCHn8veb5FU_eBgCvw6cIFVLgEfy_WNEhT6nm_mShe9UOaIru2LEYWVIZwZMes5hPJ2vpjMoo0Ghbl",
"userSession": {
"userId": "",
"countryOfResidence": ""
},
"baseUrl": https://identity.vwgroup.io,
"consentBaseUrl": http://consentapi-service.idk-peu.svc.cluster.local:8080
}
{"climatisation": false, "windowHeating": false, "locked": true, "batteryLevel": 100, "charging": true}
with error: SyntaxError: Unexpected token w in JSON at position 9
[14/08/2023, 13:40:57] [WeConnect] Get climatisation state: Error: [14/08/2023 13:40:56] [API::INFO] Response with code: 200
On 14/08/2023, 13:38, "marn06" @.***> wrote:
Hi @gawain33https://github.com/gawain33
I have just uploaded a new version 1.0.22 which should show more information about the error, try that.
—
Reply to this email directly, view it on GitHubhttps://github.com/marn06/homebridge-vw/issues/3#issuecomment-1677161984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7EJHP6NRQVR6U47RLPTSK3XVIE25ANCNFSM6AAAAAAWLQXRYU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gawain33
Based on that, I have released a new version 1.0.24 which at least fixes that issue, but I wouldn't be surprised if there are a lot more, and I cannot really troubleshoot myself :).

Great thank you marn06
It is workig now and here’s the log if that’s useful:
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::WARNING] Session file not found
[14/08/2023 13:53:19] [API::WARNING] Access file not found
[14/08/2023 13:53:19] [API::INFO] logger
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::WARNING] Forcing login
[14/08/2023 13:53:19] [API::INFO] Attempting to login
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::INFO] Sending GET request to @.***_vw-dilab_com?relayState=6eef2cb3c8657625d5490739b3073f76cb599f5f
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::INFO] Response with code: 200
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::INFO] Found email login url: @.***_vw-dilab_com/login/identifier
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::INFO] Sending GET request to @.***_vw-dilab_com/login/authenticate?relayState=6eef2cb3c8657625d5490739b3073f76cb599f5f
[14/08/2023, 13:53:19] [WeConnect] Python: [14/08/2023 13:53:19] [API::INFO] Response with code: 200
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Sending GET request to carnet://identity-kit/login#state=bcfBr8ryVVKRoE0v5567u7akFICYx5fQCpI3n0wLLCH&code=eyJraWQiOiI0ODEyODgzZi05Y2FiLTQwMWMtYTI5OC0wZmEyMTA5Y2ViY2EiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIyNTNhMzgyZi1lY2I3LTQ0YzctYWQ5Ny05NjFjMDBiYTcxZTEiLCJhdWQiOiI5NDk2MzMyYi1lYTAzLTQwOTEtYTIyNC04Yzc0NmI4ODUwNjhAYXBwc192dy1kaWxhYl9jb20iLCJhY3IiOiJodHRwczovL2lkZW50aXR5LnZ3Z3JvdXAuaW8vYXNzdXJhbmNlL2xvYS0yIiwic2NwIjoib3BlbmlkIHByb2ZpbGUgbWJiIGNhcnMgYmlydGhkYXRlIG5pY2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NDY0NC05ZjM5LTdjZTZlNGFiMTJjMSIsImVtYWlsIjoiZ2F2aW5AY3JheXN0b24uYXQifQ.AgnUpjagZ5fl231y03RVkBvwgFdWBqfsrqiu9JS-BZ6fZrNe-vvMUUxCdo0XurXRSUr8BCtljL2lcF5cBUMdGUxNBYR5tr9PDjrvX7RhpEW8mh5FWARwsE6nwTDTZKd48AEebzHHJQVDL__ILSUckcomvJTstH2_cfGBOwY55BX4TWpHmUFi5wUVU6hWJTpm76fMIzCFWKhhFwcNHWuiJZH7xUY4MReMoiOeslarbNR9XPuorfxmCM6sbTLD2GeTfjfHjH1fHYd_tUOPAeszowEhYdbX9-TFhfr5aGraZqpOk5mDExDW4qZ7D0XbXH6HauoVLx1zWItyUnzlGwys7_MtfTHHhyCel0aufdBEU9ulD2ye_Dan4abgnjo0fIukuK7hpS_PZN3Wux_iLsOaLVMNSvOsdD5Vn-Gr9oOW3rrMEI8Lqy2anm_fX4PZ6mr283338pMFfwfNC0HxidCd1ybDFUHLUzL1tXM82SAsdL5IJ1JaEJwhipFa6iIBO9bySGeMF5XjV-MQ5AhVWYZRUZwrp6YmYIGGBpybv-sSdQa2w2460tawl22cAl6lSQTxXVaUwmhbexzSW-qCXoXN7wPJgsKyPoNZ-2i4Nf02XXkb0i9_rHEICpgV9tRZ_XVe0inzR_uKz53e6TCPTp5PAQu3REDLJAb1nUNILCb7vdQ
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Response with code: 200
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Received Identities
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Received CarNet Identity Kit
[14/08/2023 13:53:20] [API::INFO] Requesting Tokens
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/exchangeAuthCode
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Response with code: 200
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::INFO] Received Tokens
[14/08/2023, 13:53:20] [WeConnect] Python: [14/08/2023 13:53:20] [API::WARNING] X-client-id not found. Requesting a new one
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Sending POST request to https://mbboauth-1d.prd.ece.vwg-connect.com/mbbcoauth/mobile/register/v1
[14/08/2023, 13:53:21] [WeConnect] Python: [14/08/2023 13:53:21] [API::INFO] Response with code: 200
[14/08/2023 13:53:21] [API::INFO] Received X-client-id
[14/08/2023 13:53:21] [API::INFO] Requesting OAuth [fal]
[14/08/2023, 13:53:21] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:53:21] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[14/08/2023, 13:53:21] [homebridge-vw] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Current State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.