flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
391 stars 199 forks source link

Schedules are deleted after triggering precondition #728

Closed uroshj closed 6 months ago

uroshj commented 6 months ago

When I trigger precondition, then all the schedules that were set are deleted.

To Reproduce Steps to reproduce the behavior:

  1. what command did you use From the app, the preconditioning button (the same if I trigger it per web request (open in browser)
  2. when the bug append ? I installed everything yesterday
  3. Does it persist after restarting the program? Yes
  4. Does it persist after recreate config by going to http://server_address:port/config?

Config file {"General": {"currency": "\u20ac", "length_unit": "km", "minimum_trip_length": 10.0, "export_format": "csv"}, "Electricity_config": {"day_price": 0.15, "night_price": null, "night_hour_start": null, "night_hour_end": null, "dc_charge_price": null, "high_speed_dc_charge_price": null, "high_speed_dc_charge_threshold": null, "charger_efficiency": 0.8942}}

Environment (please complete the following information):

Additional context Nothing additional. Maybe just a question, where should I put this into, to get the records (I do not see the car location in the Map, and the same on the official app): III. Use the dashboard You can add the -r argument to record the position of the vehicle and retrieve this information in a dashboard. python3 psa-car-controller -f config.json -c charge_config.json -r

flobz commented 6 months ago

Closed because this is a duplicate issue