Very often dashboards not only act as a monitoring tool, but also as an actual UI where users interact with your IoT solution. Part of that interaction involves manually entering data based on operational events, set points at the device level, modification of calculation parameters, or simply leave a comment about a specific behavior. For such cases, the "Manual Input" widget exists.

This tutorial explains how to create a Manual Input widget to enter data to a device property, a variable value or even variable context.

Requirements

Table of Contents

  1. Create a Manual input widget.

1.  Create a Manual input widget

The Manual Input is a widget capable of sending values with or without context to a variable, or properties to a device. This functionality is useful as a UI to enable users to insert custom data.

1. Send a Value to a variable:

Step 1: Click on the top-right "+" button.
Step 2: Select the Manual input widget option.
Step 3: Add the variable to which the data will be sent and fill the following parameters.
Minimum and Maximum Value that should be allowed.
Step: Minimal allowed increment

In the Appearance section:
Step 4: Make sure all available fields are correct:
Name your Manual input widget.
– Enter a custom Button label if desired
– Choose a Font Family.
– If any, enter a Custom Style for your widget.

2. Send Context to a variable:

Step 1: Click on the top-right "+" button.
Step 2: Select the Manual input widget option.
Step 3: Add the variable to which the context will be send.
Step 4: Enter the name of the context.
Step 5: Insert the context Key.

Moving to the Appearance section:
Step 6: Make sure all available fields are correct:
Name your Manual input widget.
– Enter the Button label.
– Choose a Font Family.
– If any, enter a Custom Style for your widget.

3. Set a device property:

Step 1: Click on the top-right "+" button.
Step 2: Select the Manual input widget option.
Step 3: Add the device.
Step 4: Enter the name of the property.
Step 5: Insert the property Key.

In the Appearance section:
Step 6: Make sure all available fields are correct:
Name your Manual input widget.
– Enter the Button label.
– Choose a Font Family.
– If any, enter a Custom Style for your widget.

Other users also found helpful...

 


Did this answer your question?