A IoT hub to control some home appliances