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

Next Event

On an AWTRIX display
Next Event shown on an AWTRIX display
Next Event · by m3m0rex

On your display

Displays the next event from multiple dates with a fully customizable countdown, display order, text, icon, and colors.

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

Next EventAWTRIX 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

Next Event

Features

  • Supports single dates and date ranges
  • Automatically finds the next upcoming event
  • Countdown in days or months
  • Fully customizable display format
  • Choose the order of description, text, number and unit
  • Show only the countdown number if desired
  • Customizable "In" and "Today" text
  • Customizable singular and plural time units
  • Customizable icon
  • Normal and warning colors
  • Configurable warning threshold
  • Automatic updates every minute

Setup

Enter one or more dates in Event Dates.

Single date

24.12.2026

Date range

24.12.2026-31.12.2026

Multiple events

24.12.2026,31.12.2026,10.08.2027-01.09.2027

The script automatically selects the next upcoming event.


Display Order

Use Display Order to control exactly what is shown and in which order.

Available elements:

Value Description
label Event description
in Custom countdown text
value Countdown number
unit Time unit

Separate elements with commas.

Examples

label,in,value,unit

Vacation in 12 days

label,value,unit

Vacation 12 days

value,unit

12 days

value

12

in,value

in 12

You can combine the elements in any order.


Custom Text

Description

The name of the event.

Default:

Event

Example:

Vacation

In

Text shown before the countdown.

Default:

in

Examples:

in

starts in

remaining

Today

Text shown when the event is today.

Default:

today!


Time Units

The countdown supports days and months.

All units can be customized.

Setting Default German
Day (singular) day Tag
Days (plural) days Tagen
Month (singular) month Monat
Months (plural) months Monaten

This makes the script suitable for different languages.


Warning

Set Warning Below to define when the warning color should be used.

For example:

Warning Below: 14

The countdown changes to the warning color when the event is 14 days or less away.


Icon

Enter an AWTRIX/LaMetric Icon ID.

Example:

12111

The icon is displayed on the left side of the countdown.


Colors

Normal Color

Used for the regular countdown.

Default:

#00AAFF

Warning Color

Used when the event is within the warning period.

Default:

#FF5500


Examples

Vacation

Event Dates: 10.08.2027-01.09.2027

Description: Vacation

Display Order: label,in,value,unit

→ Vacation in 324 days

Birthday

Description: Birthday

Display Order: label,value,unit

→ Birthday 42 days

Minimal Countdown

Display Order: value

→ 42


Use It For

Next Event is not limited to vacations. Use it for anything with a future date:

  • Vacations
  • Birthdays
  • Holidays
  • Trips
  • Concerts
  • Weddings
  • Appointments
  • Anniversaries
  • Deadlines
  • Other events

Configuration

Setting Default
Event Dates 01.09.2027,...
Description Event
Display Order label,in,value,unit
In in
Today today!
Day (singular) day
Days (plural) days
Month (singular) month
Months (plural) months
Icon ID 12111
Normal Color #00AAFF
Warning Color #FF5500
Warning Below 14

More scripts in Miscellaneous

Something wrong with this script? Report it.