Mine seem to know day and night regardless of me having lights on. They do however know if the lights are off and I am in the room they are going to be fed. In the same vein, they know once I turn the lights on, feeding time is over.
The behavior change during the storm may be more related to the thunder than the lights. It is a good experiment though. Keep us updated with your findings.