feat: add config modification from API

This commit is contained in:
Florian Bezannier
2024-01-08 08:57:16 +01:00
committed by Florian BEZANNIER
parent ea01bcb6b7
commit c56aad4204
3 changed files with 53 additions and 0 deletions
+10
View File
@@ -46,3 +46,13 @@
12. Lock (1)/Unlock (0) the doors
http://localhost:5000/lock_door/YOURVIN/1 or 0
13. Get config
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://127.0.0.1:5000/settings/general?currency=%C2%A3