Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
peugeot [28/05/2021 - 06:13] – thommie4 | peugeot [17/08/2024 - 07:06] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
Sicherheitskritische Daten auf https:// | Sicherheitskritische Daten auf https:// | ||
- | |||
- | ===== Auto ===== | ||
- | |||
===== Wallbox openWB ===== | ===== Wallbox openWB ===== | ||
Zeile 17: | Zeile 14: | ||
* http:// | * http:// | ||
- | ==== Use the dashboard | + | ==== Start application |
- | + | ||
- | * You can add the -r argument to record the position of the vehicle and retrieve this information in a dashboard. | + | |
- | * You will be able to visualize your trips, your consumption and some statistics: | + | |
- | * You have to add an api key from https:// | + | |
- | * You have to add an api key from https:// | + | |
- | ==== Charge price calculation ==== | + | < |
+ | / | ||
+ | -m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 -p 8080 | ||
+ | </ | ||
- | The dashboard can give you the price by kilometer and price by kw that you pay. | + | **Get the car state** |
- | You just have to set the price in the config file. | + | |
- | After a successful launch of the app, a config.ini file will be created. | + | < |
- | In this file you can set the price you pay for electricity in the following format "0.15". | + | curl http://192.168.72.40: |
+ | </ | ||
- | If you have a special price during | + | **Get the car state from cache to avoid to use psa api too much** |
- | Hours need to be in the following format " | + | |
- | You can modify a price manually in the dashboard. It can be useful if you use public charge point. | + | < |
+ | curl http://192.168.72.40: | ||
+ | </ | ||
+ | **Stop charge** | ||
- | ==== Start application ==== | + | < |
+ | curl http:// | ||
+ | </ | ||
+ | **Set hour to stop the charge to 6am** | ||
< | < | ||
- | /usr/bin/python3 / | + | curl http:// |
- | -m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 | + | |
</ | </ | ||
- | **Get the car state** | + | **Change |
- | http://localhost:5000/get_vehicleinfo/YOURVIN | + | < |
+ | curl http://192.168.72.40:8080/charge_control/vin=VR3UHZKXZMT032161& | ||
+ | </ | ||
- | **Get the car state from cache to avoid to use psa api too much** | + | **Refresh |
- | http://localhost:5000/get_vehicleinfo/YOURVIN? | + | < |
+ | curl http://192.168.72.40:8080/wakeup/vin=VR3UHZKXZMT032161 | ||
+ | </ | ||
- | **Stop | + | **Start/Stop preconditioning** |
- | http://localhost:5000/charge_now/YOURVIN/0 | + | < |
+ | curl http://192.168.72.40:8080/preconditioning/VR3UHZKXZMT032161/1 or 0 | ||
+ | </ | ||
- | **Set hour to stop the charge | + | ==== Use the dashboard ==== |
+ | |||
+ | You can add the -r argument | ||
- | http://localhost: | + | You have to add an api key from https://home.openweathermap.org/ in your config file, to be able to see your consumption vs exterior temperature. |
- | **Change car charge threshold | + | You have to add an api key from https:// |
- | http:// | + | ==== Charge price calculation ==== |
- | **See the dashboard | + | The dashboard |
+ | You just have to set the price in the config file. | ||
- | http:// | + | After a successful launch of the app, a config.ini file will be created. |
+ | In this file you can set the price you pay for electricity in the following format " | ||
- | **Refresh car state (ask car to send its state):** | + | If you have a special price during the night you can set "night price", |
+ | Hours need to be in the following format " | ||
+ | |||
+ | You can modify a price manually in the dashboard. It can be useful if you use public charge point. | ||
- | http:// | ||
- | **Start/ | ||
- | http:// | ||
===== EVCC ===== | ===== EVCC ===== | ||
Zeile 87: | Zeile 96: | ||
</ | </ | ||
- | ===== PSA connected car API ===== | + | ===== APIs ===== |
* https:// | * https:// | ||
* Spezifikation V4 https:// | * Spezifikation V4 https:// | ||
- | ===== Mercedes ME API ===== | + | ==== Zum Vergleich: |
* https:// | * https:// |