Blog
Manage switching times in iCloud Calendar
The Web-IO 4.0 Time Switch 57735 can time four switching outputs according to the specifications of calendar files in iCal format (*.ics). One way to provide corresponding iCal files is to use the online calendar of an iCloud account.
This application example shows which steps are necessary for the switching outputs of the Web-IO Time Switch to follow the deadline specifications of an iCloud calendar.
Step 1 – Connect the Web-IO Time Switch
Wiring
For the operation of the Web-IO Time Switch, a supply voltage between 12V and 24V DC or a corresponding power supply is required.
The connected supply voltage is switched to the corresponding output terminal in the ON state.
If a potential-free contact is required to control the consumer, a coupling relay can be connected downstream.
The wiring of the Web-IO Time Switch may only be carried out by competent personnel.
Network
The Web-IO Time Switch must be connected to a free LAN port.
Step 2 – Configure network
The Web-IO Time Switch should definitely be assigned a static IP address. To do this, most routers offer the option of exempting an IP address range from DHCP address assignment.
Assign IP address via Wutility
Now start the Wutility tool on a Windows PC

By clicking on the IP address icon, you start the dialog for IP address assignment. Enter the desired IP address here and click on the Next button.

The Web-IO Time Switch can now be reached at the assigned address.
Step 3 – Set up iCloud calendar
The following description assumes that an iCloud account already exists.
Create a calendar
First, sign in to iCloud with your Apple ID under https://www.icloud.com.

After successfully signing in to your iCloud account, select Calendar from the application menu.

The calendar view opens. Click Edit in the lower left corner and then on the “+” symbol in the lower left corner to create a new calendar.

Give the calendar a meaningful name.

Create switching date
To add a new switching date, first select the newly created calendar. A click on the “+” symbol at the bottom right opens a dialog in which a new event or a new switching date can be created. Here you can define the period in which the output of the Web-IO is to be switched on. In addition, it can be specified whether and when there should be follow-up appointments. Finally, confirm with OK to add the appointment to the calendar.

Copy calendar address
After you have saved the new event, click on the “Share” logo next to the calendar name. The calendar sharing dialog opens. Set the option Public calendar here and copy the link of the calendar URL to the clipboard. Finally, press OK.

In the next step, the address (URL) must be inserted into the configuration of the Web-IO.
Step 4 – Configuring the Web-IO Time Switch
Setting up output for time-controlled switching
Log in as administrator on the web interface of the Web-IO Time Switch and choose the menu item Time-controlled switching >> Output 0.
Enable Time Switch for Output 0. Paste the copied calendar URL into the Full URL field for loading the iCal file. In the inserted URL, replace webcal with https. You use Reload Interval to specify the cycle in which the calendar file is to be retrieved from the server again and checked for changes.
By clicking the Apply button, the settings are applied and the first retrieval of the iCal file is started.
In this way, a separate URL or independent calendar can be configured for each output.

Check switching times
As soon as an iCal file has been successfully loaded from the Web-IO Time Switch, the next switching events can be listed via the menu item Time-Controlled Switch >> Preview Switching Times.

The outputs now follow the switching dates stored in the respective calendar.