mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-24 02:16:14 +00:00
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
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
## 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/](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
|
||||
```
|
||||
7. Go to [http://localhost:5000](http://localhost:5000)
|
||||
8. Click on control tab
|
||||
9. Enable ABRP for your car
|
||||
10. Open cars.json
|
||||
11. If abrp_name is null:
|
||||
|
||||
11.1 Get the name from this list : [model list](https://api.iternio.com/1/tlm/get_carmodels_list?api_key=32b2162f-9599-4647-8139-66e9f9528370)
|
||||
|
||||
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
|
||||
12. Enjoy
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
Reference in New Issue
Block a user