# `Grizzly.ZWave.Commands.AlarmReport`
[🔗](https://github.com/smartrent/grizzly/blob/v9.1.4/lib/grizzly/zwave/commands/alarm_report.ex#L1)

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 `[]`)

# `param`

```elixir
@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()]}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
