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:16] thommie4peugeot [04/06/2021 - 15:48] thommie4
Zeile 17: Zeile 17:
  
 <code> <code>
-/usr/bin/python3 /opt/psacc/server.py -f config.json -c charge_config1.json -r +/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 -m t.rother@netzwissen.de -P Pp7RLxRM -l 192.168.72.40 -p 8080
 </code> </code>
Zeile 23: Zeile 23:
 **Get the car state** **Get the car state**
  
-http://localhost:5000/get_vehicleinfo/YOURVIN+<code> 
 +curl http://192.168.72.40:8080/get_vehicleinfo/VR3UHZKXZMT032161 
 +</code>
  
 **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/get_vehicleinfo/YOURVIN?from_cache=1+<code> 
 +curl http://192.168.72.40:8080/get_vehicleinfo/VR3UHZKXZMT032161?from_cache=1 
 +</code>
  
 **Stop charge** **Stop charge**
  
-http://localhost:5000/charge_now/YOURVIN/0+<code> 
 +curl http://192.168.72.40:8080/charge_now/VR3UHZKXZMT032161/0 
 +</code>
  
 **Set hour to stop the charge to 6am** **Set hour to stop the charge to 6am**
  
-http://localhost:5000/charge_control?vin=yourvin&hour=6&minute=0 +<code> 
 +curl http://192.168.72.40:8080/charge_control/VR3UHZKXZMT032161&hour=6&minute=0  
 +</code>
  
 **Change car charge threshold to 80 percent** **Change car charge threshold to 80 percent**
  
-http://localhost:5000/charge_control?vin=YOURVIN&percentage=80  +<code> 
- +curl http://192.168.72.40:8080/charge_control/vin=VR3UHZKXZMT032161&percentage=80  
-**See the dashboard (only if record is enabled)** +</code>
- +
-http://localhost:5000+
  
 **Refresh car state (ask car to send its state):** **Refresh car state (ask car to send its state):**
  
-http://localhost:5000/wakeup/YOURVIN+<code> 
 +curl http://192.168.72.40:8080/wakeup/vin=VR3UHZKXZMT032161 
 +</code>
  
 **Start/Stop preconditioning** **Start/Stop preconditioning**
  
-http://localhost:5000/preconditioning/YOURVIN/1 or 0 +<code> 
 +curl http://192.168.72.40:8080/preconditioning/VR3UHZKXZMT032161/1 or 0 
 +</code>
  
 ==== Use the dashboard ==== ==== Use the dashboard ====
  • peugeot.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1