CONTACT US SEARCH
L Cubed Solutions

Valued Independent Programmers, AMX Certified Experts

Lutron Homeworks Comm Module Information

Home
Module Listings

Back to Corporate

General:

This module is used to communicate with a Lutron Homeworks system comprising of up to eight panels. All features of the panel are available in the APIs listed below. Because the number of commands that can be queued at any given time is, to a large extent, determined by the number of loads and keypads in the system, the queue size is determined by the user at compile time. Refer to the include files in the package for those constants to set.

Prerequisites:

None

Module Header:

TypeNameDescription
DevvdvVirtual device for the module
DevdvPhysical device for the module
Char[][]NormalQueueQueue for normal transmissions
Char[][]PriorityQueueQueue for immediate transmissions

Send_Commands:

  •  '?' - This causes the module to display all supported commands via messages to the master.
  • 'Ver' - Displays the compilation and version information for the module.
  • 'Debug <0|1>' - Set debug state off or on
  • 'Pass-<string>' - Put string on the normal queue.

API Calls Supported:

See supplied include file for APIs predefined. All commands must be sent to the virtual device.

Call 'L3_LutronHW_DimLight' (Dev vdv, Integer Panel, Integer Keypad, Integer Button, Integer Raise, Integer Increment);
Call 'L3_LutronHW_KeypadEnable' (Dev vdv, Integer Panel, Integer Keypad, Integer Enable);
Call 'L3_LutronHW_PressKeypadButton' (Dev vdv, Integer Panel, Integer Keypad, Integer Button);
Call 'L3_LutronHW_GetClock' (Dev vdv);
Call 'L3_LutronHW_GetDeviceStatusRange' (Dev vdv, Integer Panel1, Integer Device1, Integer Panel2, Integer Device2);
Call 'L3_LutronHW_GetDeviceStatus' (Dev vdv, Integer Panel, Integer Device);
Call 'L3_LutronHW_GetKeypadEnable' (Dev vdv, Integer Panel, Integer Keypad);
Call 'L3_LutronHW_GetKeypadLeds' (Dev vdv, Integer Panel, Integer Keypad);
Call 'L3_LutronHW_GetSecurityStatus' (Dev vdv);
Call 'L3_LutronHW_GetVacationStatus' (Dev vdv);
Call 'L3_LutronHW_RealTimeEnable' (Dev vdv, Integer Keypad, Integer Led, Integer Device);
Call 'L3_LutronHW_SecurityEnable' (Dev vdv, Integer Enable);
Call 'L3_LutronHW_SetClock' (Dev vdv, Integer nMonth, Integer nDay, Integer nYear, Integer nHour, Integer nMinute, Integer nDow);
Call 'L3_LutronHW_SetKeypadLeds' (Dev vdv, Integer Panel, Integer Keypad, Integer State);
Call 'L3_LutronHW_SetLight' (Dev vdv, Integer Rate, Integer PctIntensity, Integer Panel, Integer Device);
Call 'L3_LutronHW_SetLightImm' (Dev vdv, Integer Rate, Integer PctIntensity, Integer Panel, Integer Device);
Call 'L3_LutronHW_SetLightRange' (Dev vdv, Integer Rate, Integer PctIntensity, Integer Panel1, Integer Device1, Integer Panel2, Integer Device2);
Call 'L3_LutronHW_SwitchEnable' (Dev vdv, Integer Panel, Integer Device, Integer Enable);
Call 'L3_LutronHW_VacationEnable' (Dev vdv, Integer Enable);
L3_LutronHW_GetKeypadIndex (Integer Panel, Integer Keypad, Integer MaxKpdNum);
 

API Calls Returned:

The following APIs are called if their constants are defined (see the include file):

Define_Call 'L3_LutronHW_ClockNote' (Dev vdv, Char ClockStr[19])
Define_Call 'L3_LutronHW_DeviceIntensityNote' (Dev vdv, Integer Panel, Integer Device, Integer Intensity)
Define_Call 'L3_LutronHW_DeviceStatusNote' (Dev vdv, Integer Panel, Integer BusAddr, Integer CntlAddr, Integer Value)
Define_Call 'L3_LutronHW_KeypadButtonPress' (Dev vdv, Integer Panel, Integer Keypad, Integer Btn, Integer Pressed)
Define_Call 'L3_LutronHW_KeypadNote' (Dev vdv, Integer Panel, Integer Keypad, Integer Enabled)
Define_Call 'L3_LutronHW_LedStatusNote' (Dev vdv, Integer Panel, Integer Keypad, Integer Status)
Define_Call 'L3_LutronHW_PhoneButtonNote' (Dev vdv, Integer Panel, Integer Btn)
Define_Call 'L3_LutronHW_SecurityNote' (Dev vdv, Integer Enabled)
Define_Call 'L3_LutronHW_VacationNote' (Dev vdv, Integer Enabled)
 

 

Last Modified: 05/16/2008 08:20:14 PM