renamed doordetector to doorwindowdetector