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

ShotTimer

On an AWTRIX display
ShotTimer shown on an AWTRIX display
ShotTimer · by rummeyer

On your display

A coffee machine from Appliance Monitor: heating up, time on, time until it switches off, and a shot timer

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Smarthome
Includes
Script

Runs on

  • Runs on 32×8 (TC001 & DIY) 32×8 (TC001 & DIY) version
  • 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

ShotTimerAWTRIX 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

Shows what Appliance Monitor (Homebridge) measures at a coffee machine's smart plug, over MQTT.

  • HEATING while it warms up, until the first coffee once it is warm: how far, as a bar like the one AWTRIX NG boots with or as a percentage, taking turns with how long until it is preheated
  • ON (time since switch-on) and a red HEATED once it is warm, alternating every 3 seconds
  • OFF: a countdown to when your automation switches it off, yellow in the last minute; standing still at its full time while the machine is in use
  • SHOT: while the pump runs, the timer takes over the display and counts every second
  • Afterwards SHOT or RINSE with the measured time, in green; a run shorter than a set time (15 s by default) is a RINSE as soon as the pump stops

On a TC002 (52×16) a 16×16 cup and two lines; on a TC001 (32×8) an 8×8 cup and one line, the two taking turns.

Needs Appliance Monitor 1.16 or later with MQTT on, the clock on the same broker, and a few phases set up on the coffee machine, and optionally two MQTT messages for the plugin's exact shot count. Every topic, threshold and colour is a setting.

Optional: a temperature sensor on the machine (e.g. via deconz-mqtt) for an exact HEATED. Without one, a machine switched on cold counts as preheated after a set time (30 minutes by default), as a heat exchanger's group takes far longer than its boiler.

Setup: https://github.com/rummeyer/homebridge-appliance-monitor/tree/main/extras/awtrix-ng

More scripts in Smarthome

Something wrong with this script? Report it.