Remote Device#
Note
The endpoints listed on this page require a project to be loaded on the controller.
Methods#
GET#
Returns data about all the remote devices in the project.
GET /api/remote_device
Returns a JSON object with a single remote_devices attribute, which has an array value. Each item in the array is a Remote Device object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
string |
The user assigned name of the Remote Device. |
|
|
string |
A combination of the user assigned name of the device, and the device type. |
|
|
integer |
Remote device number (address) |
|
|
string |
One of the remote device types as listed below. |
|
|
array |
Physical devices assigned to this remote device. Array of Physical Remote Device objects (see table below). |
|
|
array |
Array of Output objects (see table below); only returned for RIO 44 and RIO 08 on the queried controller |
|
|
array |
Array of Input objects (see table below); only returned for RIO 44 and RIO 80 on the queried controller |
|
|
boolean |
Whether the logical device is assigned to a physical remote device that is online and running a compatible firmware version |
|
The Physical Remote Device JSON object has the following attributes:
|
string |
Serial number of the automatically or manually assigned physical device |
|
|---|---|---|---|
|
boolean |
|
|
|
string |
The firmware version running on the remote device, or |
|
|
boolean |
Whether the remote device requires a firmware reload due to incompatibility with the controller, or |
|
|
boolean |
Whether the remote device is detected as being online on the local network |
|
The Output JSON object has the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
integer |
Number of the output, as labelled on the remote device |
|
|
boolean |
|
|
The Input JSON object has the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
integer |
Number of the input, as labelled on the remote device |
|
|
string |
|
|
|
integer or boolean |
Value type depends on input type - |
|
Remote Device Types#
The following remote device types are reported by the HTTP API:
RIO 08RIO 44RIO 80BPSBPIRIO ARIO DRIO G4RIO D4EDN 10EDN 20TPSTPS 5TPS 8