Join GitHub today
Create Range Sensor
Switch to the "Building Modeler" view in the Designer.
In the "Create New Device" dialog click "Add Sensor", or select an existing device in the left-hand side device tree and choose "New Sensor".
Range sensors return an integer value within a given range. Maximum range values are defined by signed 32-bit value range, extending from -2,147,483,648 to +2,147,483,647.
In the "New Sensor" dialog, give your sensor a descriptive name (this name will be visible to User Interface designers) and select the read command that is used to retrieve the device's range value (integer).
Select "Range" as the sensor type -- this will tell the User Interface components bound to this sensor what type and range of values to expect. Then enter the range limits into the dialog.