HINT for anyone getting stuck..
*POSSIBLE SPOILER*
There's a puzzle to solve in the attic to be able to flip the switch.
Perhaps the library has something for you...