added logic to mobile app to open or close vent based on current and target temp