Trying to put a light in ceiling, 3 sets of wires and I can only get the light to come on no switch?

There are 3 sets of wires in the ceiling, I have tried several combinations of them with the new unit and so far can only get the light to turn on but

There are 3 sets of wires in the ceiling, I have tried several combinations of them with the new unit and so far can only get the light to turn on but the switch doesn't work. What am I doing wrong?

or:There are 3 sets of wires in the ceiling, I have tried several combinations of them with the new unit and so far can only get the light to turn on but the switch doesn't work. What am I doing wrong?


or:Come on, we have no way of knowing what you are doing, right or wrong. There is nothing but to hire someone who can look and see what needs to be done. It will cost you something, but it's cheaper than a fire.

Tags:light,wire,fars,