IoT devices adhere to standards to communicate with each other. Zigbee, Z-Wave, Thread, Wi-Fi, and Bluetooth are some commonly used smart home standards.
Not everyone is eager to jump on the IoT bandwagon. There are pressing security challenges due to cyber attacks which act as a brake on IoT device adoption.