The basics of this is simple.
1. You want isolation between the so called leisure battery and the vehicle battery.
A. Use a relay, ignition switched on, operates relay and connects vehicle battery to leisure battery,
vehicle charges main battery that's linked via the relay contacts to the...