Move the position of a Tapo camera whenever I leave or return home

OK here goes,

I have a Tapo camera in the Kitchen. I have two preset positions using the ‘marks’ function. One faces the wall for when I’m home (I’m privacy conscious and don’t want it staring at me). The other position faces into the kitchen.

What I’d like to do is for the camera to change its position automatically when I leave the house - so it faces the wall whenever I’m home, and faces into the kitchen whenever I’m not.

All suggestions most welcome!

Thanks so much