[OpenTRV-interest] Light and Occuppancy (mainly)

Damon Hart-Davis EMAIL ADDRESS HIDDEN
Sun Oct 19 09:22:22 BST 2014


In JIRA as TODO-388, thank you.

Rgds

Damon


On 19 Oct 2014, at 07:55, EMAIL ADDRESS HIDDEN wrote:

> Hi,
> 
> I have been studying the behaviour of light and occupancy recently.
> 
> I think I may have found a bug.
> 
> When the system is in frost mode everything appears to work fine i.e. light on => possibly occupied
> 
> However in warm mode light on is being ignored.
> 
> 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.
> 
> NB My code is slightly non-standard but the area in question should be standard.
> 
> 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).
> 
> PS I think there is a spare cancelBake in UI_Minimal line 184 (it is already in setWarmMode()).
> 
> Rgds Gary
> _______________________________________________
> OpenTRV-interest mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-interest



More information about the OpenTRV-interest mailing list