Comments (9)
I was not aware my car supported smartlink, learn something new everyday.
I look forward to testing the new RC.
from homeassistant-skodaconnect.
Does latest non-RC release work?
from homeassistant-skodaconnect.
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.
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.
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.
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.
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.
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.
Closing this issue since it should be fixed in later releases
from homeassistant-skodaconnect.
Related Issues (20)
- Seat-Heating state wrong?!? HOT 3
- NewApp HOT 1
- Trunck lid status HOT 6
- Integration stopped working with HA Update HOT 5
- Skoda Connect - Integration Setup - Problem - Login to Skoda Connect fails HOT 2
- SkodaConnectConfigFlow calls async_show_progress - Will break with Home assistant 2024.8
- Odometer sensor is unavailable for my Superb iV MJ. 2019 HOT 2
- API and Android APPS timeout HOT 3
- Failed to login HOT 2
- Image can't be loaded HOT 12
- Hi, the odometerreading with HA does not reflect the milage shown on the app or in the vehicle. Also the range is incoorect with both the app and the vehicle. It has been like this for @ 10 days. Just updated integration this morning and no difference. HOT 7
- Update to documentation for charge speed guestimate.
- Impossible de se connecter sur Home assistant HOT 3
- Cannot login to integration - Invalid token "None" HOT 4
- Cannot Login - "Missing consent for technical scope" HOT 1
- KeyError in _async_setup_platform / async_setup_entry -> all values "unavailable" in HA dashboard HOT 10
- Turning off/on polling errors out the integration, making all sensors become unavailable HOT 3
- MyŠkoda Essentials app and the Škoda Connect portal is shutting down HOT 4
- Unable to pass initial configuration with error message HOT 2
- Discontinuity MySkoda Essentials and Skoda Connect Portal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-skodaconnect.