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

Automatic Brightness Controls

On an AWTRIX display
Automatic Brightness Controls shown on an AWTRIX display
Automatic Brightness Controls · by slacy

On your display

Let's you control the brightness of your display based on the current time

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Miscellaneous
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

Automatic Brightness ControlsAWTRIX 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

AutoBrightness is a headless background script that manages your device's overall LED brightness throughout the day so it stays readable in daylight without being harsh at night:

• Scheduled Day & Night Levels: Set independent target brightness values (1–255) for daytime (default 140) and nighttime (default 12).
• Smooth Gradual Transitions: Instead of an abrupt jump, brightness ramps up linearly starting at your configured Day start hour (default 6:00 AM) and ramps down before your Night start hour (default 10:00 PM) over a configurable Fade duration (1–120 minutes, default 30).
• Zero-Overhead Headless Mode: Runs silently in the background alongside your active apps, checking once per minute and only updating device settings when the target brightness value changes.

More scripts in Miscellaneous

Something wrong with this script? Report it.