Skip to content

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

Sign in
FlowAWTRIX NG

OpenCode Go Usage

On an AWTRIX display
OpenCode Go Usage shown on an AWTRIX display
OpenCode Go Usage · by R0gner

On your display

Shows your OpenCode Go plan usage: 5-hour, weekly and monthly

Works with
AWTRIX NG
Topic
Miscellaneous
Includes
Script

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

OpenCode Go UsageAWTRIX 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

Shows how much of your OpenCode Go plan you have used: the 5-hour window, the current week and the month. The script fetches the usage endpoint over HTTPS with your configured API key.

Layouts:

  • Timeline (default): split progress bar showing the actual vs. expected usage by displaying the passed time in the windows
  • Bars: thicker simple bars per window, showing only the usage
  • Numbers: two-digit percentage per window with a mini bar underneath

Colour modes:

  • usage (default): green → yellow → red as usage rises
  • fix: fixed colour per window
  • pace: green = on or under expected pace, yellow = up to 10 points over, red = more than 10 points over

Installation

  • Install the script from this page (Send to AWTRIX) or paste it into the Scripts tab of your AWTRIX web interface and save.
  • Open Apps → OpenCode Go → ⋯ → Settings and paste your API key.
  • Optional: choose layout and colour mode, adjust the refresh interval.

More flows for AWTRIX NG Scripts or Miscellaneous

Something wrong with this flow? Report it.