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

Bitcoin Price

On an AWTRIX display
Bitcoin Price shown on an AWTRIX display
Bitcoin Price · by Llort

On your display

Displays the price of Bitcoin and the percentage change.

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

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.

Send to AWTRIX

Choose your AWTRIX

Bitcoin PriceAWTRIX 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

Only tested on Ulanzi TC001

¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
BITCOIN – price and the percentage change (4H / D / W / M / Y)


Shows the Bitcoin price on your clock, then its percentage change over the period you choose. The price and the percentage share the same color:

🟢 green when the price is up
🔴 red when it is down
⚪ white when it is stable (under 0.05% change)

How it works
The clock alternates between two screens: the icon with the price, then the change (for example D +0.34%). If the text is too wide for the display, it pauses briefly, then scrolls.
You can choose to only display the current price of bitcoin in white.

Settings available in the web interface (11)

Period: 4H, D (day), W (week), M (month) or Y (year)
Currency: USD, EUR or GBP
Price refresh: 1 to 120 minutes
Screen time: 1 to 15 seconds per screen
Custom icon: the name of an icon uploaded in the Icons tab. Leave it empty to use the built-in Bitcoin logo.
Decimal separator: dot or comma
Data sources: Binance, CoinGecko, Coinbase, Kraken, Bitstamp. Tick one or several: with several, they are used in rotation from one update to the next, and the next one takes over if a source fails. This helps you stay under rate limits.

Installation

In the clock’s web interface, create a new script named Bitcoin.
Paste the contents of the .ax file and save.
Open the script settings, choose your currency, period and sources, then save.

Good to know

The middle (select) button forces an immediate refresh.
A ~ in front of the percentage means the reference price could not be refreshed. The script retries automatically.
Binance is blocked in some countries (including the USA): tick another source in that case.
CoinGecko and Coinbase only provide the current price. For the change, Binance, Bitstamp or Kraken are required, and Kraken is used by default if none is ticked.
No API key needed.

More scripts in Miscellaneous

Something wrong with this script? Report it.