Boolean
Last updated
Last updated
The boolean widget allows you to display a status based on whether the measured value is true or false. If the measured value is greater than zero (value > 0), the status is considered true otherwise it is false. The boolean widget is suitable for displaying statuses like alarm, water leak, tamper, door open, etc.
In the Widget options modal, configure the following settings:
In the Name text box, enter a name as the label for your widget.
In the Data field drop-down list, select the data field to be used as the data source.
In the Positive text text box, enter a text to display if the measured value is positive.
In the Negative text text box, enter a text to display if the measured value is negative.
To add a color to the background of the widget, click on the Background color box and choose a color from the color picker.
Click on the Save button.
The resulting boolean widget looks something like this: