fix house monitoring taking pics logic