Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Use new restoreNVM API to restore NVM backups #2119

Closed
kpine opened this issue Dec 29, 2021 · 1 comment · Fixed by #2120
Closed

[feat] Use new restoreNVM API to restore NVM backups #2119

kpine opened this issue Dec 29, 2021 · 1 comment · Fixed by #2120
Assignees
Labels
enhancement New feature or request

Comments

@kpine
Copy link
Contributor

kpine commented Dec 29, 2021

Describe the solution you'd like

Z2M currently uses the restoreNVMRaw API to restore a backed up NVM. This API requires the the source and target controller NVMs are compatible. node-zwave-js v8.9.0 added a new restoreNVM API which automatically converts the NVM backup to the correct target format. Using the new one would allow users to backup from a 500 and restore to a 700, for example.

Unless I'm missing something, there doesn't seem to be any reason for applications to use restoreNVMRaw anymore with this new API available.

@kpine kpine added the enhancement New feature or request label Dec 29, 2021
@robertsLando
Copy link
Member

@kpine Thanks! It's a quick fix, just need to change the api name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants