BMWRaspControl - Forum
[FeatureRequest] Konfigurationsseite für HI im Skin - Druckversion

+- BMWRaspControl - Forum (https://www.bmwraspcontrol.de/board)
+-- Forum: BMWRaspControl - Diskussion (https://www.bmwraspcontrol.de/board/forumdisplay.php?fid=13)
+--- Forum: BMWRaspControl - Kodi / Skin (https://www.bmwraspcontrol.de/board/forumdisplay.php?fid=15)
+--- Thema: [FeatureRequest] Konfigurationsseite für HI im Skin (/showthread.php?tid=233)



Konfigurationsseite für HI im Skin - Derhelge - 01.10.2015

Jetzt wo wir in zwei Richtungen kommunizieren können, sollten wir eine Konfigurationsseite anlegen.

z.B.
Lightshow (active/inactiv) mit Checkbox
CollapseMirrors (active/inactive) --> (onCarClose/onCarOpen)
ExpandMirrors(active/inactive) --> (onCarClose/onCarOpen)
CarModel (e48/e39/etc)
CdChangerEmulatorActive (active/inactive)

Dann sollte das ganze Konfigurationskaos ein Ende haben.

EinRequest könnte so aussehen

Code:
http://127.0.0.1:44000/jsonrpc?request={"jsonrpc": "2.0", "method": "Config.Set", "params": { "Property": LightShow, "active": true}, "id": 0}
http://127.0.0.1:44000/jsonrpc?request={"jsonrpc": "2.0", "method": "Config.Set", "params": { "Property": CarModel, "value": e39}, "id": 0}
--> Das würde Verbrauch 1 und 2 aktualisiern.

Zitat Harry: "Und umsetzen" Tongue