Smart lighting in a historic context: a case study