I don't know how to fix that though haha. Not sure what would make it only work if a door is opened.