Create New Sensor in OpenRemote Boss™ 2.0 Designer
New sensors can be created either during New Device creation wizard (see Image 1) or by selecting an existing device from the left-hand side device menu and using 'Add Sensor' button (see Image 2).

Image 1: Add Sensor button in New Device dialog.

Image 2: First select existing device and then choose New Sensor from context menu
Next, add sensor protocol details. Give your sensor a descriptive name, and choose a command the sensor should use to query the device status.
Image 3: Enter Sensor Details
The command you choose for the sensor should be a device read command, returning data from the device. The expected return value from the command depends on the sensor type you choose:
- Boolean "on" or "off" for switch sensors
- Integer in range [0-100] for level sensors
- Integer in arbitrary range for range sensors (range minimum and maximum values can be entered into the dialog as sensor properties if range is chosen as sensor type)
Click on 'Submit' once finished.
See Also