iRidi for Lutron Homeworks QS
Tools for creating interfaces to control Lutron equipment
The driver is designed to control Lutron equipment. Use the sample project to get started:
download example: *iRidi Lutron
iRidi for Lutron Homeworks QS is a set of tools for creating an interface to control a home or office based on Lutron equipment. It implements Lutron protocol commands.
Connection
Control panels (iOS, Android, Windows, Mac) can control Lutron Homeworks QS equipment only through a Homeworks QS processor.

- Configure the processor in Lutron Designer first (contact the manufacturer for access to the software's features).
- Select the required devices in the configurator and activate them (each device is assigned an individual ID during this process).
- Save the project and send the configuration to the processor.
-
When configuring keypad panels, set "Led Logic" to "Via Integration". The panels process requests from iRidi correctly only under this condition.
-
For thermostat panels: the manufacturer's protocol does not describe commands for emulating button presses on the thermostat panel.
Adding the driver manually
If you cannot import the device, add the Lutron Homeworks QS driver to the project from the iRidi database:
- Start iRidi Studio and create a new iRidi server project;
- Add the Lutron Homeworks QS driver to the project.
Specify the controller address in the iRidi project; otherwise, it will not work.

Configuring connection parameters
After adding the driver to the project by importing it or adding it manually, specify the connection settings.

- Log Level - logging level
- Host - controller IP address
- Port - controller connection port
- Login - login for access to the controller
- Password - password for access to the controller
Changing connection parameters
You need to change connection parameters when you disconnect from the automation site's Wi-Fi network and start using 3G or another Wi-Fi network. For control to continue working, switch from the local IP address to the Internet router's public IP address.
Switching is not automatic; you need to press the connection mode selection button. For remote access, the automation system's control ports must be made public. To do this, configure Port Forwarding on the Internet router. A VPN can provide a secure connection.
-
Download the template (*.js) (right-click and save the target), then add it to the script editor using (+) Add Script from file
-
Configure the script parameters as shown in the example:
function Internal_1() {
IR.GetDevice('BACnet').SetParameters({Host: "192.168.0.95", Port: 5001, Login: "admin", Password: "admin"});
}
function External_1() {
IR.GetDevice('BACnet').SetParameters({Host: "215.110.10.10", Port: 5001, Login: "user", Password: "user"});
}
Copy the driver name from the device panel; copy the parameter list exactly as shown in the example.
- Select the button that will switch between the Internal and External parameters. Open the macros editor for the Press event (Object Properties > Programming), select the Script call command, and double-click to add it. Select the name of the function the button will call:

Each button press now applies the corresponding connection settings.
Commands & Feedbacks
Bind commands and feedback channels to graphical items to control the equipment:
- Bind a command to a graphical item.
- Bind a feedback channel to a graphical item to display the variable's state
To link a command or channel to a graphic item, use drag&drop - dragging an object onto another.
To send a command, drag it onto a graphical item. To display feedback, drag the channel onto a graphical item and specify where to display its Value:

Configuration
To configure a command or feedback, set the channel or tag fields. The fields vary depending on the Command field value. The driver currently supports the following command and tag types:
The following settings are available depending on the command:
- Name - command/feedback name;
- Command - command used to address the required device;
- Integration ID - device address (configured beforehand in Lutron Designer);
- Component - button number on the control panel (for keypad panels);
- Value - value of the required mode for the device.
DEVICE
Controls device inputs, such as buttons and dry contacts
- IntegrationID - channel ID
- Component - component number
Action
| Type | Description | Value |
|---|---|---|
| Enabled | Activate | - |
| Disable | Deactivate | - |
| Press/Close/Occupied | Press/Close/Closed contact | - |
| Release/Open/Unoccupied | Release/Open/Open contact | - |
| Hold | Hold | - |
| Multi-tap | Multi-tap | - |
| Set/Get Current Scene | Set/Get the current scene | Scene number |
| Set/Get LED State | Set/Get the keypad button LED state | On Off Normal Flash Rapid Flash |
| Set/Get Light Level | Set/Get the brightness level | Brightness level value |
| Set/Get Zone Lock | Set/Get the zone lock (not supported by Homeworks QS) | On Off |
| Set/Get Scene Lock | Set/Get the scene lock (not supported by Homeworks QS) | On Off |
| Set/Get Sequence State | Set/Get the sequence state | Off Scenes 1-4 Scenes 5-16 |
| Start Raising | Start increasing | - |
| Start lowering | Start decreasing | - |
| Stop Raising/Lowering | Stop increasing/decreasing | - |
| Get battery status | Get the battery status | - |
| Set a custom lift and tilt level | Set the blind opening and slat tilt levels | 0-100 |
| Set a custom lift level only | Set the shade opening level | 0-100 |
| Set a custom tilt level only | Set the slat tilt level | 0-100 |
| Hold/Release | Hold/Release | - |
| GRAFIK Eye QS Timeclock state | Enable/disable Timeclock state | Enabled/Disabled |
| Query CCI state | Query CCI status | - |
| Set/Get activate LED level | Set/Get the keypad button backlight level in the active state | 0-100 |
| Set/Get inactivate LED level | Set/Get the keypad button backlight level in the inactive state | 0-100 |
| Get Temperature C | Get the temperature in Celsius | - |
| Get Temperature F | Get the temperature in Fahrenheit | - |
OUTPUT
Controls outputs, such as dimmers and dry-contact outputs
- IntegrationID - channel ID
Action
| Type | Description | Value |
|---|---|---|
| Set/Get Venetian lift and tilt level | Set/Get the blind lift and tilt levels | 0-100 |
| Set/Get light level | Set/Get the brightness level | 0-100 |
| Start Raising | Start increasing | - |
| Start lowering | Start decreasing | - |
| Stop Raising/Lowering | Stop increasing/decreasing | - |
| Start Flash | Send a series of pulses | Flash duration (in seconds) |
| Pulse | Send a single pulse to the dimmer | Pulse duration (in seconds) |
| Set/Get Venetian tilt level only | Set/Get the blind slat tilt level | 0-100 |
| Start raising venetian tilt | Start tilting the slats upward | - |
| Start lowering venetian tilt | Start tilting the slats downward | - |
| Stop venetian tilt | Stop tilting the slats | - |
| Start raising venetian lift | Start raising the blind | - |
| Start lowering venetian lift | Start lowering the blind | - |
| Stop venetian lift | Stop the blind | - |
| Set DMX color/level settings | Set the DMX color/brightness level | 0-255 / 0-100 |
| Motor Jog raise | Raise the 220V AC shade | - |
| Motor Jog lower | Lower the 220V AC shade | - |
| Motor 4-stage jog raise | Increase the power of the 4-stage motor | - |
| Motor 4-stage jog lower | Decrease the power of the 4-stage motor | - |
SHADEGRP
Controls shades
- IntegrationID - channel ID
Action
| Type | Description | Value |
|---|---|---|
| Set shade group level | Set the shade opening level | 0-100 |
| Start Raising | Start opening | - |
| Start Lowering | Start closing | - |
| Stop Raising/Lowering | Stop opening/closing | - |
| Set/Get Current Preset | Set the current preset | 0-30 |
HVAC
Controls HVAC equipment
- IntegrationID - channel ID
Action
| Type | Description | Value |
|---|---|---|
| Set/Get Single Setpoints (°C) | Set/Get a single value for an individual setpoint | Use Fixed Drift parameter If True, fixed drift limits If False, temperature only Format: #HVAC,9,19,55.00,0.00,7.00 9 - zone identifier 19 - action number 5.5 - target temperature (0-100 °C) 0.0 - downward deviation (0-8 °C) 0.0 - upward deviation (0-8 °C) |
| Get Current Temperature | Get the temperature in Fahrenheit (US market only) | 32-212°F |
| Set/Get Heat and Cool | Set the cooling or heating temperature in Fahrenheit (US market only) | 32-212°F |
| Set/Get operation mode | Set the operating mode | 1=off 2=heat 3=cool 4=auto 5=em. heat 7=fan 8=dry |
| Set/Get fan mode | Set fan speed | 1=auto 2=on 3=cycler 4=no fan 5=high 6=medium 7=low 8=top |
| Set/Get Eco mode | Set Eco mode | 1=off 2=on |
| Get Eco offset | Set the Eco setpoint | 1-11°F |
| Set Schedule status | Set the schedule status | Schedule unavailable - the schedule is unavailable Following schedule - follow the schedule Permanent hold - switch to manual mode Temporary Hold - switch to manual mode until the next scheduled event |
| Get Temperature sensor connection status | Get the temperature sensor connection status (not supported by thermostats for the European market) | 1=All sensors active 2=Sensor not found 3=Wireless sensors only 4=No sensors |
| Get Schedule Event | Get the schedule event | "Schedule No., event No., HH, MM, SPH(setpoint heat), SPC(setpoint cool)" |
| Get Schedule Day assignment | Get the days on which the thermostat follows the schedule | "Schedule#(1–7), DD(Bitmap:Sunday(Bit 0)–Saturday(Bit 6) 1–active day, 0–inactive day)" |
| Get system mode | Get the system mode | 1=Normal 2=Away 3=Green |
| Get Heat and Cool setpoints | Get the cooling and heating values | SPH=32–212 °F SPC=32–212 °F |
| Get emergency heat available | Get the emergency heating state | 1=Not Available 2=Available |
| Get call status | Get the call status | 0=None, Last was Heat 1=Heat Stage 1 2=Heat Stage 1 and 2 3=Heat Stage 1, 2, and 3 4=Heat Stage 3 5=None, Last was Cool 6=Cool Stage 1 7=Cool Stage 1 and 2 8=Off 9=Emergency Heat 10=Dry |
| Get current temperature | Get the current temperature | 1-100 °C |
| Set/Get heat and cool setpoint(C) | Set/Get the temperature setpoint | SPH=0–100 °C SPC=0–100 °C |
| Set Current Temperature (°C) | Set the temperature in degrees Celsius | 0-100 |
AREA
Controls areas
- IntegrationID - channel ID
Action
| Type | Description | Value |
|---|---|---|
| Set Area level | Set the light activation level for the room | Level 1=0–100 Fade 2 in: SS.ss, SS, MM:SS Delay 2 in: SS.ss, SS, MM:SS |
| Start Raising | Start increasing | - |
| Start Lowering | Start decreasing | - |
| Stop Raising/Lowering | Stop increasing/decreasing | - |
| Set/Get current scene | Set the current scene | 0-32 (Scene Number) |
| Set/Get daylighting mode | Set/Get the illuminance sensor state | 1=Active 2=Inactive |
| Get Occupancy State | Get the occupancy sensor state | 1=Unknown 2=Inactive 3=Occupied 4=Unoccupied |
| Get Occupancy Mode | Get the occupancy sensor operating mode | 1=Occupancy and Vacancy 2=Vacancy 3=Not Applicable 4=Inactive |
| Set/Get Occupied level or scene | Set/Get the sensor activation level or scene number for an occupied room | Level =0–100 Scene Number =0–32 |
| Set/Get UnOccupied level or scene | Set/Get the sensor activation level or scene number for an unoccupied room | Level =0–100 Scene Number =0–32 |
| Set Hyperion Shadow Sensor Override State | Set the Hyperion shadow sensor override state | 0=Disable 1=Enable 2=Mixed (Get Only) |
| Set Hyperion Brightness Sensor Override State | Set the Hyperion shadow sensor override brightness | 0=Disable 1=Enable 2=Mixed (Get Only) |