Purpose is to do a re-install of the plugin without loosing any data
You have critical files under the Domoticz-Zigbee folder. In case of crash, you might want to have backup to restore. Here after are the files to backup
Conf/PluginConf-*.json
Data/*
Reports/*
Of course you must backup the Domoticz Database domoticz.db
(check to Domoticz) at the same time in order to have consistency between the two.
/home/pi/domoticz/plugins
/home/pi/domoticz/plugins/Domoticz-Zigbee
In case this is different, please use your own location
Stop domoticz
Copy the ZigBeeForDomoticZ plugin folder to your home directory
cp -r /home/pi/domoticz/plugins/Domoticz-Zigbee /home/pi
Install the fresh version of the plugin
see Instalaltion page
Copy the ZigBeeForDomoticZ plugin database to the new installation
cp /home/pi/Domoticz-Zigbee/Data/* /home/pi/domoticz/plugins/Domoticz-Zigbee/Data
Copy the Plugin configurations file
cp /home/pi/Domoticz-Zigbee/Conf/PluginConf* /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf
Copy the Plugin reports (if you want to keep the old reports)
cp /home/pi/Domoticz-Zigbee/Reports/* /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports
At that stage you have a copy of the Old plugin in /home/pi/Domoticz-Zigbee and a new version ready to be launched in /home/pi/domoticz/plugins/Domoticz-Zigbee
You can now restart DomoticZ