Application for the logic.hub
Turning on the fan when the temperature increases
Comparing the temperature and turning on
With this application, we offer you a comprehensive overview of the available options for switching a fan, for example, when the temperature rises. If you have a sensor that can monitor more than just temperature, you can of course also integrate it and switch it when the humidity rises, for example. The detailed instructions can be found further down on this page.
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:
1. Setting up the flow
-
Open the web interface of your logic.hub and click on Terminal inventory.
-
Click on ADD W&T TERMINAL, or on the to add devices from other manufacturers.
Click on the images to enlarge.
-
Then click on ADD SELECTED TERMINALS
-
Click on the pencil.
-
Activate logging by checking Activate logging, and then click on OK.
-
Once all terminals have been added, you only need to Save.
Adding a WEB-IO Digital
-
Please ensure that MQTT is activated on your integrated devices and enter the IP address of the broker (logic.hub).
-
In the web interface of the logic.hub click on Logic Editor.
-
You are now in the Logic Editor. Create a new page by clicking on CREATE NEW PAGE. If you have already set up pages, you need to click on Plus to create a new page.
-
Add the node GE (greater than or equal to).
The GE node (Greater than or equal to) switches to "True" as soon as the input value is greater than or equal to the specified comparison value.
-
Add an INPUT, a CONST and an OUTPUT and connect them as shown in the illustration.
-
Use the sensor as the terminal for the input and the output to which the fan or similar is connected as the output in order to switch it.
-
Set the CONST node to Analog and the analog value to the g temperature: in our case to 22.
2. Visualization
-
Click on Dashboard on the web interface of the logic.hub.
-
Create a new dashboard by clicking on ADD DASHBOARD.
-
As the target for the Switch label use the output of the Web-IO to which the fan is connected.
-
Use a large Ticker label for displaying the temperature.
-
Use the LED label to indicate whether the fan is active or not at any given time.
-
Optionally you can add the diagram label and also use the analog sensor as a source. Now you can display the temperature changes over a particular time period.
-
In our example we select a tag.
-
Save and the fan controller with clear dashboard is ready.