WiFi door and window sensor

Perhaps swap the Z-wave one for a WiFi sensor? As i have one WiFi sensor extra which is not in use now and i wanted z-wave sensor from beginning of domotica.