View Source Grizzly.ZWave.Commands.AntitheftSet (grizzly v8.0.1)

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 v2+)
  • :magic_code - This field contains the 1 to 10 byte Magic Code used to lock or unlock the node (required v2+)
  • :manufacturer_id - This field describes the Z-Wave Manufacturer ID of the company’s product that has locked the node (required v2+)
  • :antitheft_hint - This field is used as a 1 to 10 byte identifier or key value to help retriving the Magic Code (required v2+)
  • :locking_entity_id - This field MUST specify a unique Z-Wave Alliance identifier for the entity that has locked the node (required v3)

Summary

Types

@type 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()}