SleepWithOpenWindows

Open windows
A perimeter close to the window has a stack of InfraRedLeds. When a beam is broken the bedroom window automatically closes via a curtain closer.

Curtain closer
DC motor curtain opener.