Protecting smart home