Sounds like something coming out of the Responsive Environments group (https://resenv.media.mit.edu/).
https://resenv.media.mit.edu/#Projects#personalized-building...
He published his thesis 2010, which aligns with when Ethan arrived at his office, and if you watch the video at that link, you can see the automated window control system at 1:47.
(Also the video is kind of hilarious and awesome in its own right).