you don't need a PIR
the phototransistor will do the deed.
PIR will not work in the presense of light or sunlight.
with the PIR that is on motion sensing lights, the IR section shuts off usually with a photocell.
Using the circuit I posted should work.
you might have to do a little tweeking maybe, seeing how you want to point the sensor down. Why ??
If you bought the phototransistor, try connecting your ohm meter across the part and if you have the polarity right it will show some resistance. the resistance will go down in the absence of light (waving hand over sensor) thus turning the phototransistor off.
this is what you want. An on off on sequence as this will clock the flip flop.
hopfully you have an ohmmeter?
if not try connecting an LED/ resistor in series with the phototransistor and a battery.
the LED should light when you have light on the photo transistor.
if it dosn't then you may have something wired wrong.