W&T connects
Interfaces for TCP/IP, Ethernet, RS-232, RS-485, USB, 20mA, glass and plastic fiber optic cable, http, SNMP, OPC, Modbus TCP, I/O digital, I/O analog, ISA, PCI

Application for rule.box:

Trigger time-based events

Timely, on-schedule switching


Time-based switching

You activate the video function using the following button, whereby you use the provider Google and (at your own risk in terms of data protection ;) share data with it.

Youtube betreten

Enter YouTube

Time-based switching

This application gives you an overview of the possibilities available for triggering time-based events using the rule.box and Node-RED. Take a look at the video here or read the written version at the bottom of this page.

What you’ll need:

Don’t have a rule.box but want to try out the example shown here?

No problem: We will be glad to provide you with a rule.box for 30 days at no charge. Simply fill out the sample order and we will send the rule.box for testing on open account. If you return the device within 30 days we will fully credit the invoice.

To sample orders

What’s explained:

  1. Setting up the flow
  2. More nodes for similar purposes

1. Setting up the flow

  • Open the Node-RED Editors menu item Manage Pallet.

  • Click on Install, search for "timerswitch" and install the "node-red-contrib-timerswitch" package.

  • Drag the newly installed node to your workspace and open the settings by double-clickling.

    Screenshot: Configuring timerswitch

  • Here you can set various on and off times for control throughout the entire day with accuracy down to the second.

  • Connect the node output for example to a "Digital OUT" node, by means of which you can use the rule.box digital with two in- and two outputs as a freely configurable switching timer.

  • Confirm your flow then by clicking on deploy.

2. More nodes for similar purposes

  • If you have greater requirements for a timer, Node-RED has additional nodes available. These can be found by searching in the installation menu for "scheduler" for example.

  • The "Light Scheduler" node lets you use a calendar page to configure various times for the individual weekdays separately.

    Screenshot: Light Scheduler

  • The "Simple Weekly Scheduler" node lets you automatically download and set schedules in JSON format from a server.

    Screenshot: Add App Display Name