An IoT-based appliance control system for smart homes | Synapse