GithubHelp home page GithubHelp logo

Comments (9)

NNMavy avatar NNMavy commented on June 16, 2024 1

I was not aware my car supported smartlink, learn something new everyday.

I look forward to testing the new RC.

from homeassistant-skodaconnect.

Farfar avatar Farfar commented on June 16, 2024

Does latest non-RC release work?

from homeassistant-skodaconnect.

NNMavy avatar NNMavy commented on June 16, 2024

v1.0.38 does appear to work yes. I upgraded to the RC because of another issue I was having, I just don't remember which one.

EDIT: I just got reminded why I upgraded to the RC. Current release is spamming the logs with errors about failed login after a while.

2021-06-08 20:00:25 WARNING (MainThread) [skodaconnect.connection] Login for skoda account failed!
2021-06-08 20:00:25 WARNING (MainThread) [skodaconnect.connection] Could not update information: Login for skoda account failed
2021-06-08 20:00:25 WARNING (MainThread) [custom_components.skodaconnect] Could not query update from Skoda Connect

from homeassistant-skodaconnect.

Farfar avatar Farfar commented on June 16, 2024

OK. With RC5, can you enable debug logging and response debug and upload info here please?
You could also clone the latest library and run the example code. Open the examply.py and add your username/password combo, change printresponse to true and run with python3.

The interesting line is the one that looks like this (taken from debug for my car):
DEBUG:skodaconnect.connection:Request for "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" returned with status code [200], response: [{'id': '', 'vin': '', 'lastUpdatedAt': '2021-06-09T11:13:29.961518Z', 'specification': {'title': 'ŠKODA Superb Combi', 'brand': 'ŠKODA', 'model': 'Superb', 'body': 'Combi', 'systemCode': 'SUP.COM iV L&K TS 115/1.4 A6F', 'systemModelId': '3V55XC', 'engine': {'type': 'TSI iV', 'powerInKW': 160, 'capacityInLiters': 1.4}, 'gearbox': {'type': 'A6F'}, 'trimLevel': 'L&K', 'manufacturingDate': '2020-01-31', 'devicePlatform': 'MBB_ODP'}, 'connectivities': [{'type': 'ONLINE'}], 'capabilities': [{'id': 'DCS', 'statuses': []}]}]

The most interesting would be the "connectivities" value.

from homeassistant-skodaconnect.

NNMavy avatar NNMavy commented on June 16, 2024

The library returns the following:

DEBUG:skodaconnect.connection:Request for "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" returned with status code [200], response: [{'id': 'id', 'vin': 'vin', 'lastUpdatedAt': '2021-06-09T11:57:20.314623Z', 'specification': {'title': 'ŠKODA Karoq', 'brand': 'ŠKODA', 'model': 'Karoq', 'body': 'SUV', 'systemCode': 'KAROQ SPO TS 110/1.5 A7F', 'systemModelId': 'NU7RND', 'engine': {'type': 'TSI', 'powerInKW': 110, 'capacityInLiters': 1.5}, 'gearbox': {'type': 'A7F'}, 'trimLevel': 'Sportline', 'manufacturingDate': '2020-03-13', 'devicePlatform': 'MBB'}, 'connectivities': [{'type': 'INCAR', 'detail': {'incar': {'state': 'ACTIVATED'}}}, {'type': 'ONLINE'}], 'capabilities': [{'id': 'DCS', 'statuses': []}]}]

from homeassistant-skodaconnect.

Farfar avatar Farfar commented on June 16, 2024

The library returns the following:

DEBUG:skodaconnect.connection:Request for "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" returned with status code [200], response: [{'id': 'id', 'vin': 'vin', 'lastUpdatedAt': '2021-06-09T11:57:20.314623Z', 'specification': {'title': 'ŠKODA Karoq', 'brand': 'ŠKODA', 'model': 'Karoq', 'body': 'SUV', 'systemCode': 'KAROQ SPO TS 110/1.5 A7F', 'systemModelId': 'NU7RND', 'engine': {'type': 'TSI', 'powerInKW': 110, 'capacityInLiters': 1.5}, 'gearbox': {'type': 'A7F'}, 'trimLevel': 'Sportline', 'manufacturingDate': '2020-03-13', 'devicePlatform': 'MBB'}, 'connectivities': [{'type': 'INCAR', 'detail': {'incar': {'state': 'ACTIVATED'}}}, {'type': 'ONLINE'}], 'capabilities': [{'id': 'DCS', 'statuses': []}]}]

Thanks, I see the issue now. I haven't seen a vehicle with both Smartlink capabilities and Skoda Connect. The way the library works right now it expects only one capability and will use the first match, Smartlink (INCAR) in your case.
I have rewritten the code and it should work with your car now, please pull the latest commit and test with example code.
If it works I will release a new RC.

from homeassistant-skodaconnect.

NNMavy avatar NNMavy commented on June 16, 2024

The latest commit works. I wonder if my car has both capabilities because I have asked Skoda to enable the remote locking functionality.

from homeassistant-skodaconnect.

Farfar avatar Farfar commented on June 16, 2024

The latest commit works. I wonder if my car has both capabilities because I have asked Skoda to enable the remote locking functionality.

That's good to know, then the fix works and I can commit new RC release.
The remote locking is part of Connect service, Smartlink is for cars without online services at all, your phone when connected to the car extracts the data and uploads to the servers.

from homeassistant-skodaconnect.

Farfar avatar Farfar commented on June 16, 2024

Closing this issue since it should be fixed in later releases

from homeassistant-skodaconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.