Control I/O

Written by Kevin Cloutier on Feb 26, 2024 3:29 pm

The Outputs on the JNIOR can be controlled via the JnrWebsocket protocol.  These commands are sent using the Control Message.

Each “Control” message must contain a “Command” member which may be one of the following valid values:

  • “Toggle”
  • “Close”
  • “Open”
  • “Block”
  • “Reset Latch”
  • “Reset Counter”
  • “Reset Usage”

Each “Control” Message must contain a numeric “Channel” member specifying the input/output channel. This parameter is 1-based where the number ‘1’ specifies either the first Digital Input or first Relay Output. This depends on the specific “Command”.

There is no formal response to these command messages, although a “Monitor” message will invariably follow some.

For information and examples on each command, check out our JMP Protocol document in section 4.3 that goes over these messages with examples as the Websockets interface utilizes the same set of JSON Object as does the JANOS Management Protocol (JMP).

Name Version Release Date Size MD5
JMP Protocol Manual v2.0 Mar 14 2024 230.0 KB 905f124811e438ea93ccd542bdd66f41
On this page