update_nodes_firmware()
- Request nodes firmware update. Zwave addon downloads firmwares and updates each node. Downloading and updating produces node_firmware_download_status and node_firmware_update_status events.
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"
},
})