Skip to content

Manual activation of preconditionning remove all planned preconditionning #1152

@aureli169

Description

@aureli169

Describe the bug
When I activate the preconditionning on my e208 (2021) using psa_car_controller (docker), it works but it removes the preconditionning that were already planned via the psa app.

To Reproduce
Steps to reproduce the behavior:

  1. program a precondi every monday via the psa app
  2. launch command_on: curl -s "http://IP:5000/preconditioning/xxxxxxxxxx/1"
  3. preconditionning is starting
  4. but all programs in psa app are removed

Config file

command_line:
  # e208 communication
  - switch:
      name: e208_clim
      unique_id: e208_clim
      command_on: curl -s "http://IP:5000/preconditioning/xxxxxxxxxx/1"
      command_off: curl -s "http://IP:5000/preconditioning/xxxxxxxxxx/0"

Environment (please complete the following information):

  • Docker (flobz/psa_car_controller:latest 2025-08-31)
  • Peugeot e208 (2021)
2025-11-23 07:13:46,993 :: INFO :: 10.1.0.1 - - [23/Nov/2025 07:13:46] "GET /charge_control?vin=xxxxxxxxxx&?always_check=true HTTP/1.1" 200 -

2025-11-23 07:13:54,069 :: INFO :: Preconditioning: topic: psa/RemoteServices/from/cid/AP-ACNT2000yyyyyyy/ThermalPrecond: {'asap': 'activate', 'programs': {'program1': {'day': [0, 0, 0, 0, 0, 0, 0], 'hour': 34, 'minute': 7, 'on': 0}, 'program2': {'day': [0, 0, 0, 0, 0, 0, 0], 'hour': 34, 'minute': 7, 'on': 0}, 'program3': {'day': [0, 0, 0, 0, 0, 0, 0], 'hour': 34, 'minute': 7, 'on': 0}, 'program4': {'day': [0, 0, 0, 0, 0, 0, 0], 'hour': 34, 'minute': 7, 'on': 0}}}

2025-11-23 07:13:54,412 :: INFO :: 10.1.0.1 - - [23/Nov/2025 07:13:54] "GET /preconditioning/xxxxxxxxxx/1 HTTP/1.1" 200 -

2025-11-23 07:13:54,650 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/AP-ACNT2000yyyyyyy/ThermalPrecond/ProcessManagement b'{"process_date":"2025-11-23T07:13:54Z","vin":"xxxxxxxxxx","correlation_id":"zzzzzzzzzzzzzzzzzzzzzzzz","process_code":"900","process_message":"[process.900.request.accepted.key]"}'

2025-11-23 07:13:54,787 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/AP-ACNT2000yyyyyyy/ThermalPrecond/ProcessManagement b'{"process_date":"2025-11-23T07:13:54Z","vin":"xxxxxxxxxx","correlation_id":"zzzzzzzzzzzzzzzzzzzzzzzz","process_code":"901","process_message":"[process.901.vehicle.asleep.key]"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions