Skip to content

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

Sign in
FlowAWTRIX NG

JP Clock

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

On your display

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

Works with
AWTRIX NG
Topic
Miscellaneous
Includes
Script

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

JP ClockAWTRIX NG script

Install this script on your AWTRIX NG. Icons listed in its @icons line are installed automatically.

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 or hostname, 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 that use Hub icons. Attached files are installed separately.

Flow 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 — no CJK font, no icons, and no Home Assistant push.

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 flows for AWTRIX NG Scripts or Miscellaneous

Something wrong with this flow? Report it.