Home management and control using REST