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

JP Clock

On an AWTRIX display
JP Clock shown on an AWTRIX display
JP Clock · by FORCEK

On your display

24-hour clock with Japanese period colours — 深夜 to 夜中.

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

JP ClockAWTRIX 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

JP Clock

Shows the time with a Japanese period label on the 32×8 matrix.

Time format: HH:MM (24-hour) plus a two-kanji period on the right.
Periods follow everyday Japanese sense (uneven lengths), not meteorological definitions.

Example: 14:30 午後 = 2:30 p.m.

Periods

Hours Kanji Romaji Meaning
00–03 深夜 shinya Late night
03–05 未明 mimei Before dawn
05–08 早朝 sōchō Early morning
08–11 午前 gozen Morning / a.m.
11–14 正午 shōgo Midday
14–16 午後 gogo Afternoon / p.m.
16–18 夕方 yūgata Evening
18–21 夜間 yakan Night
21–24 夜中 yonaka Midnight hours

Each period has its own split colours: time-side background, label-side background, and ink.

Digits and period kanji are pixel-drawn on the device

Requirements

  • AWTRIX NG with Run scripts enabled (System → save → reboot). Do not hold left+right at boot (that disables scripting).
  • Correct local time / NTP.

Install

  1. Paste the script under Scripts → Save.
  2. Enable Run scripts, reboot without touching the buttons.

Demo (Apps → ⚙)

Setting Default
Demo mode off Cycles all nine periods (sample mid-slot time). Pauses app rotation while on.
Demo seconds 2 Seconds per step

Glyph shapes adapted from the k6x8 bitmap font family (narrow 5 px cells).

More scripts in Miscellaneous

Something wrong with this script? Report it.