Light and heating

Lightening and heating values detection, to decide the switching on/off of a lamp and a radiator.