Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

NightMode

On an AWTRIX display
NightMode shown on an AWTRIX display
NightMode · by Pretrojaner

On your display

Automatically turns off the matrix display during a configurable time window (HH:MM) and turns it

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Smarthome
Includes
Script

Runs on

  • Runs on 32×8 (TC001 & DIY)
  • Runs on 52×16 (TC002)
  • Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

NightModeAWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

Script description

NightMode (Headless App)

Automatically manages your AWTRIX NG LED matrix display power based on a configurable time schedule.

Key Features
  • ⏰ Precise Schedule: Set custom start and end times down to the minute using HH:MM format (e.g. 22:30 to 06:30).
  • ⚡ True Power Saving: Uses native hardware display power calls (display.power(false)) to turn off the matrix completely, saving energy with zero light bleed.
  • 🔔 Bedtime Reminder: Shows a short, customizable notification (e.g., ..:ZZZ:..) a few seconds before the matrix turns off.
  • 🔄 Preserves System Settings: Does not tamper with your device's global brightness or auto-brightness settings when turning back on in the morning.

More scripts in Smarthome

Something wrong with this script? Report it.