POCS weather/light sensor

Greetings,

I’m taking a look at the code for POCS, where is the call that checks the weather sensor for sky/light conditions?

Also does the weather sensor check just to make sure it is dark or does it also check for adverse weather conditions like rain?

MZ