If two users issue an opening command to the garage while the garage door is opening it will make it close, which is an annoyance. A solution would be to:
After a user has issued a command and for a pre-set period of time, different for each door type, the bot would ignore any commands from other users.
The garage pre-set period should allow enough time for the door to open and the car to go through, e.g. 15 seconds
The front door period should be very short, e.g. 1 second
If the same user issues another command within the pre-set ignore period, the bot should not ignore it. It can be the user trying in case of failure of network, etc, or simply wants to force the garage to close.
If two users issue an opening command to the garage while the garage door is opening it will make it close, which is an annoyance. A solution would be to: