Skip to content

Commit

Permalink
Merge pull request #950 from JonasPed/patch-1
Browse files Browse the repository at this point in the history
Fix identition in API docs.
  • Loading branch information
flobz authored Sep 14, 2024
2 parents e7d3f7f + e0381d3 commit 1d88d3b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/psacc_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@

11. Flash the lights (Duration is always roughly 10 seconds, regardless of set duration)

http://localhost:5000/lights/YOURVIN/duration
http://localhost:5000/lights/YOURVIN/duration

12. Lock (1)/Unlock (0) the doors

http://localhost:5000/lock_door/YOURVIN/1 or 0
http://localhost:5000/lock_door/YOURVIN/1 or 0

13. Get config

http://localhost:5000/settings
http://localhost:5000/settings

14. Change config parameter in config.ini (you need to restart the app after)

http://localhost:5000/settings/electricity_config?night_price=0.2
http://localhost:5000/settings/electricity_config?night_price=0.2

http://localhost:5000/settings/general?currency=%C2%A3
http://localhost:5000/settings/general?currency=%C2%A3

15. Get battery SOH

http://localhost:5000/battery/soh/YOURVIN
http://localhost:5000/battery/soh/YOURVIN

16. Get the vehicle charging sessions

Expand Down

0 comments on commit 1d88d3b

Please sign in to comment.