wiring ui to alarms and data events