|  Developer
Updated on May 18, 2022

request_user_code()

  • Ask ZWave addon to send a ‘USER_CODE_GET’ request to ZWave node, user_code_updated event will be sent as a request result
Edit

  • params: node_id (int), channel_id (int), user_id (int)(optional). If user_id is not specified, all supported user codes will be requested.
  • return: none.
Edit
				
					require "zwave"

zwave.request_user_code(node_id, channel_id, user_id)