This trigger will fire when the screen is turned on or off. It monitors the device display state changes, allowing you to automate actions based on screen activity.

Options

  • Screen On - The trigger fires when the device screen is turned on
  • Screen Off - The trigger fires when the device screen is turned off

Examples

Example 1: Mute media when screen off

Automatically pause media playback when the screen turns off:

Triggers

Screen On/Off: Screen Off
Actions

Media Control: Pause
Constraints

Media Playing

Example 2: Launch app on screen on

Open a specific app whenever you turn on your screen:

Triggers

Screen On/Off: Screen On
Actions

Launch Application: Clock
Constraints

Time of Day: 6:00 AM - 9:00 AM

Example 3: Track screen time

Log screen on events for usage tracking:

Triggers

Screen On/Off: Screen On
Actions

Set Variable: [screen_on_count] = [screen_on_count] + 1
Log to file: "Screen turned on at [hour]:[minute]"

Example 4: Power saving mode

Enable power saving features when screen is off for extended periods:

Triggers

Screen On/Off: Screen Off
Actions

Wait: 5 minutes
WiFi: Disable
Bluetooth: Disable

Notes

  • This trigger uses a high priority broadcast receiver to ensure quick response to screen state changes
  • The trigger fires immediately when the screen state changes
  • Screen On fires before the lock screen is displayed - use the Screen Unlocked trigger if you need to wait for the device to be fully unlocked

See Also