Skip to content

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

Sign in
FlowAWTRIX NG

Ulanzi Weather Clock

On an AWTRIX display
Ulanzi Weather Clock shown on an AWTRIX display
Ulanzi Weather Clock · by bkahlert

On your display

Time, calendar and an animated weather scene for every WMO code, in a muted and a classic design with sprite wipes. No MQTT, no cloud account: the panel fetches the weather itself.

Works with
AWTRIX NG
Topic
Miscellaneous
Includes
Script

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

Ulanzi Weather 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

Time, calendar and an animated weather scene in two designs. Muted: the time stands at the right while calendar and weather cross-fade at the left over a dimmed scene. Classic: calendar and time, then the weather, each wiped in by a sprite - Mario and Luigi, Blinky chasing Pac-Man, a Space Invader, a light beam, Yoshi, Sonic, a Lemming, KITT's scanner, a Metroid. A scene for every WMO weather code from Open-Meteo, no API key. The middle button switches the design; hold it for a demo of every scene. No MQTT, no home automation, no cloud account: the panel fetches the weather itself.

Installation - read this first. The clock is eight scripts: this app and seven modules (art, cycle, sprites, targets, timepage, weather, wipes). The Hub carries one script per flow, so Send to AWTRIX installs the app alone and the panel shows ERR: until the modules are there. Install the whole clock in one step instead:

  1. Download ulanzi-weather-clock-<version>.zip from https://github.com/bkahlert/ulanzi-weather-clock/releases
  2. Web UI → System → Restore backup → the zip. It adds the eight scripts and touches nothing else on the panel.
  3. Reboot. Then Apps → ⚙ Clock: set your latitude and longitude. Switch the built-in Time app off if you like.

An update is the same three steps with the next bundle.

Requirements. AWTRIX NG 1.1.2 or later (the hold on the middle button needs 1.1.2) on a 32×8 panel such as the Ulanzi TC001. The clock takes most of the panel's script heap and runs with about 45 KB of it free, so run it alone or next to small scripts.

Settings (Apps → ⚙ Clock): design; latitude and longitude; °C or °F; weather refresh; how long calendar and weather show; the scene's animation step; the muted design's backdrop, brightness and fade; which sprite carries each wipe, or none; the wipe pace.

Source, documentation, previews and the offline tests: https://github.com/bkahlert/ulanzi-weather-clock (MIT). The weather fetch, the temperature colour ramp and the code mapping follow Hank_the_Tank's Weather Script (https://awtrix.de/flow/fGEhP0cZZd6E).

More flows for AWTRIX NG Scripts or Miscellaneous

Something wrong with this flow? Report it.