The two yellows go together,,,,the two sets of greens connect together,,the grey and the white go together,,the black w/red stripe and the brown go together...im pretty sure theres a black round plug attached to the blue wire....if so its a neutral or reverse sensor light........