You got the right strategy although I'd keep the camera on 4B on later nights, it'll still stop the hedgehog and Jerpig wont be able to enter your office.