Application for logic.hub
An example in detail
Correct handling of the logic.hub
Here we would like to familiarize you with how the logic.hub works. Read the description on this page where we provide an overview of the Editor sections and explain the Dashboard.
What you’ll need:
We are happy to provide you with the logic.hub for 30 days at no cost. Simply fill out the sample order form and we will send you the logic.hub for testing on open invoice. If you return the device within 30 days, we will cancel the invoice.
-
#50506
logic.hub
What’s explained:
2. Orientation in the Logic Editor - Nodes
3. Orientation in the Logic Editor - Workspace
4. Orientation in the Logic Editor - Info column
5. Creating an example flow
1. The terminal inventory
-
After successfully logging on to the web interface of the logic hub you will see in the left column the tab Terminal inventory.
Click on the images to enlarge.
-
You are able to add W&T devices or devices from other manufacturers.
-
To incorporate an MQTT-capable W&T device, simply click on ADD W&T TERMINALS
-
Then enter the device article number, e.g. 57730 as well as the device name. This can be found either on the web interface of the W&T device under Communication Paths and then under MQTT, or using the last 6 places of the MAC address: wut-(last 6 places of the MAC). Now click on "Determine terminals" and save. Your W&T device is now linked to the logic.hub. Don’t forget to activate MQTT under the communication channels and enter the IP address of the broker (logic.hub).
-
To link third-party devices, simply click on the plus symbol
-
All you have to do is enter the name, an optional description and the MQTT topic and fill in the remaining fields to get started.
-
It is essential to include each device in the terminal inventory, otherwise you will not be able to work with these devices on the logic.hub.
2. Orientation in the Logic Editor - Nodes
-
You can access the editor via the corresponding link on the overview page of your logic.hub.
-
On the left-hand side of the editor, you will find a list of nodes that are categorized according to their functions.
-
To use a node, simply drag and drop it onto your workspace.
-
To obtain a short description, drag the node onto the workspace; a short description now appears on the right.
-
By clicking on the node, you can also adjust it to your requirements on the right-hand side.
-
Depending on the type of node, many other properties can be configured.
3. Orientation in the Logic Editor - Workspace
-
The workspace is located in the center of the logic editor and is used to create your flows.
-
New pages can be added using the plus symbol Create new page in the middle of the workspace.
-
The page can be edited in the right-hand column, e.g. to change the name.
4. Orientation in the Logic Editor - Info column
-
The information column on the right-hand side shows you information on the elements you have selected, depending on the work step.
-
You will also find two additional symbols in the information column:
-
The error log can alert you to possible errors or problems.
-
The check mark shows you whether the Runner is connected.
5. Creating a sample flow
-
The logic.hub requires no additional nodes or links to be downloaded.
-
For example, to synchronize a temperature, you can add a web thermometer to the page and use the node CONST.
-
For the node CONST select the analog mode and enter the temperature that the sensor should not exceed.
-
To compare a value, we use the "GE" node (switches to TRUE (1) as soon as the value at the input is equal to or greater than the comparison value - in our case CONST).
-
The output now switches at the same temperature or when this exceeds the preset analog value.
-
Alternatively, you can connect a Web-IO digital output to the output of the "GE", e.g. in order to to turn on a lamp or trigger an acoustic signal if the thermometer value is exceeded. You can also visualize the output of the Web-IO in the dashboard.
-
To visualize the values and the temperature, we create a dashboard for the application.
-
You can also access the dashboard via the overview page of your logic.hub.
-
Click on the plus to be able to ADD DASHBOARD and provide the dashboard with an LED label and a ticker label.
-
To the LED label you add the output of the Web-IO Digital and to the Ticker label the analog value of the Web Thermometer. You can add a header to the dashboard as you wish by using the header label under Full Width tile. You can also give the whole thing an individual touch by labelling and color-coding the tiles.