12.6.0 • Published 2 days ago

@zwave-js/nvmedit v12.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days ago

Z-Wave JS: NVM editor

CLI utility to convert binary NVM backups from Z-Wave controllers into JSON and back. Can be used to edit a Z-Wave controller's memory or convert it between different firmware revisions.
WARNING: This is highly experimental. Use at your own risk!

(Probably) supports all NVM files in the NVM3 format, which is used starting with Z-Wave SDK 6.61+.

Convert one NVM to be compatible with another one

This is probably the command you're looking for. It converts the format of an NVM backup between different Z-Wave modules.

npx @zwave-js/nvmedit convert --source <source> --target <target> --out <output>

<source> specifies the source NVM filename. This file will be converted to match the target NVM.
<target> specifies the target NVM filename. This file will used to determine how to convert the source NVM.
The resulting NVM will be written to <output>.

Convert binary NVM file to JSON

npx @zwave-js/nvmedit nvm2json --in /path/to/nvm.bin --out /path/to/nvm.json [--verbose]

The --verbose flag will print additional output like memory page contents or parsed NVM objects to the console.

The .bin file must either contain a 700-series NVM (SDK version 7.x) or a 500-series NVM (SDK version 6.61+). The .json output format will depend on the SDK version.

Convert JSON NVM file to binary

npx @zwave-js/nvmedit json2nvm --in /path/to/nvm.json --out /path/to/nvm.bin --version <ver.si.on>

<ver.si.on> determines the output format of the NVM file and must be replaced with the target SDK version which must match your stick's firmware version Only firmware version 7.x is supported. Converting a 500-series .json to a 700-series .json must be done beforehand in a separate step.

ATTENTION: The input .json file must contain a "meta" section which contains some information about the target stick. If it is missing, you can use the nvm2json command to convert a backup of the target stick and copy the section from there.

Convert 500-series JSON to 700-series JSON

npx @zwave-js/nvmedit 500to700 --in /path/to/nvm500.json --out /path/to/nvm700.json [--truncate]

Some 500-series NVM backups contain more application data than the 700-series NVM has reserved for this field. The conversion routine will try to remove 0-bytes at the start and end, but if this is not enough, it will fail. Set the --truncate option to allow truncating potentially valid application data.

Convert 700-series JSON to 500-series JSON

npx @zwave-js/nvmedit 700to500 --in /path/to/nvm700.json --out /path/to/nvm500.json
12.6.0

2 days ago

12.5.6

16 days ago

12.5.5

23 days ago

12.5.3

29 days ago

12.5.0

1 month ago

12.5.1

1 month ago

12.4.4

3 months ago

12.4.3

4 months ago

12.5.0-beta.0

4 months ago

11.12.0

9 months ago

12.0.3

7 months ago

12.4.0

5 months ago

12.0.4

7 months ago

12.0.0

8 months ago

12.0.1

7 months ago

12.0.2

7 months ago

11.2.0

10 months ago

12.3.0

6 months ago

11.5.1

10 months ago

11.5.2

10 months ago

11.5.0

10 months ago

11.9.1

9 months ago

11.9.0

9 months ago

11.14.0

8 months ago

12.0.0-beta.3

8 months ago

12.0.0-beta.0

8 months ago

12.0.0-beta.1

8 months ago

12.2.1

7 months ago

12.2.3

7 months ago

12.2.0

7 months ago

11.4.0

10 months ago

11.8.0

10 months ago

11.8.1

9 months ago

11.13.1

8 months ago

11.13.0

9 months ago

11.7.0

10 months ago

11.3.0

10 months ago

11.1.0

11 months ago

10.22.3

12 months ago

10.22.1

12 months ago

10.19.0

12 months ago

10.23.4

11 months ago

10.23.2

11 months ago

10.23.6

11 months ago

11.0.0-beta.0

12 months ago

11.0.0-beta.1

11 months ago

11.0.0-beta.2

11 months ago

11.0.0-beta.3

11 months ago

11.0.0-beta.4

11 months ago

10.20.0

12 months ago

11.0.0

11 months ago

10.21.0

12 months ago

10.16.0

1 year ago

10.17.0

1 year ago

10.15.0

1 year ago

10.11.1

1 year ago

10.11.0

1 year ago

10.12.0

1 year ago

10.13.0

1 year ago

10.14.0

1 year ago

9.0.7

2 years ago

9.4.1

2 years ago

9.0.5

2 years ago

9.4.0

2 years ago

9.0.4

2 years ago

10.0.0

2 years ago

10.0.2

2 years ago

10.4.0

1 year ago

10.0.4

2 years ago

10.0.0-beta.10

2 years ago

10.3.0

2 years ago

9.0.0-beta.5

2 years ago

9.0.0-beta.9

2 years ago

9.0.0-beta.8

2 years ago

9.0.0-beta.7

2 years ago

9.0.0-beta.6

2 years ago

10.0.0-rc.0

2 years ago

9.0.0

2 years ago

10.6.0

1 year ago

9.6.0

2 years ago

10.2.0

2 years ago

9.1.0

2 years ago

10.5.0

1 year ago

10.5.5

1 year ago

10.5.6

1 year ago

9.3.0

2 years ago

10.1.0

2 years ago

10.0.0-beta.3

2 years ago

10.0.0-beta.0

2 years ago

10.0.0-beta.1

2 years ago

10.0.0-beta.6

2 years ago

10.0.0-beta.4

2 years ago

10.0.0-beta.5

2 years ago

10.0.0-beta.8

2 years ago

10.10.0

1 year ago

9.2.0

2 years ago

9.0.0-beta.3

2 years ago

9.0.0-beta.2

2 years ago

9.0.0-beta.0

2 years ago

8.11.7

2 years ago

8.11.6

2 years ago

8.11.5

2 years ago

8.11.4

2 years ago

8.11.3

2 years ago

8.10.2

2 years ago

8.10.1

2 years ago

8.10.0

2 years ago

8.9.2

2 years ago

8.9.0

2 years ago