First, apologies for the ?C & ?F - the file diff tool I was using seems to have mangled the UTF-8, I'll have to see if there is an option to handle it properly - or look for a new tool.
1. I'll look into that now...
2. Lines 101 & 102,
sunshineThreshold : 50, // the value in W/m? above which we can consider the Sun to be shining, *if* the current value exceeds...
sunshineThresholdPct : 75, // the percentage of theoretical solar irradiance above which we consider the Sun to be shining