This may seem like no brainer but take lights off and run them direct to spare battery 1) to give you confidence they work, 2) figure out exactly how they need to be wired to work. Much easier to play around with grounding etc for me when I’ve removed as much complexity as possible. I bought some backup lights recently and had to do this to figure out exactly what was going on. Trailer lights and plumbing are scary for everyone.