Listed below is an excerpt from the HAI Omni Link II protocol document. It describes how to receive notifications from the controller. I can successfully enable notifications but am having a difficult time with receiving these notifications. Has anybody successfully implemented notifications via code? If so, please shed some light on how it is done.
NOTIFICATION MESSAGES
HAI controllers generate event notifications upon the occurrence of various changes in the controller. When the ENABLE
NOTIFICATIONS feature is enabled and a change or event occurs in the controller, the event is automatically sent to the client.
When the ENABLE NOTIFICATIONS feature is enabled, the system does not need to be polled, the notifications are automatically
sent to the client.
• Enable notifications
• Object event notifications
• Other event notifications
ENABLE NOTIFICATIONS
The ENABLE NOTIFICATIONS message requests the HAI controller to send event notifications as they occur. If the ENABLE
NOTIFICATIONS feature is disabled, the HAI controller will not send event data.
Start character 0x21
Message length 0x02
Message type 0x15
Data 1 enable byte (0=disable, 1=enable)
CRC 1 varies
CRC 2 varies
Expected reply ACKNOWLEDGE
OBJECT EVENT NOTIFICATIONS
When a zone, unit, thermostat, auxiliary sensor, area, audio zone, access control reader, access control reader lock, or message events
occurs, the HAI controller will send the respective OBJECT STATUS report message to the client.
ZONE NOTIFICATIONS:
When an event occurs with a zone (e.g. a zone becomes not ready, secure, bypassed, or restored), the
HAI controller will automatically send the ZONE STATUS message for the respective zone. See ZONE STATUS for
message details.
UNIT NOTIFICATIONS:
When an event occurs with a control unit (e.g. a unit is turned on or off, the light level of a unit changes, the value of a flag
changes, etc.), the HAI controller will automatically send the UNIT STATUS message for the respective control unit. See
UNIT STATUS for message details