-
Get the car state
-
Get the car state from cache to avoid to use PSA API too much
-
Stop charge
-
Set hour to stop the charge to 6 am
http://localhost:5000/charge_control?vin=YOURVIN&hour=6&minute=0
-
Change car charge threshold to 80%
http://localhost:5000/charge_control?vin=YOURVIN&percentage=80
-
See the dashboard (only if record is enabled)
-
Refresh car state (ask car to send its state):
-
Start (1)/Stop (0) preconditioning
-
Change charge hour (for example: set it to 22h30)
http://localhost:5000/charge_hour?vin=YOURVIN&hour=22&minute=30
-
Honk the horn
-
Flash the lights (Duration is always roughly 10 seconds, regardless of set duration)
-
Lock (1)/Unlock (0) the doors
-
Get config
-
Change config parameter in config.ini (you need to restart the app after)
http://localhost:5000/settings/electricity_config?night_price=0.2
-
Get battery SOH
-
Get the vehicle charging sessions
http://localhost:5000/vehicles/chargings
- Get the vehicle trips: