|  Developer
Updated on May 18, 2022

request_master_code()

  • Ask ZWave addon to send a ‘MASTER_CODE_GET’ request to ZWave node, master_code_updated event will be sent as a request result. See user code CC capabilities is master code supported (user code V2 only).
Edit

  • params: node_id (int), channel_id (int)
  • return: none.
Edit
				
					require "zwave"

zwave.request_master_code(node_id, channel_id)