FalconChristmas / fpp

Falcon Player
http://FalconChristmas.com
Other
567 stars 198 forks source link

FPP Sync Settings Player to Remotes #1194

Open itstheburns opened 2 years ago

itstheburns commented 2 years ago

Is your feature request related to a problem? Please describe. No. I find myself setting up multiple remotes and configuring them a lot. Usually when an SD card is needed for something else/fails or hardware is swapped out.

Describe the solution you'd like An option to sync certain settings from other FPPs on the network. Allow sync of Time Config, UI Interface level (not so critical), Privacy, and non-unique device/system settings.

Describe alternatives you've considered Manually setting up each remote.

Additional context If its possible, each setting could be selectable to which items are synced. Sync could be initiated by the user from the Initial Setup page or in System Settings. FPP could prompt user to request settings from another FPP on the network

"FPP has detected another FPP instance on your network. Would you like to sync settings?" Pick device to sync from. Explain this only syncs the current device. A Player could have the option to push selected settings to remotes. This typically should only need to be done once per fresh install.

"Yes/No/Choose what to sync" Yes - all non-unique device settings No - Don't sync Choose settings to sync - tick box of which settings to sync

"Sync and Apply" FPP will reboot automatically after Sync.

If this is implemented, you could put the options into your own words.

libby2cm commented 2 years ago

This could be helpful. Though personally, each season I create a 'bootstrap' config for my devices with all key settings, back it up, then just restore it after flashing each player. From there, I just use XL for management going forward.. never really need to 'touch' them again.

But, full management would be nice. I saw some fpp/XL automation/scripting components dropped in latest build of XL, so I'm curious to see where that's going. There could be a solution for this in there if it's what I have in mind.

cpinkham commented 2 years ago

This is something that has been on my ToDo list which just seems to get bigger as my available time gets smaller.

My initial idea is to add a field to the settings.json file to indicate that a setting can be synced to other systems. Then we would add a new action on the MultiSync page to Sync Settings and it would prompt the user which settings to sync. From there it's not that hard to set the settings on the remote systems via API calls.

libby2cm commented 2 years ago

Your approach is what I had in mind as well and thought it would keep loe low, but I learned long ago not to quote engineering effort :-D