|  Developer
Updated on March 28, 2023

request_meter()

  • Resets meter to default value or to passed value
Edit

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

zwave.request_meter(node_id, channel_id, "watt")

zwave.request_meter(node_id, channel_id, "kilo_watt_hour")