Those socket style photo cells are of the type which cannot be used with ballasted loads. Putting it in the buld socket, you would be downstream of the ballast, but I have a feeling it would still not work, due to the way the simple photocells operate ( current stealing). ALso, the voltage used to start an HID bulb would probably kill a photocell anyway.