genielabs / HomeGenie

HomeGenie, the programmable automation intelligence
https://homegenie.it
GNU General Public License v3.0
387 stars 154 forks source link

Provide an option to install a clean config [SUGGESTION] #427

Closed bkenobi closed 1 year ago

bkenobi commented 3 years ago

Homegenie comes with a basic example setup intended to show various capabilities. For those that dont need all of this, it would be nice to have some way to either install a clean/slim version or have some automated way to clear all of the extra modules, programs, settings, and possibly MIGs.

I have attempted to clean an install on my RPi as much as possible. I created backup of this setup and attempted to load that on a different RPi. The result was basically just the factory config.

I also attempted replacing the "homegenie_factory_config.zip" with the slim backup but that did not appear to work successfully either.

I attempted deleting the xml files in the homegenie root directory and restarting but apparently I must trigger something for HG to read these files into the interface as it did nothing.

Please provide either a feature to strip to a lean install, or a lean installer/zip, or a set of instructions to manually perform this task.

bkenobi commented 3 years ago

Perhaps a different way of asking this request would be:

Please provide a way to backup/restore the actual configuration that has been set up. When restoring a configuration that has been slimmed down, HG reinstalls all of the apps that are part of the factory build. If someone deletes these, they should not be restored. For instance, the weather apps don't all work any more but they get restored despite being deleted. I can once again delete them, but then what is the goal of the backup/restore if not to create a clone of your existing setup?

tuicemen commented 3 years ago

This has allways bothered me. My backup should not include factory default modules that I've removed. Isn't that what the load factory defaults is for?