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

RaspBee / ConBee configuration backup #620

Closed
saurabh984 opened this issue Jun 1, 2018 · 10 comments
Labels

Comments

@saurabh984
Copy link
Contributor

@saurabh984 saurabh984 commented Jun 1, 2018

Hi there,

Could we please add a Wiki page here about reliable backup and restore options for deCONZ and RaspBee/ConBee settings including the ZigBee network?

Happy to write it if someone can point me in the right direction.

@kylegordon

This comment has been minimized.

Copy link

@kylegordon kylegordon commented Jun 1, 2018

I'm not aware of an explicit export option for deCONZ, but I've had success in copying ~/.local/share/dresden-elektronik/deCONZ/ between locations. It appears to be a couple of SQLite databases (mainly zll.db)

@ebaauw

This comment has been minimized.

Copy link
Contributor

@ebaauw ebaauw commented Jun 1, 2018

There is an export/import function in the old web app. It's supported by (undocumented) API calls:

// POST /api/<apikey>/config/export

If memory serves, it creates a tar file of the ~/.local/share/dresden elektronik/deCONZ directory with an additional file containing the RaspBee/ConBee configuration (network key, etc).

@saurabh984 saurabh984 closed this Jun 6, 2018
@manup

This comment has been minimized.

Copy link
Member

@manup manup commented Jun 8, 2018

In the Phoscon App the same backup function is also available under Menu > Gateway > Settings.
Currently multiple files are stored in the backup file. In the future most of the data will be stored in the zll.db sqlite3 database file since it is the superior format.

@Skorfulose

This comment has been minimized.

Copy link

@Skorfulose Skorfulose commented Jun 19, 2018

Why is this closed? There is no Wiki page yet. I just created a stub and still have some questions:
https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Backup-&-Restore

@saurabh984 saurabh984 reopened this Jun 19, 2018
@saurabh984

This comment has been minimized.

Copy link
Contributor Author

@saurabh984 saurabh984 commented Jun 19, 2018

Re-opened. I haven’t had the time to test this or document it yet!

@saurabh984

This comment has been minimized.

Copy link
Contributor Author

@saurabh984 saurabh984 commented Jun 23, 2018

How can I migrate from RaspBee to ConBee? I have a RaspBee running on RPi 3 B+ and since it was moved inside a enclosed accoustic server rack in the garage I'm seeing some signal issues.

Can I just plug in the ConBee and the network settings will be preserved?

@manup

This comment has been minimized.

Copy link
Member

@manup manup commented Jun 23, 2018

The cleanest and recommend way would be to reset all devices in the RaspBee network and add them to ConBee network. Depending on the network size this may be complicated, but you could reuse the zll.db file from the RaspBee configuration.

@saurabh984

This comment has been minimized.

Copy link
Contributor Author

@saurabh984 saurabh984 commented Jul 8, 2018

@manup Would just plugging in ConBee to the RPi and removing the RaspBee work? I have way too many rules and battery powered Aqara Devices to repair them all :(

@manup

This comment has been minimized.

Copy link
Member

@manup manup commented Jul 8, 2018

With a bit of work yes, after replacing RaspBee with ConBee and keep all deCONZ configuration files from RaspBee setup.

Then reset all devices and rejoin them, since they are still known by configuration and database they will just be reborn with the old settings, names, rules etc but. The only difference is they will belong to ConBee ZigBee network.

Note: Reset lights is easiest done with a Philips dimmer switch.

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Nov 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 23, 2018
@saurabh984 saurabh984 closed this Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.