Comments (19)
Yea, I will add battery care settings as soon as I find time.
from weconnect-python.
Currently not. I will need to find another way to deal with setting a new value
from weconnect-python.
Unfortunately my car does not support battery care yet. What does weconnect-cli -vv --selective all get /
give? Are there warnings?
from weconnect-python.
Unfortunately my car does not support battery care yet. What does
weconnect-cli -vv --selective all get /
give? Are there warnings?
I suppose this is what you were looking for:
2023-03-13T14:50:15+0000:WARNING:/vehicles/VIN_NR/domains/charging/chargingCareSettings: Unknown attribute batteryCareMode with value activated
2023-03-13T14:50:15+0000:WARNING:/vehicles/VIN_NR: Unknown domain batteryChargingCare with value {'chargingCareSettings': {'value': {'batteryCareMode': 'activated'}}}
2023-03-13T14:50:15+0000:WARNING:/vehicles/VIN_NR: Unknown domain climatisationTimers with value {'climatisationTimersStatus': {'value': {'timers': [{'id': 1, 'enabled': False, 'singleTimer': {'startDateTime': '2023-01-26T06:30:00Z'}}, {'id': 2, 'enabled': False, 'singleTimer': {'startDateTime': '2000-01-01T00:00:00Z'}}], 'carCapturedTimestamp': '2023-03-13T13:50:10.457Z', 'timeInCar': '2023-03-13T13:50:10Z'}}}
Thanks in advance for checking.
from weconnect-python.
Can you do the query with weconnect-cli again with batteryCareMode disabled?
from weconnect-python.
Can you do the query with weconnect-cli again with batteryCareMode disabled?
Did not update anything, just ran it again with previous command:
2023-03-15T01:27:25+0000:INFO:Reusing tokens from previous session
2023-03-15T01:27:25+0000:INFO:Reading cachefile /tmp/weconnect.cache
2023-03-15T01:27:25+0000:WARNING:/vehicles/VIN_NR/domains/charging/chargingCareSettings: Unknown attribute batteryCareMode with value activated
2023-03-15T01:27:25+0000:WARNING:/vehicles/VIN_NR: Unknown domain batteryChargingCare with value {'chargingCareSettings': {'value': {'batteryCareMode': 'activated'}}}
2023-03-15T01:27:25+0000:WARNING:/vehicles/VIN_NR: Unknown domain climatisationTimers with value {'climatisationTimersStatus': {'value': {'timers': [{'id': 1, 'enabled': False, 'singleTimer': {'startDateTime': '2023-01-26T06:30:00Z'}}, {'id': 2, 'enabled': False, 'singleTimer': {'startDateTime': '2000-01-01T00:00:00Z'}}], 'carCapturedTimestamp': '2023-03-15T00:37:53.109Z', 'timeInCar': '2023-03-15T00:37:53Z'}}}
Although setting is deactivated in app, it seems to still be reporting activated?
from weconnect-python.
ahhh, maybe caching was the problem here. Can you do it again and add the —no-cache
option. I need to know how the deactivated state is actually named (disabled, deactivated, inactive,…).
from weconnect-python.
Here it is now:
2023-03-15T07:41:45+0000:INFO:Reusing tokens from previous session
2023-03-15T07:41:45+0000:INFO:Reading cachefile /tmp/weconnect.cache
2023-03-15T07:41:45+0000:INFO:Token expired
2023-03-15T07:41:45+0000:INFO:Refreshing tokens
2023-03-15T07:41:52+0000:WARNING:/vehicles/VIN_NR/domains/charging/chargingCareSettings: Unknown attribute batteryCareMode with value deactivated
2023-03-15T07:41:52+0000:WARNING:/vehicles/VIN_NR: Unknown domain batteryChargingCare with value {'chargingCareSettings': {'value': {'batteryCareMode': 'deactivated'}}}
2023-03-15T07:41:52+0000:WARNING:/vehicles/VIN_NR: Unknown domain climatisationTimers with value {'climatisationTimersStatus': {'value': {'timers': [{'id': 1, 'enabled': False, 'singleTimer': {'startDateTime': '2023-01-26T06:30:00Z'}}, {'id': 2, 'enabled': False, 'singleTimer': {'startDateTime': '2000-01-01T00:00:00Z'}}], 'carCapturedTimestamp': '2023-03-15T01:24:27.547Z', 'timeInCar': '2023-03-15T01:24:27Z'}}}
Thanks for following up.
from weconnect-python.
I released a development version (0.33.1.dev1). You can install it with pip3 install weconnect-cli=0.33.1.dev1
would you be so kind and test if it is working for you?
from weconnect-python.
Looking good now!
Battery care activated:
[charging] Elements: 6 items
[batteryStatus] (last captured 2023-03-15T16:12:58+00:00)
Current SoC: 63%
Range: 271km
[chargingStatus] (last captured 2023-03-15T16:12:58+00:00)
State: notReadyForCharging
Mode: manual
Remaining Charging Time: 0 minutes
Charge Power: 0.0 kW
Charge Rate: 0.0 km/h
Charge Type: invalid
Charging Settings: default
[chargingSettings] (last captured 2023-03-15T16:12:58+00:00)
Maximum Charge Current AC: maximum
Auto Unlock When Charged: off
Auto Unlock When Charged AC: off
Target SoC: 80 %
[chargeMode]
Preferred charge mode: manual
Available charge modes: [manual]
[plugStatus] (last captured 2023-03-15T16:13:24+00:00)
Plug: disconnected, unlocked, External Power: unavailable, Led color: none
[chargingCareSettings]
Battery Care Mode: activated
Battery care de-activated:
[charging] Elements: 6 items
[batteryStatus] (last captured 2023-03-15T16:12:58+00:00)
Current SoC: 63%
Range: 271km
[chargingStatus] (last captured 2023-03-15T16:12:58+00:00)
State: notReadyForCharging
Mode: manual
Remaining Charging Time: 0 minutes
Charge Power: 0.0 kW
Charge Rate: 0.0 km/h
Charge Type: invalid
Charging Settings: default
[chargingSettings] (last captured 2023-03-15T16:21:54+00:00)
Maximum Charge Current AC: maximum
Auto Unlock When Charged: off
Auto Unlock When Charged AC: off
Target SoC: 80 %
[chargeMode]
Preferred charge mode: manual
Available charge modes: [manual]
[plugStatus] (last captured 2023-03-15T16:21:54+00:00)
Plug: disconnected, unlocked, External Power: unavailable, Led color: none
[chargingCareSettings]
Request: settings operation, status successful Request Id: b681eaee-132c-4283-83ee-bc48bbc5888d
Battery Care Mode: deactivated
from weconnect-python.
Perfect. Can you also change the setting through weconnect-cli?
from weconnect-python.
Perfect. Can you also change the setting through weconnect-cli?
Would you please be able to clarify how to do it? Honestly I have never user reconnect-cli for set activities, only get.
Thanks in advance.
from weconnect-python.
Shpuld be something like weconnect-cli set /vehicles/VIN/domains/charging/chargingCareSettings/batteryCareMode deactivated
from weconnect-python.
Shpuld be something like
weconnect-cli set /vehicles/VIN/domains/charging/chargingCareSettings/batteryCareMode deactivated
id /vehicles/VIN_NR/domains/charging/chargingCareSettings/batteryCareMode cannot be set: Could not not set value (404)
from weconnect-python.
ok and if you try: weconnect-cli set /vehicles/VIN/domains/batteryChargingCare/chargingCareSettings/batteryCareMode deactivated
from weconnect-python.
ok and if you try:
weconnect-cli set /vehicles/VIN/domains/batteryChargingCare/chargingCareSettings/batteryCareMode deactivated
Same:
id /vehicles/VIN_NR/domains/batteryChargingCare/chargingCareSettings/batteryCareMode cannot be set: Could not not set value (404)
from weconnect-python.
hmmm
from weconnect-python.
hmmm
Can I try to help any further?
from weconnect-python.
But the setting detail itself is expected to be included in 0.55.0, right?
from weconnect-python.
Related Issues (20)
- Using weconnect for cupra gen3
- 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
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.