Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting targetSOC_pct for specific chargingProfile does not work. (ID3) #339

Open
jb-io opened this issue Sep 20, 2024 · 0 comments
Open

Comments

@jb-io
Copy link

jb-io commented Sep 20, 2024

Describe the bug

Setting targetSOC_pct for specific chargingProfile does not work.
Value just gets resetted to previous value after next update.

To Reproduce
Steps to reproduce the behavior:

  1. Go to objects
  2. change value of chargingProfile targetSOC_pct. Concrete example: vw-connect.1.WVWXXXXXXXXXX.status.chargingProfilesStatus.profiles01.targetSOC_pct from 80 to 90 without ack
  3. wait some seconds
  4. value changes back to 80 acknologed
  5. wait long time .... nothings changes
  6. Have a look in car or app ... targetSOC still remains at 80%

Expected behavior
Changing Value schould work like vw-connect.1.WVWXXXXXXXXXX.status.chargingSettings.targetSOC_pct
This works great ... but does not apply to my use-case because i want to change the SOC only at a specific charging-place.

Changing the profile value from app works correctly and then the changed value is also correctly updated to vw-connect.1.WVWXXXXXXXXXX.status.chargingProfilesStatus.profiles01.targetSOC_pct

Screenshots & Logfiles

Earlyest log

States user redis pmessage vw-connect.1.*/vw-connect.1.WVWXXXXXXXXXX.status.chargingProfilesStatus.profiles01.targetSOC_pct:{"val":90,"ack":false,"ts":1726856451005,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1726856451005}

{"access":{"accessStatus":{"value":{"overallStatus":"unsafe","carCapturedTimestamp":"2024-09-20T14:08:47.917Z","doors":[{"name":"bonnet","status":["closed"]},{"name":"trunk","status":["closed","unlocked"]},{"name":"rearRight","status":["closed","unlocked"]},{"name":"rearLeft","status":["closed","unlocked"]},{"name":"frontRight","status":["closed","unlocked"]},{"name":"frontLeft","status":["closed","unlocked"]}],"windows":[{"name":"sunRoof","status":["unsupported"]},{"name":"roofCover","status":["unsupported"]},{"name":"sunRoofRear","status":["unsupported"]},{"name":"frontLeft","status":["closed"]},{"name":"frontRight","status":["closed"]},{"name":"rearLeft","status":["closed"]},{"name":"rearRight","status":["closed"]}],"doorLockStatus":"unlocked"}}},"batteryChargingCare":{"chargingCareSettings":{"value":{"batteryCareMode":"activated"}}},"batterySupport":{"batterySupportStatus":{"value":{"batterySupport":"enabled"}}},"charging":{"batteryStatus":{"value":{"carCapturedTimestamp":"2024-09-20T15:50:23Z","currentSOC_pct":81,"cruisingRangeElectric_km":247}},"chargingStatus":{"value":{"carCapturedTimestamp":"2024-09-20T15:50:23Z","remainingChargingTimeToComplete_min":0,"chargingState":"notReadyForCharging","chargeMode":"manual","chargePower_kW":0,"chargeRate_kmph":0,"chargeType":"invalid","chargingSettings":"profile","chargingScenario":"immediatelyChargingFinished"}},"chargingSettings":{"value":{"carCapturedTimestamp":"2024-09-20T18:19:01Z","maxChargeCurrentAC":"maximum","autoUnlockPlugWhenCharged":"off","autoUnlockPlugWhenChargedAC":"off","targetSOC_pct":80},"requests":[{"status":"successful","operation":"settings","body":{"maxChargeCurrentAC":"maximum","autoUnlockPlugWhenCharged":"off","autoUnlockPlugWhenChargedAC":"off","targetSOC_pct":80},"requestId":"be81025f-2535-4566-8787-8fd0778a4e90","vcfRequestId":"f4ee4fee-3774-4ed4-b199-7835fa2b237e"}]},"plugStatus":{"value":{"carCapturedTimestamp":"2024-09-20T15:39:08Z","plugConnectionState":"connected","plugLockState":"locked","externalPower":"ready","ledColor":"green"}},"chargeMode":{"value":{"preferredChargeMode":"manual","availableChargeModes":["manual","timer","timerChargingWithClimatisation"]}},"chargingCareSettings":{"value":{"batteryCareMode":"activated"}}},"chargingProfiles":{"chargingProfilesStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:55.237Z","timeInCar":"2024-09-20T16:08:55+02:00","nextChargingTimer":{"id":1,"targetSOCreachable":"invalid"},"profiles":[{"id":1,"name":"Zuhause","maxChargingCurrent":"max","minSOC_pct":40,"targetSOC_pct":80,"options":{"autoUnlockPlugWhenCharged":"permanent","usePrivateCurrentEnabled":true},"preferredChargingTimes":[{"id":1,"enabled":false,"startTime":"20:00","endTime":"04:00"},{"id":2,"enabled":false,"startTime":"20:00","endTime":"04:00"},{"id":3,"enabled":false,"startTime":"20:00","endTime":"04:00"},{"id":4,"enabled":false,"startTime":"20:00","endTime":"04:00"}],"timers":[{"id":1,"enabled":true,"climatisation":false,"recurringTimer":{"startTime":"05:45","recurringOn":{"mondays":true,"tuesdays":true,"wednesdays":true,"thursdays":true,"fridays":true,"saturdays":false,"sundays":false}}},{"id":2,"enabled":false,"climatisation":false,"recurringTimer":{"startTime":"04:00","recurringOn":{"mondays":true,"tuesdays":true,"wednesdays":true,"thursdays":true,"fridays":true,"saturdays":true,"sundays":true}}},{"id":3,"enabled":false,"climatisation":false,"recurringTimer":{"startTime":"04:00","recurringOn":{"mondays":true,"tuesdays":true,"wednesdays":true,"thursdays":true,"fridays":true,"saturdays":true,"sundays":true}}}]}]}}},"climatisation":{"climatisationSettings":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:53Z","targetTemperature_C":22,"targetTemperature_F":72,"unitInCar":"celsius","climatizationAtUnlock":true,"windowHeatingEnabled":false,"zoneFrontLeftEnabled":true,"zoneFrontRightEnabled":false}},"climatisationStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:54Z","remainingClimatisationTime_min":0,"climatisationState":"off"}},"climatisationTemperatureOutside":{"error":{"message":"Bad Gateway","errorTimeStamp":"2024-09-20T18:21:01Z","info":"Looks like your service has expired. Please update your service subscription.","code":4104,"group":4,"retry":false}},"windowHeatingStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:54Z","windowHeatingStatus":[{"windowLocation":"front","windowHeatingState":"off"},{"windowLocation":"rear","windowHeatingState":"off"}]}}},"climatisationTimers":{"climatisationTimersStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:49Z","timeInCar":"2024-09-20T16:08:50+02:00","timers":[{"id":1,"enabled":true,"recurringTimer":{"startTime":"05:45","recurringOn":{"mondays":true,"tuesdays":true,"wednesdays":true,"thursdays":true,"fridays":true,"saturdays":false,"sundays":false},"targetTime":"05:45","repetitionDays":["monday","tuesday","wednesday","thursday","friday"]}},{"id":2,"enabled":false,"recurringTimer":{"startTime":"06:25","recurringOn":{"mondays":false,"tuesdays":false,"wednesdays":false,"thursdays":false,"fridays":false,"saturdays":false,"sundays":true},"targetTime":"06:25","repetitionDays":["sunday"]}}]}}},"fuelStatus":{"rangeStatus":{"value":{"carCapturedTimestamp":"2024-09-20T15:50:23Z","carType":"electric","primaryEngine":{"type":"electric","currentSOC_pct":81,"remainingRange_km":247},"totalRange_km":247}}},"measurements":{"rangeStatus":{"value":{"carCapturedTimestamp":"0001-01-01T00:00:00Z"}},"odometerStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:46.313Z","odometer":53917}},"temperatureBatteryStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:47.943Z","temperatureHvBatteryMin_K":"294.15","temperatureHvBatteryMax_K":"296.65"}},"fuelLevelStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:11:35.552Z","currentSOC_pct":81,"primaryEngineType":"electric","carType":"electric"}}},"readiness":{"readinessStatus":{"value":{"connectionState":{"isOnline":true,"isActive":false,"batteryPowerLevel":"comfort","dailyPowerBudgetAvailable":true},"connectionWarning":{"insufficientBatteryLevelWarning":false,"dailyPowerBudgetWarning":false}}}},"vehicleLights":{"lightsStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:47.861Z","lights":[{"name":"right","status":"off"},{"name":"left","status":"off"}]}}},"vehicleHealthInspection":{"maintenanceStatus":{"value":{"carCapturedTimestamp":"2024-09-20T14:08:46.313Z","inspectionDue_days":692,"mileage_km":53917}}},"vehicleHealthWarnings":{"warningLights":{"value":{"carCapturedTimestamp":"2024-09-19T06:33:10.551Z","mileage_km":53917}}}}

States user redis pmessage vw-connect.1.*/vw-connect.1.WVWXXXXXXXXXX.status.chargingProfilesStatus.profiles01.targetSOC_pct:{"val":80,"ack":true,"ts":1726856462933,"q":0,"from":"system.adapter.vw-connect.1","user":"system.user.admin","lc":1726856462933}

States user redis pmessage vw-connect.1.*/vw-connect.1.WVWXXXXXXXXXX.statusrawJson:{"val":"{\"accessStatus\":{\"overallStatus\":\"unsafe\",\"carCapturedTimestamp\":\"2024-09-20T14:08:47.917Z\",\"doors\":[{\"name\":\"bonnet\",\"status\":[\"closed\"]},{\"name\":\"trunk\",\"status\":[\"closed\",\"unlocked\"]},{\"name\":\"rearRight\",\"status\":[\"closed\",\"unlocked\"]},{\"name\":\"rearLeft\",\"status\":[\"closed\",\"unlocked\"]},{\"name\":\"frontRight\",\"status\":[\"closed\",\"unlocked\"]},{\"name\":\"frontLeft\",\"status\":[\"closed\",\"unlocked\"]}],\"windows\":[{\"name\":\"sunRoof\",\"status\":[\"unsupported\"]},{\"name\":\"roofCover\",\"status\":[\"unsupported\"]},{\"name\":\"sunRoofRear\",\"status\":[\"unsupported\"]},{\"name\":\"frontLeft\",\"status\":[\"closed\"]},{\"name\":\"frontRight\",\"status\":[\"closed\"]},{\"name\":\"rearLeft\",\"status\":[\"closed\"]},{\"name\":\"rearRight\",\"status\":[\"closed\"]}],\"doorLockStatus\":\"unlocked\"},\"chargingCareSettings\":{\"batteryCareMode\":\"activated\"},\"batterySupportStatus\":{\"batterySupport\":\"enabled\"},\"batteryStatus\":{\"carCapturedTimestamp\":\"2024-09-20T15:50:23Z\",\"currentSOC_pct\":81,\"cruisingRangeElectric_km\":247},\"chargingStatus\":{\"carCapturedTimestamp\":\"2024-09-20T15:50:23Z\",\"remainingChargingTimeToComplete_min\":0,\"chargingState\":\"notReadyForCharging\",\"chargeMode\":\"manual\",\"chargePower_kW\":0,\"chargeRate_kmph\":0,\"chargeType\":\"invalid\",\"chargingSettings\":\"profile\",\"chargingScenario\":\"immediatelyChargingFinished\"},\"chargingSettings\":{\"carCapturedTimestamp\":\"2024-09-20T18:19:01Z\",\"maxChargeCurrentAC\":\"maximum\",\"autoUnlockPlugWhenCharged\":\"off\",\"autoUnlockPlugWhenChargedAC\":\"off\",\"targetSOC_pct\":80},\"plugStatus\":{\"carCapturedTimestamp\":\"2024-09-20T15:39:08Z\",\"plugConnectionState\":\"connected\",\"plugLockState\":\"locked\",\"externalPower\":\"ready\",\"ledColor\":\"green\"},\"chargeMode\":{\"preferredChargeMode\":\"manual\",\"availableChargeModes\":[\"manual\",\"timer\",\"timerChargingWithClimatisation\"]},\"charging_chargingCareSettings\":{\"batteryCareMode\":\"activated\"},\"chargingProfilesStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:55.237Z\",\"timeInCar\":\"2024-09-20T16:08:55+02:00\",\"nextChargingTimer\":{\"id\":1,\"targetSOCreachable\":\"invalid\"},\"profiles\":[{\"id\":1,\"name\":\"Zuhause\",\"maxChargingCurrent\":\"max\",\"minSOC_pct\":40,\"targetSOC_pct\":80,\"options\":{\"autoUnlockPlugWhenCharged\":\"permanent\",\"usePrivateCurrentEnabled\":true},\"preferredChargingTimes\":[{\"id\":1,\"enabled\":false,\"startTime\":\"20:00\",\"endTime\":\"04:00\"},{\"id\":2,\"enabled\":false,\"startTime\":\"20:00\",\"endTime\":\"04:00\"},{\"id\":3,\"enabled\":false,\"startTime\":\"20:00\",\"endTime\":\"04:00\"},{\"id\":4,\"enabled\":false,\"startTime\":\"20:00\",\"endTime\":\"04:00\"}],\"timers\":[{\"id\":1,\"enabled\":true,\"climatisation\":false,\"recurringTimer\":{\"startTime\":\"05:45\",\"recurringOn\":{\"mondays\":true,\"tuesdays\":true,\"wednesdays\":true,\"thursdays\":true,\"fridays\":true,\"saturdays\":false,\"sundays\":false}}},{\"id\":2,\"enabled\":false,\"climatisation\":false,\"recurringTimer\":{\"startTime\":\"04:00\",\"recurringOn\":{\"mondays\":true,\"tuesdays\":true,\"wednesdays\":true,\"thursdays\":true,\"fridays\":true,\"saturdays\":true,\"sundays\":true}}},{\"id\":3,\"enabled\":false,\"climatisation\":false,\"recurringTimer\":{\"startTime\":\"04:00\",\"recurringOn\":{\"mondays\":true,\"tuesdays\":true,\"wednesdays\":true,\"thursdays\":true,\"fridays\":true,\"saturdays\":true,\"sundays\":true}}}]}]},\"climatisationSettings\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:53Z\",\"targetTemperature_C\":22,\"targetTemperature_F\":72,\"unitInCar\":\"celsius\",\"climatizationAtUnlock\":true,\"windowHeatingEnabled\":false,\"zoneFrontLeftEnabled\":true,\"zoneFrontRightEnabled\":false},\"climatisationStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:54Z\",\"remainingClimatisationTime_min\":0,\"climatisationState\":\"off\"},\"climatisationTemperatureOutside\":{},\"windowHeatingStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:54Z\",\"windowHeatingStatus\":[{\"windowLocation\":\"front\",\"windowHeatingState\":\"off\"},{\"windowLocation\":\"rear\",\"windowHeatingState\":\"off\"}]},\"climatisationTimersStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:49Z\",\"timeInCar\":\"2024-09-20T16:08:50+02:00\",\"timers\":[{\"id\":1,\"enabled\":true,\"recurringTimer\":{\"startTime\":\"05:45\",\"recurringOn\":{\"mondays\":true,\"tuesdays\":true,\"wednesdays\":true,\"thursdays\":true,\"fridays\":true,\"saturdays\":false,\"sundays\":false},\"targetTime\":\"05:45\",\"repetitionDays\":[\"monday\",\"tuesday\",\"wednesday\",\"thursday\",\"friday\"]}},{\"id\":2,\"enabled\":false,\"recurringTimer\":{\"startTime\":\"06:25\",\"recurringOn\":{\"mondays\":false,\"tuesdays\":false,\"wednesdays\":false,\"thursdays\":false,\"fridays\":false,\"saturdays\":false,\"sundays\":true},\"targetTime\":\"06:25\",\"repetitionDays\":[\"sunday\"]}}]},\"rangeStatus\":{\"carCapturedTimestamp\":\"2024-09-20T15:50:23Z\",\"carType\":\"electric\",\"primaryEngine\":{\"type\":\"electric\",\"currentSOC_pct\":81,\"remainingRange_km\":247},\"totalRange_km\":247},\"measurements_rangeStatus\":{\"carCapturedTimestamp\":\"0001-01-01T00:00:00Z\"},\"odometerStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:46.313Z\",\"odometer\":53917},\"temperatureBatteryStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:47.943Z\",\"temperatureHvBatteryMin_K\":\"294.15\",\"temperatureHvBatteryMax_K\":\"296.65\"},\"fuelLevelStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:11:35.552Z\",\"currentSOC_pct\":81,\"primaryEngineType\":\"electric\",\"carType\":\"electric\"},\"readinessStatus\":{\"connectionState\":{\"isOnline\":true,\"isActive\":false,\"batteryPowerLevel\":\"comfort\",\"dailyPowerBudgetAvailable\":true},\"connectionWarning\":{\"insufficientBatteryLevelWarning\":false,\"dailyPowerBudgetWarning\":false}},\"lightsStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:47.861Z\",\"lights\":[{\"name\":\"right\",\"status\":\"off\"},{\"name\":\"left\",\"status\":\"off\"}]},\"maintenanceStatus\":{\"carCapturedTimestamp\":\"2024-09-20T14:08:46.313Z\",\"inspectionDue_days\":692,\"mileage_km\":53917},\"warningLights\":{\"carCapturedTimestamp\":\"2024-09-19T06:33:10.551Z\",\"mileage_km\":53917}}","ack":true,"ts":1726856464890,"q":0,"from":"system.adapter.vw-connect.1","user":"system.user.admin","lc":1726856420410}

Latest log ...

Versions:

  • Adapter version: 0.6.0
  • JS-Controller version: 6.0.11
  • Node version: 20.17.0
  • Operating system: Debian GNU/Linux 11 (bullseye)

Additional context

  • Car: ID.3 Pro Performance 1st Generation
  • Software 3.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant