Smart home camera for surveillance, safety