Skip to main content

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:

Tip

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​

Note

Control panels (iOS, Android, Windows, Mac) can control Lutron Homeworks QS equipment only through a Homeworks QS processor.

LutronConnection.png

  1. Configure the processor in Lutron Designer first (contact the manufacturer for access to the software's features).
  2. Select the required devices in the configurator and activate them (each device is assigned an individual ID during this process).
  3. Save the project and send the configuration to the processor.
Note
  • 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:

  1. Start iRidi Studio and create a new iRidi server project;
  2. Add the Lutron Homeworks QS driver to the project.

Specify the controller address in the iRidi project; otherwise, it will not work.

lutron_add_device.png

Configuring connection parameters​

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

lutron_params.png

  • 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.

  1. Download the template (*.js) (right-click and save the target), then add it to the script editor using (+) Add Script from file

  2. 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.

  1. 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:

Script call internal-external.png

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:

SendValue.png

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.

Lutron_sets.png

DEVICE​

Controls device inputs, such as buttons and dry contacts

  • IntegrationID - channel ID
  • Component - component number

Action

TypeDescriptionValue
EnabledActivate-
DisableDeactivate-
Press/Close/OccupiedPress/Close/Closed contact-
Release/Open/UnoccupiedRelease/Open/Open contact-
HoldHold-
Multi-tapMulti-tap-
Set/Get Current SceneSet/Get the current sceneScene number
Set/Get LED StateSet/Get the keypad button LED stateOn
Off
Normal Flash
Rapid Flash
Set/Get Light LevelSet/Get the brightness levelBrightness level value
Set/Get Zone LockSet/Get the zone lock (not supported by Homeworks QS)On
Off
Set/Get Scene LockSet/Get the scene lock (not supported by Homeworks QS)On
Off
Set/Get Sequence StateSet/Get the sequence stateOff
Scenes 1-4
Scenes 5-16
Start RaisingStart increasing-
Start loweringStart decreasing-
Stop Raising/LoweringStop increasing/decreasing-
Get battery statusGet the battery status-
Set a custom lift and tilt levelSet the blind opening and slat tilt levels0-100
Set a custom lift level onlySet the shade opening level0-100
Set a custom tilt level onlySet the slat tilt level0-100
Hold/ReleaseHold/Release-
GRAFIK Eye QS Timeclock stateEnable/disable Timeclock stateEnabled/Disabled
Query CCI stateQuery CCI status-
Set/Get activate LED levelSet/Get the keypad button backlight level in the active state0-100
Set/Get inactivate LED levelSet/Get the keypad button backlight level in the inactive state0-100
Get Temperature CGet the temperature in Celsius-
Get Temperature FGet the temperature in Fahrenheit-

OUTPUT​

Controls outputs, such as dimmers and dry-contact outputs

  • IntegrationID - channel ID

Action

TypeDescriptionValue
Set/Get Venetian lift and tilt levelSet/Get the blind lift and tilt levels0-100
Set/Get light levelSet/Get the brightness level0-100
Start RaisingStart increasing-
Start loweringStart decreasing-
Stop Raising/LoweringStop increasing/decreasing-
Start FlashSend a series of pulsesFlash duration (in seconds)
PulseSend a single pulse to the dimmerPulse duration (in seconds)
Set/Get Venetian tilt level onlySet/Get the blind slat tilt level0-100
Start raising venetian tiltStart tilting the slats upward-
Start lowering venetian tiltStart tilting the slats downward-
Stop venetian tiltStop tilting the slats-
Start raising venetian liftStart raising the blind-
Start lowering venetian liftStart lowering the blind-
Stop venetian liftStop the blind-
Set DMX color/level settingsSet the DMX color/brightness level0-255 / 0-100
Motor Jog raiseRaise the 220V AC shade-
Motor Jog lowerLower the 220V AC shade-
Motor 4-stage jog raiseIncrease the power of the 4-stage motor-
Motor 4-stage jog lowerDecrease the power of the 4-stage motor-

SHADEGRP​

Controls shades

  • IntegrationID - channel ID

Action

TypeDescriptionValue
Set shade group levelSet the shade opening level0-100
Start RaisingStart opening-
Start LoweringStart closing-
Stop Raising/LoweringStop opening/closing-
Set/Get Current PresetSet the current preset0-30

HVAC​

Controls HVAC equipment

  • IntegrationID - channel ID

Action

TypeDescriptionValue
Set/Get Single Setpoints (°C)Set/Get a single value for an individual setpointUse 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 TemperatureGet the temperature in Fahrenheit (US market only)32-212°F
Set/Get Heat and CoolSet the cooling or heating temperature in Fahrenheit (US market only)32-212°F
Set/Get operation modeSet the operating mode1=off
2=heat
3=cool
4=auto
5=em. heat
7=fan
8=dry
Set/Get fan modeSet fan speed1=auto
2=on
3=cycler
4=no fan
5=high
6=medium
7=low
8=top
Set/Get Eco modeSet Eco mode1=off
2=on
Get Eco offsetSet the Eco setpoint1-11°F
Set Schedule statusSet the schedule statusSchedule 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 statusGet 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 EventGet the schedule event"Schedule No., event No., HH, MM, SPH(setpoint heat), SPC(setpoint cool)"
Get Schedule Day assignmentGet 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 modeGet the system mode1=Normal
2=Away
3=Green
Get Heat and Cool setpointsGet the cooling and heating valuesSPH=32–212 °F
SPC=32–212 °F
Get emergency heat availableGet the emergency heating state1=Not Available
2=Available
Get call statusGet the call status0=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 temperatureGet the current temperature1-100 °C
Set/Get heat and cool setpoint(C)Set/Get the temperature setpointSPH=0–100 °C
SPC=0–100 °C
Set Current Temperature (°C)Set the temperature in degrees Celsius0-100

AREA​

Controls areas

  • IntegrationID - channel ID

Action

TypeDescriptionValue
Set Area levelSet the light activation level for the roomLevel 1=0–100
Fade 2 in: SS.ss, SS, MM:SS
Delay 2 in: SS.ss, SS, MM:SS
Start RaisingStart increasing-
Start LoweringStart decreasing-
Stop Raising/LoweringStop increasing/decreasing-
Set/Get current sceneSet the current scene0-32 (Scene Number)
Set/Get daylighting modeSet/Get the illuminance sensor state1=Active
2=Inactive
Get Occupancy StateGet the occupancy sensor state1=Unknown
2=Inactive
3=Occupied
4=Unoccupied
Get Occupancy ModeGet the occupancy sensor operating mode1=Occupancy and Vacancy
2=Vacancy
3=Not Applicable
4=Inactive
Set/Get Occupied level or sceneSet/Get the sensor activation level or scene number for an occupied roomLevel =0–100
Scene Number =0–32
Set/Get UnOccupied level or sceneSet/Get the sensor activation level or scene number for an unoccupied roomLevel =0–100
Scene Number =0–32
Set Hyperion Shadow Sensor Override StateSet the Hyperion shadow sensor override state0=Disable
1=Enable
2=Mixed (Get Only)
Set Hyperion Brightness Sensor Override StateSet the Hyperion shadow sensor override brightness0=Disable
1=Enable
2=Mixed (Get Only)