|  Developer
Updated on May 18, 2022

update_nodes_firmware()

Edit

  • params:
  • params:
    • node_ids (array of integers),
    • firmware (array of tables)
  • firmware fields:
    • target (int),
    • image (string),
    • checksum (string), opt
Edit
				
					require "zwave"

zwave.update_nodes_firmware(
    { 42, 43 },
    {
        {
            target = 0,
            image = "http://image.bin",
            checksum = "http://checksum.sha1"
        },
        {
            target = 1,
            image = "http://image1.bin",
            checksum = "http://checksum1.sha1"
        },
    })