A streetlight that switches itself on when it gets dark: read a light sensor in a divider, set a threshold, and add a gap so it doesn't flicker. This workbench needs JavaScript.