Wiesemann & Theis GmbH

Networking, sensors and interface technology for industry, office and IT

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.


Model



What you’ll need:

Do you not yet have a logic.hub but would like to try out the example with no obligation?

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
    Product illustration: logic.hub

    logic.hub


What’s explained:



1. Setting up the flow

  • Click on the images to enlarge!

    Save terminals
    • Open the web interface of your logic.hub and click on Terminal inventory.
    • Click on ADD W&T TERMINAL, or on the Plus sign to add devices from other manufacturers.
  • Set up terminals
    • Then click on ADD SELECTED TERMINALS.
  • Set up terminals
    • Click on the Pencil icon pencil.
  • Set up terminals
    • Activate logging at the terminal to which you want to connect the suction unit later by ticking the box next to Activate logging, and then click on OK.
  • Save terminals
    • Once all terminals have been added, you only need to save.
  • Save terminals
    • Adding a Web-IO Digital
    • Make sure that MQTT is activated and that the IP address of the broker (logic.hub) matches.
    • Publish and Subscribe must also be activated, as shown in the image.
  • 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.

  • Create comparison
    • Add the node GE (greater than or equal to).
    • 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.
  • Create comparison
    • Set the CONST node to Analog and the analog value to the desired temperature: in our case to 22.

2. Visualization

  • Set up terminals
    • Click on Dashboard on the web interface of the logic.hub.
    • Create a new dashboard by clicking on ADD DASHBOARD.
  • Set up terminals
    • Use the Switch label, take the output of the Web-IO to which the fan is connected as the target.
  • Set up terminals
    • Use a large Ticker label for displaying the temperature.
  • Set up terminals
    • Use the LED label to indicate whether the fan is active or not at any given time.
  • Save terminals
    • 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.
  • Save terminals
    • In our example, we choose one day as the time period.
  • Create comparison
    • Save and the fan controller with clear dashboard is ready.
  • Create comparison
    • The dashboard shows: The fan is switched on.
^