[HOW TO] Make ipad turn on screen automatically when motion is detected

Hello,
So this is great if you have a wallmounted iPad as a dashboard and don´t want the screen to be always on. I searched everywhere for this but did not find any solution. Until yesterday ! I saw a post on reddit with a simple, yet brilliant solution.

You need this:
iOS device. I have an iPad with iOS 14 that is wallmounted.
One motiondetector compatible with homekit (or any other sensor working with homekit).
Sensors in homey can be used in homekit with the homeykit app.

  1. In the Apple Home app set the motion sensor (or any other sensor of your choice) to send you a notification. This will trigger the display to turn on. In notifaction settings, turn off notification sound for the home app.

  2. Go to settings for guided assess mode. Select how long the screen should stay on in guided access mode.

  3. Open your dashboard of choice and then activate guided access mode with three clicks on the homebutton. DONE.

Now everytime the motion sensor register motion it will send a notifcation, the screen will wake up. But the notifaction will not be seen beacuse you have activated guided asstiance.

ATT: You might have to delete your screen password and set the screen to be always on in the screen settings for this to work.

Simple yet brillant :slight_smile: I cant find the post on reddit but i want to thank the guy comming up with this idea.

8 Likes

Show a video!

https://youtube.com/shorts/YHIudJJxCtA :+1:

1 Like

A year ago I created a tutorial how to use an ESP32 to unlock an iPad. The ESP32 emulates an bluetooth keyboard and is connected with homey using Homeyduino. With this you can lock and unlock the ipad (like pressing a keyboard) from Homey:

3 Likes

That is great ! Good to know there is one more solution for this if ”my solution” gets deleted by Apple in the future. :star_struck:

This guy’s channel is great to subscribe, see this wall mounted ipad in combination with motion detection solution:
https://youtube.com/shorts/X9yr0s1kOX8?feature=share

1 Like

What dashboard Software do you use?

Possible on Android ?

It is home assistant but i made some upgrades check this out Neon Lovelace UI and theme for tablets - Lovelace & Frontend - Home Assistant Community

1 Like

No This is for the iOS devices only.

my personal opinion ipad not an ideal device for 24/7 panel with power plugged in as battery tends to get bloated. :confused:

Hmm…if only you could find a way to control the socket so the iPad wouldn’t constantly be powered on… :grin:

3 Likes

This is neat! :slight_smile:
Unfortunately I do not have a spare iPad nor do I have power where I would want it.
But this is really great! :slight_smile:

Hi there. Intersteing thread. Anyone have tried this with android device or have a guide or how to?

A couple more tips / options for getting this to work in case they’re useful to anyone.

Using an older iPad

I have an older iPad used as a dashboard and it can only run iOS 12 so I don’t have any direct control over how long the screen stays on when in guided access mode. Instead there is a setting under guided access mode which allows it to mirror the auto-lock timeout set for the iPad overall. So I have set that to 5 minutes for my use case and then set the guided access mode to mirror it. I also removed the iPad password as suggested in the original post above.

More control over when the screen wakes

To give a bit more control over when the iPad wakes, I use a slightly different approach than a motion sensor sending a notification via HomeKit. Instead I have the Homey app installed on the iPad and logged in as my guest account (which is also the account I use for my homeydash dashboard). I then have flows set up on Homey to send a push notification to the guest user when I want the dashboard to wake up. I do use a motion sensor as a trigger but this way I can factor in other logic as well and in particular, keep the screen awake while there is still motion (without it going off and coming back on again) by sending a new notification after a bit shorter delay than the screen timeout on the iPad while there is still motion.

Hi Jonathan - I’m a newbie and can’t manage to make this work for me. Could you please share the flow you are using for this in order to make this work? A big great thank you! :clap:t2:

Are you asking specifically about how to keep the display from turning off by sending repeat messages? I thought I had that working when I posted the message above but I think I must have been imagining it as after more testing I found the display going to sleep on the iPad can’t be extended with another message. So what I actually have now is the iPad going to sleep for a second or two before being woken again if there is extended movement.

It goes something like this:

My iPad screen is set to sleep after 5 mins and it dims about 30s before that. I found that sending a message before the display is fully off results in it just turning off at the end of its original 5 min time. So I need to time the message as soon after that as possible to minimise the amount of time it’s off. I’ve just refined that with trial and error and so far ended up at 307s as you can see in the flow. I might be able to shave a few more seconds off that with it still working reliably - still a work in progress.