Grizzly.ZWave.Commands.AntitheftSet (grizzly v0.15.6) View Source

This command is used to lock or unlock a node.

Params:

  • :state - This field MUST indicate the desired :locked or :unlocked state for the receiving node (required)

  • :magic_code - This field contains the 1 to 10 byte Magic Code used to lock or unlock the node (required)

  • :manufacturer_id - This field describes the Z-Wave Manufacturer ID of the company’s product that has locked the node (required)

  • :antitheft_hint - This field is used as a 1 to 10 byte identifier or key value to help retriving the Magic Code (required)

  • :locking_entity_id - This field MUST specify a unique Z-Wave Alliance identifier for the entity that has locked the node (required)

Link to this section Summary

Link to this section Types

Specs

param() ::
  {:state, Grizzly.ZWave.CommandClasses.Antitheft.lock_state()}
  | {:magic_code, String.t()}
  | {:manufacturer_id, non_neg_integer()}
  | {:antitheft_hint, String.t()}
  | {:locking_entity_id, non_neg_integer()}