Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
peugeot [23/05/2021 - 16:04] – 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 16: | Zeile 13: | ||
* https:// | * https:// | ||
* http:// | * http:// | ||
- | III. Use the dashboard | ||
- | |||
- | - 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:// | ||
- | ### IV. Charge price calculation | ||
- | The dashboard can give you the price by kilometer and price by kw that you pay. | ||
- | 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. | + | ==== Start application |
- | In this file you can set the price you pay for electricity in the following format " | + | |
- | + | ||
- | 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. | + | |
- | + | ||
- | + | ||
- | + | ||
- | Start application | + | |
< | < | ||
- | / | + | / |
-m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 -p 8080 | -m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 -p 8080 | ||
</ | </ | ||
Zeile 47: | Zeile 23: | ||
**Get the car state** | **Get the car state** | ||
- | http://localhost:5000/ | + | < |
+ | curl http://192.168.72.40:8080/ | ||
+ | </ | ||
**Get the car state from cache to avoid to use psa api too much** | **Get the car state from cache to avoid to use psa api too much** | ||
- | http://localhost:5000/ | + | < |
+ | curl http://192.168.72.40:8080/ | ||
+ | </ | ||
**Stop charge** | **Stop charge** | ||
- | http://localhost:5000/ | + | < |
+ | curl http://192.168.72.40:8080/ | ||
+ | </ | ||
**Set hour to stop the charge to 6am** | **Set hour to stop the charge to 6am** | ||
- | http://localhost:5000/ | + | < |
+ | curl http://192.168.72.40:8080/ | ||
+ | </ | ||
**Change car charge threshold to 80 percent** | **Change car charge threshold to 80 percent** | ||
- | http://localhost:5000/ | + | < |
- | + | curl http://192.168.72.40:8080/ | |
- | **See the dashboard (only if record is enabled)** | + | </code> |
- | + | ||
- | http:// | + | |
**Refresh car state (ask car to send its state):** | **Refresh car state (ask car to send its state):** | ||
- | http://localhost:5000/wakeup/YOURVIN | + | < |
+ | curl http://192.168.72.40:8080/wakeup/vin=VR3UHZKXZMT032161 | ||
+ | </ | ||
**Start/ | **Start/ | ||
- | http://localhost:5000/ | + | < |
+ | curl http://192.168.72.40:8080/ | ||
+ | </ | ||
+ | |||
+ | ==== Use the dashboard ==== | ||
+ | |||
+ | You can add the -r argument to record the position of the vehicle and retrieve this information in a dashboard. | ||
+ | |||
+ | You have to add an api key from https:// | ||
+ | |||
+ | You have to add an api key from https:// | ||
+ | |||
+ | ==== Charge price calculation ==== | ||
+ | |||
+ | The dashboard can give you the price by kilometer and price by kw that you pay. | ||
+ | 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 " | ||
+ | |||
+ | 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. | ||
+ | |||
+ | |||
===== EVCC ===== | ===== EVCC ===== | ||
Zeile 86: | Zeile 96: | ||
</ | </ | ||
- | ===== PSA connected car API ===== | + | ===== APIs ===== |
* https:// | * https:// | ||
+ | * Spezifikation V4 https:// | ||
- | ===== Mercedes ME API ===== | + | ==== Zum Vergleich: |
* https:// | * https:// |