Most Sonoff smart switches connect directly to your Wi-Fi router, and do not require a hub. However, certain models, like Zigbee switches, may need a compatible Zigbee hub to work.