tillsteinbach/WeConnect-python

how to set the preferredChargeMode ?

Opened this issue · 3 comments

Describe the bug
I'm not sure it's really a bug, but I can't find a way to do it.

I managed to get the preferredChargeMode of my car (VW ID.3), and want to set it if I detect it's incorrectly set (which happens randomly, I suppose another bug from VW)

I managed to get up to this point:

>>> chargemode.preferredChargeMode.value
<ChargeModeEnum.PREFERRED_CHARGING_TIMES: 'preferredChargingTimes'>

But I couldn't find the method to change it. I tried to use the valueSetter in this preferredChargeMode object, but with no success…

TypeError: 'NoneType' object is not callable

How can I fix this ?
Thanks a lot

Hi, it is not implemented to be changed. I am not sure if the API allows to change it at all.

I just checked (sorry i was away from home for a while): I can switch between immediate and "preferred" charging times via the app, so I suppose the API allows it

BTW can I do anything to help ?