Check the light intensity setting to make sure that the thing doesn't think its continuously in daylight. Also, turn power off, wait a minute or two, turn the power on again and the lamp should light for a while before turning off after its timed on period. Check your wiring diagram again - the live feed should go through the sensor before returning to the bulb.
John, March 2008