|  Developer
Updated on March 28, 2023

reset_meter()

  • Resets meter to default value or to passed value
Edit

  • params:
    • node_id (int),
    • channel_id (int),
    • value (int), — optional
    • value_size(int), — optional. Can be 1, 2, or 4. Default is 4.
  • return: none.
Edit
				
					require "zwave"

zwave.reset_meter(node_id, channel_id)

zwave.reset_meter(node_id, channel_id, 1000)