The Device Groups are the names that, when present, cause this device to respond to subscribed topics. There can be one or more Device Groups assigned to each JNIOR. Device Group Names WILL be used as lower case!
The Output Groups enable multiple outputs to respond to a single named output group. Outputs must be specified as a binary mask. If you wish to specifiy the mask in hexadecimal format beginning with '0x'. Relay Output Group Names WILL be used as lower case!
A default will and testament will be used if not defined above.

Status:
Unknown Connected to {{ctrl.Status.ConnectionInfo}} @ {{ctrl.Status.ConnectionEstablishedTime}}
Connection lost from {{ctrl.Status.ConnectionInfo}} @ {{ctrl.Status.ConnectionLostTime}}






JNIOR Status Topic Names

The JNIOR will publish all status information to topics starting with jnior/[SERIAL_NUMBER]/status/....

Digital

Relay Outputs

The JNIOR will publish all Relay Output status information to topics in the format jnior/[SERIAL_NUMBER]/status/digital/outputs/[CHANNEL_NUMBER]/[PROPERTY]. Output channel numbers can be 1 - x, depending on the model and how many external 4ROUTS are connected. The property will either be state or usagemeter.

jnior/[SERIAL_NUMBER]/status/digital/outputs/[CHANNEL_NUMBER]/state
jnior/[SERIAL_NUMBER]/status/digital/outputs/[CHANNEL_NUMBER]/usagemeter
                

Digital Inputs

The JNIOR will publish all Digital Input status information to topics in the format jnior/[SERIAL_NUMBER]/status/digital/inputs/[CHANNEL_NUMBER]/[PROPERTY]. Input channel numbers can be 1 - x, depending on the model. The property will either be state, usagemeter or counter.

jnior/[SERIAL_NUMBER]/status/digital/inputs/[CHANNEL_NUMBER]/state
jnior/[SERIAL_NUMBER]/status/digital/inputs/[CHANNEL_NUMBER]/usagemeter
jnior/[SERIAL_NUMBER]/status/digital/inputs/[CHANNEL_NUMBER]/counter
                

Analog

Four to Twenty Inputs

The JNIOR will publish all Four to Twenty Input status information to topics in the format jnior/[SERIAL_NUMBER]/status/fourtwenty/inputs/[CHANNEL_NUMBER]/[PROPERTY]. Input channel numbers can be 1 - x, depending on the number of modules connected, and the property will either be raw, percentage or scaled.

jnior/[SERIAL_NUMBER]/status/fourtwenty/inputs/[CHANNEL_NUMBER]/raw
jnior/[SERIAL_NUMBER]/status/fourtwenty/inputs/[CHANNEL_NUMBER]/percentage
jnior/[SERIAL_NUMBER]/status/fourtwenty/inputs/[CHANNEL_NUMBER]/scaled
                

Four to Twenty Outputs

The JNIOR will publish all Four to Twenty Output status information to topics in the format jnior/[SERIAL_NUMBER]/status/fourtwenty/outputs/[CHANNEL_NUMBER]/[PROPERTY]. Output channel numbers can be 1 - x, depending on the number of modules connected, and the property will either be raw or scaled.

jnior/[SERIAL_NUMBER]/status/fourtwenty/outputs/[CHANNEL_NUMBER]/raw
jnior/[SERIAL_NUMBER]/status/fourtwenty/outputs/[CHANNEL_NUMBER]/percentage
jnior/[SERIAL_NUMBER]/status/fourtwenty/outputs/[CHANNEL_NUMBER]/scaled
                

Ten Volt Inputs

The JNIOR will publish all Ten Volt Input status information to topics in the format jnior/[SERIAL_NUMBER]/status/tenvolt/inputs/[CHANNEL_NUMBER]/[PROPERTY]. Input channel numbers can be 1 - x, depending on the number of modules connected, and the property will either be raw, percentage or scaled.

jnior/[SERIAL_NUMBER]/status/tenvolt/inputs/[CHANNEL_NUMBER]/raw
jnior/[SERIAL_NUMBER]/status/tenvolt/inputs/[CHANNEL_NUMBER]/percentage
jnior/[SERIAL_NUMBER]/status/tenvolt/inputs/[CHANNEL_NUMBER]/scaled
                

Ten Volt Outputs

The JNIOR will publish all Ten Volt Output status information to topics in the format jnior/[SERIAL_NUMBER]/status/tenvolt/outputs/[CHANNEL_NUMBER]/[PROPERTY]. Output channel numbers can be 1 - x, depending on the number of modules connected, and the property will either be raw or scaled.

jnior/[SERIAL_NUMBER]/status/tenvolt/outputs/[CHANNEL_NUMBER]/raw
jnior/[SERIAL_NUMBER]/status/tenvolt/outputs/[CHANNEL_NUMBER]/percentage
jnior/[SERIAL_NUMBER]/status/tenvolt/outputs/[CHANNEL_NUMBER]/scaled
                

Teperature Probe

The JNIOR will publish all Temperature Probe status information to topics in the format jnior/[SERIAL_NUMBER]/status/tempprobe/[CHANNEL_NUMBER]/[PROPERTY]. Output channel numbers can be 1 - x, depending on the number of modules connected, and the property will either be celsius or fahrenheit.

jnior/[SERIAL_NUMBER]/status/tempprobe/[CHANNEL_NUMBER]/celsius
jnior/[SERIAL_NUMBER]/status/tempprobe/[CHANNEL_NUMBER]/fahrenheit
                

Environmental Sensor

The JNIOR will publish all Environmental Sensor status information to topics in the format jnior/[SERIAL_NUMBER]/status/environ/[CHANNEL_NUMBER]/[PROPERTY]. Output channel numbers can be 1 - x, depending on the number of modules connected, and the property will either be celsius, fahrenheit or humidity.

jnior/[SERIAL_NUMBER]/status/environ/[CHANNEL_NUMBER]/celsius
jnior/[SERIAL_NUMBER]/status/environ/[CHANNEL_NUMBER]/fahrenheit
jnior/[SERIAL_NUMBER]/status/environ/[CHANNEL_NUMBER]/humidity
                

JNIOR Command Topic Names

The JNIOR will subscribe to set commands. Those topics must start with jnior/[SERIAL_NUMBER or HOSTNAME or DEVICE_GROUP_NAME]/set/....

Relay Outputs

You can command the JNIOR Relay Outputs by publishing to the following topic jnior/[SERIAL_NUMBER or HOSTNAME or DEVICE_GROUP_NAME]/set/digital/outputs/[CHANNEL_NUMBER / OUTPUT_GROUP_NAME]/[PROPERTY] . Output channel numbers can be 1 - 16 and the property can only be state. The accepted values that can be sent to set the output or outputs high are TRUE, HIGH, ON, SET or 1. The values are not case sensitive.

For example,

jnior/{{ctrl.SerialNumber}}/set/digital/outputs/1/state = true
Where {{ctrl.SerialNumber}} is the unique serial number for the JNIOR and cannot be changed in the JNIOR

jnior/{{ctrl.HostName}}/set/digital/outputs/1/state = true
Where {{ctrl.HostName}} is the hostname given to the JNIOR. Please note that the HostName can be changed in the JNIOR which would affect your system.

jnior/pumpstations/set/digital/outputs/pumps/state = true
The third example will turn on all relay outputs defined to the pumps Outputs Group on all JNIORs belonging to the pumpstations Device Group. Please note that the Outputs Group and Device Group can be changed in the JNIOR which would affect your system.

Four to Twenty Outputs

You can command the JNIOR External 4-20ma Outputs by publishing to the following topic jnior/[SERIAL_NUMBER or HOSTNAME or DEVICE_GROUP_NAME]/set/fourtwenty/outputs/[CHANNEL_NUMBER]/percentage . Output channel numbers can be 1 - 4. The percentage value must be from 0 to 100.

Ten Volt Outputs

You can command the JNIOR External 0-10v Outputs by publishing to the following topic jnior/[SERIAL_NUMBER or HOSTNAME or DEVICE_GROUP_NAME]/set/tenvolt/outputs/[CHANNEL_NUMBER]/percentage . Output channel numbers can be 1 - 4. The percentage value must be from 0 to 100.