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

Backup of nodes.json is empty #4094

Open
2 of 3 tasks
miloit opened this issue Jan 17, 2025 · 4 comments
Open
2 of 3 tasks

Backup of nodes.json is empty #4094

miloit opened this issue Jan 17, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@miloit
Copy link

miloit commented Jan 17, 2025

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Docker

Z-Wave JS UI version

9.29.0

ZwaveJS version

14.3.7

Describe the bug

Description

When creating a backup in the Z-Wave JS UI, the nodes.json file in the backup is completely empty. This issue impacts the ability to restore Z-Wave network configurations effectively.

The nodes.json file is empty, preventing proper restoration of Z-Wave network configurations
.

To Reproduce

  1. Open Z-Wave JS UI.

  2. Navigate to the Settings > Backup & Restore section.

  3. Create a new backup.

  4. Inspect the generated backup file, specifically the nodes.json file.

  5. Observe that nodes.json is empty (0 bytes or contains no data).

Expected behavior

The nodes.json file should contain the Z-Wave network configuration, including details about all nodes.

Additional context

No response

@miloit miloit added the bug Something isn't working label Jan 17, 2025
@kpine
Copy link
Contributor

kpine commented Jan 17, 2025

The reproduction steps don't seem to be quite right. Could you clarify, perhaps with a screenshot of where you are making the backup? Or a more exact description?

  1. Navigate to the Settings > Backup & Restore section.

There are two places to create a backup of nodes.json, but this is not one of them. There is no "Backup & Restore" section in "Settings". There is a "Backup" section, but that's for configuring the backups, you can't make a backup anywhere in "Settings".

The nodes.json file should contain the Z-Wave network configuration, including details about all nodes.

The nodes.json file will only contain node IDs, names and locations.

@miloit
Copy link
Author

miloit commented Jan 18, 2025

Image

result is

{ "1": {}, "2": {}, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}, "8": {}, "9": {}, "10": {}, "11": {}, "12": {}, "13": {}, "14": {}, "15": {}, "16": {}, "17": {}, "18": {}, "19": {}, "20": {}, "21": {}, "22": {}, "23": {}, "24": {}, "25": {}, "26": {} }

@kpine
Copy link
Contributor

kpine commented Jan 18, 2025

And you did give your nodes names and locations? Have a screenshot of that?

Image

@robertsLando
Copy link
Member

@miloit that backup only contains node names and locations (when set) and some other specific node things like home assistant devices when you are using HA MQTT auto discovery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants