The only way I’ve seen to remotely control an iPad is to use a bluetooth keyboard.
I just set up an mounted iPad and would like to limit the time where it’s on.
My idea would be to have HA or some Pi like device (or commercial device) that can send some bluetooth keyboard strokes to the iPad when motion is detected or certain times of the day.
I’ve looked a bit and I see bluetooth keyboards as an input to HA but I don’t see anything where it’s the output.
I started looking into this tutorial but after a little while I was questioning how I would even call something like this from HA, it really got me into the weeds.
Any ideas would be greatly appreciated.