WiLight
The WiLight integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] is to integrate WiLight devices with Home Assistant.
There is currently support for the following device types within Home Assistant:
- Cover (WiLight model C-103).
- Fan (WiLight model V-104).
- Light (WiLight model I-100, I-102, I-107, I-110 and I-112).
- Irrigation / Switch (WiLight model R-105).
Configuration
To add the WiLight hub to your Home Assistant instance, use this My button:
WiLight can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.
Manual configuration steps
If it wasn’t discovered automatically, don’t worry! You can set up a manual integration entry:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select WiLight.
-
Follow the instructions on screen to complete the setup.
Fan
The WiLight integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to control your Fans from within Home Assistant.
The fan uses the standard fan actions. You can set the speed percentage, set the direction, toggle the fan, turn it off, or turn it on. WiLight fans have three speed levels: 33%, 66%, and 100%. If you set an intermediate percentage, Home Assistant uses the next higher WiLight speed level. Setting the speed to 0% turns the fan off.
Irrigation
The WiLight integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to control your Irrigation from within Home Assistant. This is exposed via switches in Home Assistant.
There are two switch types for Irrigation: watering switch and pause switch.
A watering switch can turn on and off the irrigation valve, while the pause switch can disable / enable the action of a watering switch.
Triggers activate (turn on) the watering switch (irrigation valve) at the programmed time. The trigger can be set to run on a day of the week or only once (today).
List of actions
The WiLight integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Set pause time (
wilight.set_pause_time) Sets how long WiLight irrigation watering is paused. -
Set trigger (
wilight.set_trigger) Sets a WiLight irrigation trigger schedule. -
Set watering time (
wilight.set_watering_time) Sets how long a WiLight watering switch stays on.
For an overview of every action across all integrations, see the actions reference.
The watering switch and pause switch also use the standard switch actions.
Trigger rules:
- String with 8 decimal characters (“0” to “9”).
- The first three characters (String[0,3]) represent an integer from 0 to 127, which corresponds to Bitfield of: 1 - Sunday, 2 - Monday, 4 - Tuesday, 8 - Wednesday, 16 - Thursday, 32 - Friday and 64 - Saturday. Setting zero, trigger is only valid for today.
- String[3,5] represents the hour of trigger, from 0 to 23.
- String[5,7] represents the minute of trigger, from 0 to 59.
- String[7,8] represents the enable trigger, 0 - disabled, 1- enabled.