Files
psa_car_controller/docs/abrp.md
T
Florian BEZANNIERandGitHub 25b86c0149 Feature abrp (#79)
* add ABRP connection

* update doc

* fix get_last_temp()

* add image

* update abrp

* fix abrpname

* fix no last postition

* add type point

* find model by vin

* add Spacetourer

* fix indent
2021-04-13 12:48:37 +02:00

1.1 KiB

Connect to A better Route Planner

Thank's to this you will no longer have to edit manually:

  • Exterior temperature
  • Autonomy left
  • Consumption

ABRP will optimize your itinerary with these parameters.

Prerequisite

  1. A working last version of psa_car_controller
  2. A abetterrouteplanner account
  3. label must be set in cars.json

Procedure

  1. Go to https://abetterrouteplanner.com/
  2. Edit the parameter of your car, you should have something like this:
  3. Click on Generic Link
  4. Click on copy
  5. Open the following url after replacing YOURTOKEN by the value you just copied:
http://localhost:5000/abrp?token=YOURTOKEN
  1. Go to http://localhost:5000

  2. Click on control tab

  3. Enable ABRP for your car

  4. Open cars.json

  5. If abrp_name is null:

    11.1 Get the name from this list : model list

    11.2 stop the psa_car_controller

    11.3 replace null with the correct name

    11.4 save the file

    11.5 restart psa_car_controller

  6. Enjoy