Comments (17)
Yes, VW extended the interface again. Will add this as soon as I understood what possible values there are.
from weconnect-python.
Yeah wil check tomorrow! Thanks for you time ;)
from weconnect-python.
0.37.0 was just released
from weconnect-python.
Any idea when you can add these attributes? I've tried the beta/alpha version, the new attributes are added but other things stopped working.
from weconnect-python.
In theory I can release 0.37.0 tonight. But what kind of thing stopped working? That would be a reason not to release.
from weconnect-python.
After setting the target temperature
Traceback (most recent call last):
File "/workspaces/core/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/workspaces/core/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/workspaces/core/homeassistant/components/volkswagen_we_connect_id/__init__.py", line 46, in async_update_data
await hass.async_add_executor_job(_we_connect.update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 175, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 198, in updateVehicles
self.__vehicles[vin].update(fromDict=vehicleDict, updateCapabilities=updateCapabilities, updatePictures=updatePictures,
File "/usr/local/lib/python3.9/site-packages/weconnect/elements/vehicle.py", line 197, in update
self.updateStatus(updateCapabilities=updateCapabilities, force=force, selective=selective)
File "/usr/local/lib/python3.9/site-packages/weconnect/elements/vehicle.py", line 288, in updateStatus
self.domains[domain.value][key].update(fromDict=data[domain.value][key])
File "/usr/local/lib/python3.9/site-packages/weconnect/elements/climatization_settings.py", line 75, in update
self.targetTemperature_C.fromDict(fromDict['value'], 'targetTemperature_C')
AttributeError: 'float' object has no attribute 'fromDict'```
from weconnect-python.
hmmm, can you show the code where you set the temperature?
from weconnect-python.
try:
vehicle.domains["climatisation"][
"climatisationSettings"
].targetTemperature_C = target_temperature
_LOGGER.info("Sended target temperature call to the car")
except Exception as exc:
_LOGGER.error("Failed to send request to car - %s", exc)
return False
from weconnect-python.
you have to change
targetTemperature_C = target_temperature
to
targetTemperature_C.value = target_temperature
from weconnect-python.
Then i got
Failed to send request to car - 'type' object is not iterable
from weconnect-python.
that is a bug!
from weconnect-python.
You can try 0.37.0.dev5
from weconnect-python.
That's a fast bugfix, will try it right now ;)
from weconnect-python.
Hmm i don't think it sets the value right now
from weconnect-python.
Can you see what the request status is? When I open the ID app I see an error message and when I try to set the value through the API get the request status Request: start operation, status polling_timeout information: Your vehicle is not reachable at the moment. Please try again later. Request Id: e654a0b5-24b1-4907-b8d7-f3e080e6e5a7
after a while. So maybe some technical problems at VW?
from weconnect-python.
hmm yea i got issues with the app as well today. So maby Volkswagen is doing stuff again...
from weconnect-python.
Maybe a good idea to delay the release to tomorrow and check if its works again :)
from weconnect-python.
Related Issues (20)
- Upgrade requests HOT 2
- Unknown attribute notificationId / Unknown attribute iconColor HOT 3
- how to set the preferredChargeMode ? HOT 3
- Parking position HOT 2
- An unsupported batteryPowerLevel: emergency was provided HOT 5
- Unknown attribute averageAuxConsumption/averageRecuperation HOT 3
- VehicleType: fuel HOT 1
- service not known error using the example - cupra born HOT 1
- Trip data are not updated HOT 1
- 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
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.