Ever had the issue where your wall tablet screen turns off while you are still standing right in front of it? Traditional automation timers often just count down blindly and shut the screen down in the middle of a task or conversation.
This blueprint provides an intelligent, presence-aware solution for your Home Assistant wall tablet (optimized for Fully Kiosk Browser / Browser Mod).
How the Logic Works:
- Motion Detected: The moment the motion sensor registers activity (
from: "off" to: "on"), the tablet screen turns on instantly. - Dynamic Waiting Phase: The automation does not start a blind countdown. Instead, it intelligently waits until you actually leave the area and the motion sensor changes back to clear (
from: "on" to: "off"). - The Cooldown Timer: Only after you walk away, the customizable countdown timer (e.g., 30 seconds) starts running.
- Smart Restart: If you walk back into the frame during the countdown, the blueprint catches it instantly (
mode: restart), resets the timer, and keeps the display safely active. - Screen Off: The display only shuts down when the area has been completely clear for the full duration of your customized delay.
Prerequisites:
- A motion or occupancy sensor mounted near your wall tablet (e.g., binary_sensor).
- A switch entity that controls your tablet screen (e.g., a switch provided by Browser Mod or Fully Kiosk Browser).
Perfect Match for Doorbell Automations!
This blueprint was built to perfectly complement my other presence-controlled automation for doorbells.
Check out my [Blueprint] Reolink Presence - Presence-Controlled Doorbell Tablet Automation! *[[Blueprint] Reolink Presence - Presence-Controlled Doorbell Tablet Automation with Intercom Support]
Using both blueprints together ensures your tablet screen stays dark when someone rings (saving energy/preventing unnecessary glare), but lights up the exact millisecond you walk up to it to answer the door!
Save as tablet_wakeup_on_motion.yaml
blueprint:
name: "Tablet Control (On/Off on Motion)"
description: "Turns the tablet screen on when motion is detected and turns it off after a customizable delay when no motion is detected."
domain: automation
input:
motion_entity:
name: Motion Sensor
description: The sensor that detects motion (e.g., binary_sensor.motion).
selector:
entity:
domain: binary_sensor
tablet_screen:
name: Tablet Screen Switch
description: The switch that controls the screen (e.g., switch.tablet_screen).
selector:
entity:
domain: switch
off_delay:
name: Screen Off Delay (Seconds)
description: Time in seconds after which the display is turned off when no more motion is detected.
default: 30
selector:
number:
min: 5
max: 300
unit_of_measurement: seconds
mode: slider
mode: restart
trigger:
- trigger: state
entity_id: !input motion_entity
to: "on"
actions:
# 1. Turn on the screen
- action: switch.turn_on
target:
entity_id: !input tablet_screen
# 2. Wait until the motion sensor clears
- wait_for_trigger:
- trigger: state
entity_id: !input motion_entity
to: "off"
# 3. Wait for the user-defined delay
- delay: !input off_delay
# 4. Turn off the screen
- action: switch.turn_off
target:
entity_id: !input tablet_screen