Bitcoin
On your display
Shows the current Bitcoin price on your AWTRIX NG panel
- Topic
- Miscellaneous
- Includes
- Script · 1 icon
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.
Is this your script?
If you created this script, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Script description
Bitcoin
Shows the current Bitcoin price on your AWTRIX NG panel, fetched directly from the free CoinGecko API. Runs entirely on the device.
Features
- Live Bitcoin price in USD or EUR, refreshed on your own schedule (default: every 5 minutes)
- Instant after reboot - the last known price is remembered and shown immediately while the first fresh fetch runs
- Never shows stale data: if the price could not be refreshed for a while (3× the refresh interval), the app simply skips its turn in the rotation instead of displaying an outdated number
- Icon with a built-in fallback - set any icon from your device's icon folder (default
12460); if it's missing, the app draws an orange B instead, so there is never an empty gap - Compact format option:
114.1Kinstead of114123 - Memory friendly - reads only a ~32-byte window of the API response instead of parsing a full JSON document
Settings
| Setting | Default | Description |
|---|---|---|
| Currency | usd | Price in usd or eur |
| Refresh | 5 min | How often the price is fetched (1–60 min) |
| Text color | white | Color of the price text |
| Icon | 12460 | Icon name/ID from the device icon folder |
| Short format | off | Show 114.1K instead of the full number |
All settings are edited in the web UI: Apps tab → ⋯ on the Bitcoin row → Settings.
How it works
Once per refresh interval the app fetches api.coingecko.com/api/v3/simple/price over HTTPS and extracts just the price. The finished number is stored on the device, so it survives reboots and is painted without any work per frame. If the price is wider than the panel it scrolls past the icon automatically.
Installation
- Open the AWTRIX NG web interface.
- Go to the Scripts tab and create a new script (e.g.
Bitcoin). - Paste the script and press Save.
- The price appears in the app rotation as soon as the first fetch completes (a few seconds).
Sign in to view and copy the code of this script.
These icons are attached to the script. Send them to your AWTRIX separately; they are not included in the script installation.
8×8 px
Sign in to download these icons or send them to your AWTRIX.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More scripts in Miscellaneous
Something wrong with this script? Report it.
Have an idea?
Sign in to ask questions and join the conversation.