A SmartThings hub can be used to control devices directly using Z-wave and Zigbee, or “indirectly” using TCP-IP. The latter is the case for WiFi devices like Sonoff WiFi devices, Chamberlain garage door controllers, etc. DTHs and SmartApps are available to facilitate this.