Set a field value or output status


https://api.eze.io/v1/control/{serial}/{command}/[additional commands]

Directly control a field value or output status of a controller. Note that this command will generate traffic to the controller, and is therefore rate limited to avoid excessive traffic.

The immediate return data is a confirmation from the servers that the command was accepted. It is not an acknowledgement that the command(s) were actually received or executed on the controller.

If the API key is set up with a callback URI, a separate message will be sent to this URI when the command has been confirmed by the controller. See below for the format of the return messages.


serial ezeio serial number (XYZ123)
command Command. See below

Possible commands:

To set the value of a field: field[FIELDNO]=value


To set the state of a register: register[DEVICENO,REGISTERNO]=value


To set the state of an output, bypassing logic: output[OUTPUTNO]=value


Multiple commands can be used in the same call.

Example usage

Set the value of two fields:


Return value

JSON formatted data

(below examples have whitespaces added for readability)

The immediate server reply (acknowledging receipt of the command on the servers):

    "Set field 12 to 888",
    "Set field 5 to 999",
    "Callback URI: https://mydomain.com/mycallbackscript.php"

The callback message from the controller, acknowledging processing of the command:

    "name":"Test controller in lab",
    "note":"Here is a note",
      "name":"Temp (C)",
      "name":"Temp (F)",
  • ezeio2/apiref/control.txt
  • Last modified: 2019-09-02 18:41
  • (external edit)