<font color='black' size='2' face='arial'><font size="2" color="black" face="arial">Hi,<br>
<br>
I have been studying the behaviour of light and occupancy recently.<br>
<br>
I think I may have found a bug.<br>
<br>
When the system is in frost mode everything appears to work fine i.e. light on => possibly occupied<br>
<br>
However in warm mode light on is being ignored.<br>
<br>
I think the problem is that in warm mode when the lights are off light is read far more frequently. In my house I use a lot of CFD's so I can visibly see the light brightening over time so the faster rate of read is causing the on transition to be ignored.<br>
<br>
NB My code is slightly non-standard but the area in question should be standard.<br>
<br>
PS I have also noticed that when powering up the system defaults to occuppied but this is not because of light which is only generating possibly occupied (as noted potentially mistakenly).<br>
<br>
PS I think there is a spare cancelBake in UI_Minimal line 184 (it is already in setWarmMode()).<br>
<br>
Rgds Gary<br>
</font></font>