Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Doku: JSON Interface
#1
Das HelgeInterface kann von außen mittels JSON Anfrage gesteuert werden.
wichtig: Port 44000

OBC Handling (ab V02.12.11)
 
/// <param name="className">
/// existing Class: "OBC"</param>

/// <param name="methodeName">
/// existing Methodes: "Refresh", "Reset" (not yet implemented!)</param>
/// <param name="paramz">
/// OBC_CONS1, OBC_CONS2, OBC_RANGE, OBC_DIST, OBC_ARRIV, OBC_AVGSPEED, OBC_LIMIT, OBC_OUTTEMP, ALL</param>

Bsp:
Code:
'http://192.168.2.7:44000/jsonrpc?request={"jsonrpc": "2.0", "method": "OBC.Refresh", "params": { "Property": ALL }, "id": 0}'
--> aktualisiert ALLE OBC Werte

IKE Message Handling

/// <param name="className">
/// existing Class: "IKE"</param>

/// <param name="methodeName">
/// existing Methodes: "DisplayText"</param>
/// <param name="paramz">
/// whatever you would like to send</param>

Bsp:
Code:
'http://192.168.2.7:44000/jsonrpc?request={"jsonrpc": "2.0", "method": "IKE.DisplayText", "params": { "Property": "Wir wollen den Text auf dem IKE sehen"}, "id": 0}'
--> sendet den String "Wir wollen den Text auf dem IKE sehen" an das IKE
Zitieren


Nachrichten in diesem Thema
Doku: JSON Interface - von Derhelge - 28.10.2015, 14:52
RE: Doku: JSON Interface - von harryberlin - 29.10.2015, 03:18
RE: Doku: JSON Interface - von Derhelge - 29.10.2015, 10:10
RE: Doku: JSON Interface - von harryberlin - 29.10.2015, 10:15
RE: Doku: JSON Interface - von Derhelge - 29.10.2015, 11:21
RE: Doku: JSON Interface - von harryberlin - 29.10.2015, 12:02
RE: Doku: JSON Interface - von harryberlin - 31.10.2015, 13:06
RE: Doku: JSON Interface - von Derhelge - 03.11.2015, 15:32
RE: Doku: JSON Interface - von harryberlin - 03.11.2015, 17:24
RE: Doku: JSON Interface - von harryberlin - 13.12.2015, 22:56
RE: Doku: JSON Interface - von Derhelge - 13.12.2015, 23:02
RE: Doku: JSON Interface - von harryberlin - 13.12.2015, 23:10

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste