Just a guess, but look for something reflecting the IR into the 5231R from the Hikivision or, alternately, re-orient one of them slightly.
Yeah i turned the Dahua 90 Degrees and then did the same in the software.
End result below attached
Ignore the blacked out parts, was just giving a mate some grief as he loves installing samsung cameras. 3 x the price of a Dahua.