View Source Grizzly.ZWave.Commands.AlarmReport (grizzly v8.3.0)

This command notifies the application of the alarm state (v1, v2) or the notification state (v8).

Params:

  • :type - the specific alarm type being reported - this different for each application, see device user manual for more details (required)
  • :level - the level is device specific, see device user manual for more details (required)
  • :zensor_net_node_id - the Zensor net node, if the device is not based off of Zensor Net, then this field is 0 (v2, optional, default 0)
  • :zwave_status - if the device alarm status is :enabled or :disabled (v2)
  • :zwave_type - part of Grizzly.ZWave.Notifications spec (v2)
  • :zwave_event - part of the Grizzly.ZWave.Notifications spec (v2)
  • :event_parameters - additional parameters for the event as keyword list, see user manual for more information (v2+, optional, default [])

Summary

Types

@type param() ::
  {:type, byte()}
  | {:level, byte()}
  | {:zensor_net_node_id, Grizzly.ZWave.node_id()}
  | {:zwave_status, Grizzly.ZWave.Notifications.status()}
  | {:zwave_event, Grizzly.ZWave.Notifications.event()}
  | {:zwave_type, Grizzly.ZWave.Notifications.type()}
  | {:sequence_number, byte()}
  | {:event_parameters, [byte()]}