Thanks for the quick reply Windell. Unfortunately external lighting is not possible in this case.
Adjusting the cutoffs down [40, 35, 30, 25] has given me a useful sensitivity range for all 4 levels however there is still quite a bit of false triggering. Is there an easy way to increase the filtering by adjusting the existing code?