wiring a 3 way indoor motion detector to a hall light which is on an existing 3 way. the old switch has two black wires, one red, a ground and two white that were not attatched to the switch. the motion detector has one black, one red, one yellow, one green, and a yellow section not attached to anything, i think it is a jumper or something. I am having trouble wiring the new motion detector to the wall switch. need some help. thanks!