peugeot

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
peugeot [28/05/2021 - 06:13] thommie4peugeot [04/06/2021 - 15:48] thommie4
Zeile 3: Zeile 3:
  
 Sicherheitskritische Daten auf https://passbolt.netzwissen.de  Sicherheitskritische Daten auf https://passbolt.netzwissen.de 
- 
-===== Auto ===== 
- 
  
 ===== Wallbox openWB ===== ===== Wallbox openWB =====
Zeile 17: Zeile 14:
    * http://192.168.72.40:8080    * http://192.168.72.40:8080
  
-==== 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://home.openweathermap.org/ in your config file, to be able to see your consumption vs exterior temperature. +
-   * You have to add an api key from https://co2signal.com/ to have your C02 emission by KM (in France the key isn't needed). +
  
-==== Charge price calculation ====+<code> 
 +/usr/bin/python3 /opt/psacc/server.py -f config.json -c charge_config1.json -r \ 
 +-m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 -p 8080 
 +</code>
  
-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. +<code> 
-In this file you can set the price you pay for electricity in the following format "0.15".+curl http://192.168.72.40:8080/get_vehicleinfo/VR3UHZKXZMT032161 
 +</code>
  
-If you have a special price during the night you can set "night price", "night hour start" and "night hour end".  +**Get the car state from cache to avoid to use psa api too much**
-Hours need to be in the following format "23h12"?+
  
-You can modify a price manually in the dashboardIt can be useful if you use public charge point.+<code> 
 +curl http://192.168.72.40:8080/get_vehicleinfo/VR3UHZKXZMT032161?from_cache=1 
 +</code>
  
 +**Stop charge**
  
-==== Start application ====+<code> 
 +curl http://192.168.72.40:8080/charge_now/VR3UHZKXZMT032161/
 +</code>
  
 +**Set hour to stop the charge to 6am**
  
 <code> <code>
-/usr/bin/python3 /opt/psacc/server.py -f config.json -c charge_config1.json -r  +curl http://192.168.72.40:8080/charge_control/VR3UHZKXZMT032161&hour=6&minute=0 
--m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 -p 8080+
 </code> </code>
  
-**Get the car state**+**Change car charge threshold to 80 percent**
  
-http://localhost:5000/get_vehicleinfo/YOURVIN+<code> 
 +curl http://192.168.72.40:8080/charge_control/vin=VR3UHZKXZMT032161&percentage=80  
 +</code>
  
-**Get the car state from cache to avoid to use psa api too much**+**Refresh car state (ask car to send its state):**
  
-http://localhost:5000/get_vehicleinfo/YOURVIN?from_cache=1+<code> 
 +curl http://192.168.72.40:8080/wakeup/vin=VR3UHZKXZMT032161 
 +</code>
  
-**Stop charge**+**Start/Stop preconditioning**
  
-http://localhost:5000/charge_now/YOURVIN/0+<code> 
 +curl http://192.168.72.40:8080/preconditioning/VR3UHZKXZMT032161/1 or 0 
 +</code>
  
-**Set hour to stop the charge to 6am**+==== 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. 
  
-http://localhost:5000/charge_control?vin=yourvin&hour=6&minute=0 +You have to add an api key from https://home.openweathermap.orgin your config file, to be able to see your consumption vs exterior temperature.
  
-**Change car charge threshold to 80 percent**+You have to add an api key from https://co2signal.com/ to have your C02 emission by KM (in France the key isn't needed). 
  
-http://localhost:5000/charge_control?vin=YOURVIN&percentage=80 +==== Charge price calculation ====
  
-**See the dashboard (only if record is enabled)**+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.
  
-http://localhost:5000+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".
  
-**Refresh car state (ask car to send its state):**+If you have a special price during the night you can set "night price", "night hour start" and "night hour end".  
 +Hours need to be in the following format "23h12"? 
 + 
 +You can modify a price manually in the dashboard. It can be useful if you use public charge point.
  
-http://localhost:5000/wakeup/YOURVIN 
  
-**Start/Stop preconditioning** 
  
-http://localhost:5000/preconditioning/YOURVIN/1 or 0 
  
 ===== EVCC ===== ===== EVCC =====
Zeile 87: Zeile 96:
 </code> </code>
  
-===== PSA connected car API =====+===== APIs =====
  
    * https://developer.groupe-psa.com    * https://developer.groupe-psa.com
    * Spezifikation V4 https://developer.groupe-psa.io/webapi/b2c/api-reference/specification/    * Spezifikation V4 https://developer.groupe-psa.io/webapi/b2c/api-reference/specification/
  
-====Mercedes ME API =====+==== Zum Vergleich: Mercedes ME API ====
  
     * https://developer.mercedes-benz.com/products     * https://developer.mercedes-benz.com/products
  • peugeot.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1