|  Developer
Updated on November 16, 2021

configure_device(tx_ids, config)

  • Provide device-specific configuration. See the Default column for initial values before this method is called.
Edit
  • tx_ids: table config: table
Field Type Required Default Description
pin_length number 8 Length of pin code in keypad devices
pin_input_timeout number 5 Time in seconds before a partially entered pin code is reset
Edit
  • nil
Edit
				
					local twogig = require "2gig"

twogig.remove_device({ 783140 }, {
    pin_length = 5,
    pin_input_timeout = 3
})