Functions? Creating a Radio Hub

Put some Serial.print()s in your code so that you know what you are receiving.

You do not need 2 boolean variables. The door is either open or not which only needs one one variable.