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!
brian-rayner opened this issue · 3 comments
brian-rayner commented
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
IF applicable logs that show the problem. Please take care to remove any confidential data from the logs (e.g. your vehicles VIN number, usernames or passwords)
- OS: [e.g. Windows, Linux, MacOS, ...]
- Version used [e.g. 0.6.2]
Additional context
Add any other context about the problem here.
tillsteinbach commented
hmmm, this should work. What type of car is it?
brian-rayner commented
It’s a VW ID.3 2021 model.
On further investigation, if I immediately read back the value of vehicle.domains["charging"]["chargingSettings"].targetSOC_pct after the update, the change is reflected in the data. However, it isn’t reflected in the vehicle itself and when I do a subsequent call to weConnect.update() it has reverted to the original value. Am I missing a step to commit the change to the vehicle?
From: Till Steinbach ***@***.***
Sent: 03 September 2023 12:51
To: tillsteinbach/WeConnect-python
Cc: Brian Rayner; Author
Subject: Re: [tillsteinbach/WeConnect-python] 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 a
hmmm, this should work. What type of car is it?
—
Reply to this email directly, view it on GitHub <#146 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALQVS3BLHDH4IDG6OQRGSYTXYRVL7ANCNFSM6AAAAAA4JF6UAM> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/ALQVS3AP6H6LBCM5HYYKBUTXYRVL7A5CNFSM6AAAAAA4JF6UAOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTFSUDVQ.gif> Message ID: ***@***.***>
brian-rayner commented
OK, it's working now. It appears that the car will only accept increments of 10%, so was not allowing me to set it to 85%. When I set it to 90% all was well!