CONTACT US SEARCH
L Cubed Solutions

Valued Independent Programmers, AMX Certified Experts

Light Groups Module Information

Home
Module Listings

Back to Corporate

General:

These modules are used to allow the user to deal with lights as groups that can be turned on/off based upon a schedule or based upon an event (car sensor, motion detector, etc). Scheduled events include time, pre-dusk, pre-dawn, dusk, and dawn. Event groups have a duration for how long the lights stay on. Lights contained in more than one active group will work as expected based upon how the group of lights is setup. Groups also include manual override and auxiliary action states. Load intensities can be set as a group, or individually adjusted for finer control. All settings can be stored to disk or restored from disk.

Prerequisites:

  • TP Tracker Module
  • Lighting Communication Module
  • Light Load Data Module

Module Headers:

Lighting Group Management Module

TypeNameDescription
DevvdvLightingLighting communications module device
DevvdvGroupControlVirtual device for the module
CharisDarkTrue when it is dark (after sunset, before sunrise)
CharisVacationTrue when vacation mode is selected
IntegerLatestDawnTimeValue in minutes of the latest dawn time
IntegerLatestDuskTimeValue in minutes of the latest dusk time
IntegerMaxLtLoadMaximum light loads read from file
Char[][]LtLdDescriptionEach load's description
Char[]LtLdTypeEach load's type
Char[]LtLdIntensityCurrent intensity of each light load
Integer[]LtLdProcAddrNumeric representation of each light load's processor address
Char[][]LtLdInGroupEach load's group membership
Char[][]FadeRateStrDescription of each fade rate
Char[][]GroupDescriptionDescription of each group
IntegerMaxSchedGroupMax number of scheduled groups
IntegerMaxEventGroupMax number of event groups
IntegerMaxGroupTotal number of groups combined
Integer[][][][]GroupScheduleEach group's schedule time and action
Integer[][]GroupPropertyEach group's properties

Lighting Group Touch Panel UI Module

TypeNameDescription
DevvdvGroupControlVirtual device for the module
DevvdvTpMainMain panel device (used for popup control)
DevvdvTpLitesLighting panel device (could be same as vdvTpMain)
Integer[]cTpBeginEndNavigation buttons
Integer[]cTpRaiseLowerValue modify buttons
IntegercTpPreviousTo show/hide 'Previous' button
Integer[]cTpGrpDescriptionList of description channels for visible groups
Integer[]cTpGrpOverrideList of override channels for visible groups
Integer[]cTpGrpFadeOnRateList of 'ON' fade rate channels for visible groups
Integer[]cTpGrpOnIntensityList of 'ON' intensity channels for visible groups
Integer[]cTpGrpFadeOffRateList of 'OFF' fade rate channels for visible groups
Integer[]cTpGrpOffIntensityList of 'OFF' intensity channels for visible groups
Integer[]cTpGrpCursorSelectedUsed to denote which group is currently selected
Integer[]cTpGrpPopupsMutually exclusive buttons for each setting popup
IntegercTpDetailGrpNameText button for name of current group on Detail popup
IntegercTpGrpEnableChannel used to enable/disable the current group
IntegercTpEventAuxEnableChannel used to enable/disable the Event group Aux feature
IntegercTpGrpVacationExemptChannel used to exempt a group from vacation status
Integer[]cTpGrpDetailSettableChannels used for settable values (predusk and predawn times)
IntegercTpSchedGrpNameText button for name of current group on Schedule popup
IntegercTpGrpSchedTodayChannel to select the current day in the weekly schedule
IntegercTpGrpSchedCopyToWeekdayChannel to copy current day schedule to all week days
IntegercTpGrpSchedCopyToWeekendChannel to copy current day schedule to weekend days
Integer[]cTpGrpSchedDaySelectedChannels used to select a day of the week
Integer[]cTpGrpSchedTimesChannels to adjust time of a scheduled item
Integer[]cTpGrpSchedActionsChannels to adjust the action of a scheduled item
IntegercTpLoadGrpNameText button for name of current group on Load Assignment popup
Integer[]cTpGrpLoadSelectedList of channel/text buttons to list and select loads from
IntegercTpGrpLtLdClearAllChannel used to clear all currently selected loads for current group
IntegercTpGrpLtLdLvlDescriptionText channel for description of current level adjusted load
IntegercTpGrpLtLdLvlDefaultSets current level adjusted load's intensity setting to group default
IntegercTpGrpLtLdLvlAdjustChannel attached to intensity level adjustment bar
IntegerlTpGrpLtLdLvlAdjustLevel value attached to intensity level adjustment bar
IntegercTpLtLdSetPropertiesToggles state of Load level adjustment popup feature
CharisDarkTrue when it is dark (after sunset, before sunrise)
CharisVacationTrue when vacation mode is selected
Char[][]LtLdDescriptionEach load's description
Char[]LtLdTypeEach load's type
Integer[]LtLdProcAddrNumeric representation of each light load's processor address
Char[]LtLdIntensityCurrent intensity of each light load
Integer[]LoadDisplayOrderContains loads in display order
IntegerMaxLtLoadMaximum light loads read from file
Char[][]LtLdInGroupEach load's group membership
Char[][]FadeRateStrDescription of each fade rate
Char[][]GroupDescriptionDescription of each group
IntegerMaxSchedGroupMax number of scheduled groups
IntegerMaxEventGroupMax number of event groups
IntegerMaxGroupTotal number of groups combined
Integer[][][][]GroupScheduleEach group's schedule time and action
Integer[][]GroupPropertyEach group's properties
Char[]TpCurrPageName of the current page for this TP
Char[]TpCurrPopupName of the latest popup with activity
IntegerTpNewPageTrue when the current page has just changed
IntegerTpNewPopTrue when a popup has just appeared or disappeared
IntegerTpPopupTrue if appearing, false if disappearing
IntegercTpEditChannel used as edit feature button enable/disable
IntegerTpEditingTrue is editing feature is enabled
IntegerTpEditChannelCurrent channel number being edited
IntegerTpKeyTypeSpecifies the keypad/keyboard type
Char[]TpEditPresetPreset text to display

Send_Commands (to vdvGroupControl):

  • "'SET_GROUP',<group_num>,<0|1|2>" where 0 = OFF, 1 = ON, 2 = TOGGLE
  • "'SET_PRE_DUSK_EVENT',<event_num>" turns on a pre-dusk event if pre-dusk is satisfied.
  • 'Initialize' - Resets group data and reads data from disk.
  • 'Load_Data' - Reads data from disk.
  • 'Save_Data' - Saves data to disk.
  • 'Ver' - Displays the compilation and version information for the module.

Send_Strings (from vdvGroupControl to TPs):

  • 'GROUP_PAGE_UPDATE' - Group page must be refreshed.
  • "'GROUP_STATUS_UPDATE',<group_num>" group_num's data must be updated.

API Calls Supported:

None

API Calls Returned:

None

 

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