Cameras on Shabbat

Kevod Harav, could a person have his surveillance camera on during Shabbat? Also, could one pass by such a house on Shabbat?

Don’t have it on. If you must pass through such a place there are leniencies but try to avoid it

RABBI SHAY TAHAN