two ways to operate Smart home automation system