Twilight switches automatically control lighting, roller blinds, etc., according to brightness and/or the time of the day. They measure light intensity using photo cells that can be installed on a door (switchboard cell) or outside a building (wall-mounted cell).