Comments (3)
Update: The car wasn't driven in few hours, so i went to the car and drove it for few kms and after that the climatization controls began to work!
from weconnect-python.
I also had the problem this morning. It might be temporary.
There are two error cases. You can get an exception raised right away if starting fails. But there are situations where the command is received at the server, but later fails in the car. You can find that out when you update and then check the climatisationStatus. It will have an entry in the requests list containing a requests object with a status. The status can be out of:
SUCCESSFULL = 'successful'
FAIL = 'fail'
POLLING_TIMEOUT = 'polling_timeout'
IN_PROGRESS = 'in_progress'
QUEUED = 'queued'
DELAYED = 'delayed'
TIMEOUT = 'timeout'
FAIL_VEHICLE_IS_OFFLINE = 'fail_vehicle_is_offline'
FAIL_IGNITION_ON = 'fail_ignition_on'
FAIL_BATTERY_LOW = 'fail_battery_low'
FAIL_PLUG_ERROR = 'fail_plug_error'
FAIL_CHARGE_PLUG_NOT_CONNECTED = 'fail_charge_plug_not_connected'
UNKNOWN = 'unknown status'
it will start in QUEUED state, then move to IN_PROGRESS and then result in SUCCESSFULL or any of the failure states. That will help you finding out what happened with your control command.
Instead of manually updating you can also register for evens in the climatisationStatus with a callback and set enableTracker() on your WeConnect instance. This one will poll for itself until the Request is in SUCCESSFULL or FAILED state.
from weconnect-python.
I have had problems on swithing heating on with ID.4 using mobile app. Typically I need to repeat it 3 times before it activates. Today I clicked only once and waited by the car. It went on after waiting for 2 minutes. So you just have to be patient. If the car has been driven recently, it is faster.
from weconnect-python.
Related Issues (20)
- Not sure if it's a bug, but I can't find a way to set the value of targetSOC_pct. Setting the value in vehicle.domains["charging"]["chargingSettings"].targetSOC_pct does not seem to have any effect, and I can't find anything in vehicle.controls. Is there any way to set it? Otherwise, a great library which has been extremely useful - thank you! HOT 3
- Cupra Gen3 (Hybrid) support
- I cannot install with "pip3 install weconnect[Images]" HOT 2
- Repeating log entries reporting 'failed downloading picture' for ID. Buzz HOT 9
- I have a Skoda iV and would love to help HOT 1
- Unknown attributes temperatureHvBatteryMin_K, temperatureHvBatteryMax_K HOT 4
- Retrieving credentials page was not successfull, status code: 400 HOT 1
- An unsupported status: 1018 was provided, please report this as a bug
- Unknown attributes HOT 4
- unsupported status and unknown attributes
- VW ID4 unsupported status 1018 6 times
- Unknown attribute maxChargeCurrentAC_A
- Unknown attribute recurringOn and Unknown attribute targetTimeLocal
- An unsupported status: 3006 was provided, please report this as a bug
- Library broken HOT 3
- Frequency of update() calls HOT 2
- Unsupported attribute value was provided HOT 1
- Unsupported targetSOCreachable: reachable was provided, known values are [invalid, calculating, unknown] please report this as a bug. HOT 2
- Unknown attribute temperatureOutsideStatus
- Home Assistant - An unsupported chargeType: unsupported was provided, known values are [invalid, off, ac, dc, unknown charge type] HOT 2
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 weconnect-python.