I believe Rule Machine can do this for you. It might involve a virtual switch that is switched on for the first entry so you don’t get multiple greetings, just have Rule Machine check the state of the virtual switch for each door open. You turn off the virtual switch when your presence leaves.