WARNING: Geeky stuff to follow.

My Dometic fridge plugs into the cigarette socket in the back of the 4R when we go on a road trip. Since the cig socket is only powered when the ignition key is on, when we stop somewhere I have to unplug the fridge from the 4R's socket and plug it into my Jackery Portable (Aux) Power box to keep the fridge running while the 4R is parked. And then reverse the process when we hit the road again. Truth: I do have a bypass switch to keep the 4R's cig socket powered when the ignition key is off, but if we are parked for a long time, I would prefer that the fridge drains the Jackery battery rather than the one under the hood.
So, to eliminate the exhausting, time consuming and annoying process of plugging and unplugging the fridge I came up with a simple circuit to do the switching automatically.
A simple DPDT (Double Pole Double Throw) 12 volt relay is all it takes. When the ignition key is off, the fridge is powered by the aux (Jackery) battery. When the ignition key is on (4R's cig socket powered) the relay is energized and the 4R powers the fridge.
Here is the circuit:
View attachment 4063458
Here is the box I made:
View attachment 4063461
Finished project:
One cig plug goes to the 4R's cig socket (IGN) and the other one goes to the Jackery (AUX) power box.
The Anderson connector on the side of the box is for the fridge, I made an adapter to go from the Anderson connector to a cig socket. I also have a power cord for the fridge with and Anderson connector (best of both worlds). So when the box is in use I will switch the fridge's power cord to the one with the Anderson connector. I like Andersons more the cig plugs.
View attachment 4063462
Hope this is helpful and not to geeky.