A sun sensor will detect when the sun is shining and will automatically open out your awning to provide shade. This is particularly helpful during the summer, as it ensures a cool and shaded area in advance of your requirement.