The HAI Omni Pro II Driver connects to an HAI Omni Pro II security and automation panel.
The following HAI features are supported:
- Lights
- Thermostats
- Outputs
- Flags
- Areas
- Zones
- Arming/Disarming
Units such as lights, outputs and flags can be addressed individually starting with 1 for each type, for example light 1 or output 1. Since HAI users may be more accustomed to addressing each unit by it's HAI id, this is supported as well.
This driver can communicate with the HAI Omni Pro II via the computer's network port.
Manufacturer:
Home Automation, Inc (HAI)Primary Communications Port: Network
Table of Contents [Hide/Show] Configuration Settings Events Light On/Off State Changed Output State Changed Thermostate Current Temperature Changed Termostat Current Humidity Changed Thermostat Fan Mode Changed Thermostat Cool Set Point Changed Thermostat Heat Set Point Changed Thermostat Hold State Changed Thermostat Mode Changed Zone Physical Status Changed Area Arm Status Changed Area Arm Up State Changed Zone Temperature Changed Zone Humidity Changed Instance Properties ModelVersion Connected LightLevels LightOnOffs LightNames UnitLevels UnitNames OutputStates OutputNames FlagLevels FlagNames ThermostatNames ThermostatCurrentTemperatures ThermostatCurrentHumidities ThermostatFanModes ThermostatFanModeTexts ThermostatCoolSetPoints ThermostatHeatSetPoints ThermostatHolds ThermostatModes ThermostatModeTexts AreaNames ZoneNames ZonePhysicalStatuses ZonePhysicalStatusTexts AreaArmStatuses AreaArmStatusTexts AreaArmUpStates AreaArmUpStateTexts ZoneTemperatures ZoneHumidities TaskNames DeviceDisplayName DeviceStartTime Instance Methods ArmNight ( Number, Number ) ArmNightInstant ( Number, Number ) ArmVacation ( Number, Number ) BypassZone ( Number, Number ) RestoreZone ( Number, Number ) RestoreAreaZones ( Number, Number ) RestoreAreaZones ( Number ) ActivateTask ( Number ) TurnOnLight ( Number ) TurnOffLight ( Number ) SetLightLevel ( Number, Number ) TurnOnAllLights TurnOffAllLights TurnOnLightByName ( String ) TurnOffLightByName ( String ) SetLightLevelByName ( String, Number ) TurnOnUnit ( Number ) TurnOffUnit ( Number ) SetUnitLevel ( Number, Number ) TurnOnOutput ( Number ) TurnOffOutput ( Number ) SetThermostatCoolSetPoint ( Number, Number ) SetThermostatHeatSetPoint ( Number, Number ) SetThermostatFanMode ( Number, Number ) SetThermostatHold ( Number, Boolean ) SetThermostatMode ( Number, Number ) Disarm ( Number, Number ) ArmAway ( Number, Number ) ArmStay ( Number, Number ) ArmStayInstant ( Number, Number )
|
Configuration Settings
- Host Name : The host name or ip address of HAI Omni. The IP address can be found using the Omni keypad in the Setup/Misc menu.
- Port : (optional) The port to connect to. Defaults to 4369. This can be found using the Omni keypad in the Setup/Misc menu.
- Encryption Key Part 1 : This is the first part of the encryption key. This can be found using the Omni keypad in the Setup/Misc menu.
- Encryption Key Part 2 : This is the second part of the encryption key. This can be found using the Omni keypad in the Setup/Misc menu.
- Temperature Scale : The temperature scale to use when reporting temperatures.
Events
Light On/Off State Changed
Occurs when the light changes from on to off or off to on. Any level greater than zero is considered on.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Output State Changed
Occurs when an output's state changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Thermostate Current Temperature Changed
Occurs when a thermostat current temperature changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Termostat Current Humidity Changed
Occurs when a thermostat current humidity changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Thermostat Fan Mode Changed
Occurs when a thermostat fan mode changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Thermostat Cool Set Point Changed
Occurs when a thermostat cool set point changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Thermostat Heat Set Point Changed
Occurs when a thermostat heat set point changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Thermostat Hold State Changed
Occurs when a thermostat hold state changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Thermostat Mode Changed
Occurs when a thermostat mode changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Physical Status Changed
Occurs when a zone's physical status changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Area Arm Status Changed
Occurs when an area's arm status changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Area Arm Up State Changed
Occurs when an area's arm up state changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Temperature Changed
Occurs when a zone's temperature changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Humidity Changed
Occurs when a zone's humidity changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Instance Properties
ModelVersion
Gets the model and version.
Accessibility : Read Only
Type:
StringConnected
Gets a value indicating if the driver is connected to the hai unit.
Accessibility : Read Only
Type:
BooleanLightLevels
Gets the percent on level of the lights. 0-100
Accessibility : Read Only
Type:
ArrayLightOnOffs
Gets or sets the light to a fully on state or fully off.
Accessibility : Read Only
Type:
ArrayLightNames
Gets the names of all lights.
Accessibility : Read Only
Type:
ArrayUnitLevels
Gets the level of all units (lights, outputs, and flags).
Accessibility : Read Only
Type:
ArrayUnitNames
Gets the names of all units (lights, outputs, and flags).
Accessibility : Read Only
Type:
ArrayOutputStates
Gets the state of all outputs. true=closed, false=open
Accessibility : Read Only
Type:
ArrayOutputNames
Gets the names of all outputs.
Accessibility : Read Only
Type:
ArrayFlagLevels
Gets the level of all flags. (0-255)
Accessibility : Read Only
Type:
ArrayFlagNames
Gets the names of all flags.
Accessibility : Read Only
Type:
ArrayThermostatNames
Gets the names of all thermostats.
Accessibility : Read Only
Type:
ArrayThermostatCurrentTemperatures
Gets the current thermostat temperatures.
Accessibility : Read Only
Type:
ArrayThermostatCurrentHumidities
Gets the current thermostat humidities.
Accessibility : Read Only
Type:
ArrayThermostatFanModes
Gets the current thermostat fan modes.
Accessibility : Read Only
Type:
ArrayThermostatFanModeTexts
Gets the current thermostat fan modes as displayable text.
Accessibility : Read Only
Type:
ArrayThermostatCoolSetPoints
Gets the current thermostat cool set point temperatures.
Accessibility : Read Only
Type:
ArrayThermostatHeatSetPoints
Gets the current thermostat heat set point temperatures.
Accessibility : Read Only
Type:
ArrayThermostatHolds
Gets the current thermostat hold states.
Accessibility : Read Only
Type:
ArrayThermostatModes
Gets the current thermostat modes.
Accessibility : Read Only
Type:
ArrayThermostatModeTexts
Gets the current thermostat modes as displayable text.
Accessibility : Read Only
Type:
ArrayAreaNames
Gets the names of all areas.
Accessibility : Read Only
Type:
ArrayZoneNames
Gets the names of all zones.
Accessibility : Read Only
Type:
ArrayZonePhysicalStatuses
Gets the physical status for all zones. -1=Unknown, 0=Normal, 1=Trouble, 2=Violated, 3=Bypassed
Accessibility : Read Only
Type:
ArrayZonePhysicalStatusTexts
Gets the physical status as displayable text for all zones.
Accessibility : Read Only
Type:
ArrayAreaArmStatuses
Gets the arm status for all areas. -1=Unknown, 0=Disarmed, 1=Armed Away, 2=Armed Day, 3=Armed day Instant, 4=Armed Night Delay, 5=Armed Night, 6=Armed Vacation
Accessibility : Read Only
Type:
ArrayAreaArmStatusTexts
Gets the arm status as displayable text for all areas. -1=Unknown, 0=Disarmed, 1=Armed Away, 2=Armed Stay, 3= Armed Stay Instant, 4= Armed Night, 5=Armed Night Instant, 6=Armed Vacation
Accessibility : Read Only
Type:
ArrayAreaArmUpStates
Gets the arm up state for all areas. -1=Unknown, 0=Not Ready To Arm, 1=Ready To Arm, 2=Ready To Force Arm, 3=Armed With Exit Timer Working, 4=Armed Fully, 5=Force Armed With A Force Arm Zone Violated, 6=Armed With A Bypass
Accessibility : Read Only
Type:
ArrayAreaArmUpStateTexts
Gets the arm up state as displayable text for all areas.
Accessibility : Read Only
Type:
ArrayZoneTemperatures
Gets the temperature for all temperature zones.
Accessibility : Read Only
Type:
ArrayZoneHumidities
Gets the humidity for all humidity zones.
Accessibility : Read Only
Type:
ArrayTaskNames
Gets the names of all macro buttons, also known as tasks.
Accessibility : Read Only
Type:
ArrayDeviceDisplayName
The display name for this device.
Accessibility : Read Only
Type:
StringDeviceStartTime
The date and time when this device was started.
Accessibility : Read Only
Type:
DateTime
Instance Methods
ArmNight ( Number, Number )
Puts the specified area in the armed night state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.
ArmNightInstant ( Number, Number )
Puts the specified area in the armed night instant state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.
ArmVacation ( Number, Number )
Puts the specified area in the arm vacation state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.
BypassZone ( Number, Number )
Bypass a zone.
SyntaxSettingszoneID : The zone (1-96) to bypass.
securityCode : The four digit security code.
RestoreZone ( Number, Number )
Restore a bypassed zone.
SyntaxSettingszoneID : The bypassed zone (1-96) to restore.
securityCode : The four digit security code.
RestoreAreaZones ( Number, Number )
Restores all bypassed zones in the specified area.
SyntaxSettingsareaID : The area (1-8) to restore all bypassed zones.
securityCode : The four digit security code.
RestoreAreaZones ( Number )
Restores all bypassed zones in all areas.
SyntaxSettingssecurityCode : The four digit security code.
ActivateTask ( Number )
Executes a macro button, also known as Activate Task.
SyntaxSettingstaskID : The number of the button to execute.
TurnOnLight ( Number )
Turns on the specified light.
SyntaxSettingsdeviceID : The device id (1-256).
TurnOffLight ( Number )
Turns off the specified light.
SyntaxSettingsdeviceID : The device id (1-256).
SetLightLevel ( Number, Number )
Sets the % level of the specified light.
SyntaxSettingsdeviceID : The device id (1-256).
percentOn : The brightness percent level to set the device to. (0-100)
TurnOnAllLights
Turn on all lights.
SyntaxSettingsnone
TurnOffAllLights
Turn off all lights.
SyntaxSettingsnone
TurnOnLightByName ( String )
Turns on the specified light (or PLC device).
SyntaxSettingsname : The name of the light.
TurnOffLightByName ( String )
Turns off the specified light (or PLC device).
SyntaxSettingsname : The name of the light.
SetLightLevelByName ( String, Number )
Sets the % level of the specified light (or PLC device) by device name.
SyntaxSettingsname : The name of the light.
percentOn : The brightness percent level to set the device to. (0-100)
TurnOnUnit ( Number )
Turns on the specified unit (light, output, or flag).
SyntaxSettingsunitID : The unit id.
TurnOffUnit ( Number )
Turns off the specified unit (light, output, or flag).
SyntaxSettingsunitID : The unit id.
SetUnitLevel ( Number, Number )
Sets the % level of the specified unit (light, output, or flag).
SyntaxSettingsunitID : The unit id.
level : Error: The method 'SetUnitLevel' is missing a ScriptObjectMethodParameterAttribute for 'level'.
TurnOnOutput ( Number )
Turns off an output.
SyntaxSettingsoutputID : The ID of the output to turn on.
TurnOffOutput ( Number )
Opens an output
SyntaxSettingsoutputID : The ID of the output to turn off.
SetThermostatCoolSetPoint ( Number, Number )
Sets the cool set point temperature of a thermostat.
SyntaxSettingsthermostatID : The ID of the thermostat. (1-64)
setPoint : The cool set point temperature. (-40C-50C) (-40F-122F)
SetThermostatHeatSetPoint ( Number, Number )
Sets the heat set point temperature of a thermostat.
SyntaxSettingsthermostatID : The ID of the thermostat. (1-64)
setPoint : The heat set point temperature. (-40C-50C) (-40F-122F)
SetThermostatFanMode ( Number, Number )
Sets a thermostat's fan mode.
SyntaxSettingsthermostatID : The ID of the thermostat.
fanMode : The fan mode: 0=auto, 1=on, 2=cycle.
0 = Auto
1 = On
2 = Cycle
SetThermostatHold ( Number, Boolean )
Sets the hold state of a thermostat.
SyntaxSettingsthermostatID : The ID of the thermostat. (1-64)
hold : The hold state. true=hold is on, false=hold is off.
SetThermostatMode ( Number, Number )
Sets the cooling/heating mode of a thermostat.
SyntaxSettingsthermostatID : The ID of the thermostat. (1-64)
mode : The mode. 0=Off, 1=Heat, 2=Cool, 3=Auto, 4=Emergency Heat
0 = Off
1 = Heat
2 = Cool
3 = Auto
4 = Emergency Heat
Disarm ( Number, Number )
Puts the specified area in the disarmed state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.
ArmAway ( Number, Number )
Puts the specified area in the armed away state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.
ArmStay ( Number, Number )
Puts the specified area in the armed stay state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.
ArmStayInstant ( Number, Number )
Puts the specified area in the armed stay instant state.
SyntaxSettingsareaID : The area (1-8) to arm.
securityCode : The four digit security code.