Skip to content

JSON Interface

Gargano edited this page Jul 24, 2023 · 16 revisions
  • Valves -

  • Set valves -

    • URL : http://ip/setvalve Request Method: POST

    • Payload : "valve": valvenr,"value": value

    • Example : { "valve": 1, "value": 21 }

  • Set tValue -

    • URL : http://ip/setvalve Request Method: POST

    • Payload : "valve": valvenr,"ctrlValue": value

    • Example : { "valve": 1, "ctrlValue": 21.2 }

  • Set tTarget -

    • URL : http://ip/setvalve Request Method: POST

    • Payload : "valve": valvenr,"ctrlTarget": value

    • Example : { "valve": 1, "ctrlTarget": 22 }

    Any post requests can be combined

    • Example : { "valve": 1, "ctrlValue": 21.2, "ctrlTarget": 22 }

Please note that tTarget and tValue json posts only works if the value and target source is set to json in the valve control section

  • Get valves -
    • URL : http://ip/valves Request Method: GET
    • Response : { "valves": [ { "idx": 1, "name": "Wohn", "state": 1, "pos": 2, "meanCur": 19, "targetPos": 2, "tTarget": 21.0, "tValue": 18.0 } ] }

Clone this wiki locally