working configuration for door sensor