The invention concerns a device (1) in an installation for the receipt of rainwater (2) from roofs (3) and similar places at buildings (4) provided with rainwater pipes (16, 20) and provided with a mechanism (7) which limits water drainage (I II) of the water to a certain location (8 and 9, respectively).According to the invention, a thermally operated restrictor valve (10) is arranged to direct an incoming water current (11) between at least two selectable reception spaces (8, 9) for water reception.