Crypto Ticker
Use with Node-RED
Node-RED flow that streams live cryptocurrency prices from Kraken WebSocket v2 and displays them on an AWTRIX 3 LED display. The project supports multiple assets (e.g. Bitcoin, Ethereum) through a single WebSocket connection, renders price trend indicato
- Topic
- Miscellaneous
- Includes
- Flow · 2 icons
Runs on
- Does not run on 32×8 (TC001 & DIY) Made for AWTRIX 3.
- Does not run on 52×16 (TC002) Made for AWTRIX 3.
- Runs on 32×8 with AWTRIX 3 (TC001 & DIY)
Is this your flow?
If you created this flow, 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.
Flow description
This project is a Node-RED–based crypto price visualizer built around Kraken WebSocket API v2 and AWTRIX 3 LED displays. Currently Bitcoin and Ethereum are configured. You can add other tokens easily.
It establishes one persistent WebSocket connection to Kraken and subscribes to multiple ticker symbols simultaneously (e.g. BTC/USD, ETH/USD). Incoming market data is parsed and routed through a central Crypto Router function, which:
- Correctly extracts symbol and price data from Kraken WS v2 payloads
- Formats prices as full numeric values (no K/M notation)
- Applies color logic based on price vs VWAP
- Each asset is displayed as a separate AWTRIX app, rotating independently on the LED matrix.
An optional visual progress bar can be rendered at the bottom of the display to show the current price position relative to the daily low/high range, including a precise white pixel marker for the exact price.
Crypto Router Configuration
At the top of the Crypto Router function, two configuration options control global behavior:
let progressbar = true; // enable high / low "progressbar"
let awtrix_url = "http://awtrix.lan/"; // including ending slash
Configuration Options
-
progressbar
Enables or disables rendering of the low/high progress bar on the AWTRIX display.
When enabled, a red baseline, green progress indicator, and white price marker are drawn. -
awtrix_url
Base URL of the AWTRIX 3 device.
The router dynamically appends the app name using the supported query-parameter API:
/api/custom?name=
➕ Adding a New Cryptocurrency (Quick Steps)
-
Add symbol to Kraken subscription
- Edit Inject node → add
"SYMBOL/USD"tosymbol[]
- Edit Inject node → add
-
Register asset in Crypto Router
-
Add entry to
assetsmap:"SOL/USD": { name: "solana", icon: "solana" }
-
-
(Optional) Upload icon
- Add GIF to AWTRIX and reference its name
-
Deploy
- New currency appears as a separate AWTRIX app automatically
Sign in to view and copy the code of this flow.
These icons are attached to the flow. Send them to your AWTRIX separately; they are not included in the script installation.
8×8 px
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 flows for Node-RED or Miscellaneous
Something wrong with this flow? Report it.
Have an idea?
Sign in to ask questions and join the conversation.