Sonoff WiFi Switch is a great and cheap IOT device. But the 5$ device can do a lot more. By adding I2C, you can connect a whole range of sensors.