The usual option is to use the alternator warning light connection. This will be at 12V when the alternator is generating power. Alternatively, use a voltage-sensitive relay which will be self-switching and can be wired independently of any of the car's circuits.
Remember too that with a post-1998 caravan, you don't need a separate feed for battery charging as this is handled in the van.