Cheap timer relay, electronic fuse

https://www.ebay.com/itm/DC-12V-Infinite-Cycle-Delay-Timing-Timer-Relay-ON-OFF-Switch-Loop-Module-Time/112308185789

Here is a timer switch for $2.75 that can be started with a signal, such as a push button switch, whereupon, it will close (and thus turn the generator off after a set period of time) and then open again, so the generator will start. The closing of the relay and shutting off of the generator can be used to trigger the inverter to turn on a minute after the generator shuts off. It can turn on security lights or bear alarms with that $1 motion sensor ordered earlier...and then turn them back off later. Probably many other uses. Try not to use it for setting off charges.