Workflow script for the Ulanzi Pixel Clock, based on the n8n.io automation software and Awtrix Light.
Display your Youtube Channel Subscribers on your Ulanzi Pixel Clock
Template: Subscriber Count
Rounded down to three significant figures
Example: 1.29K
- Navigate to your Ulanzi Pixel Clock admin screen (usually
192.168.1.128
) - Select the Icons Tab
- Type
5029
into the first field named Lametric Icon ID - Click Download
- Visit the Latest Releases section and download the
Youtube_Subscribers.json
file to your computer
- In your n8n automation server, create a new workflow
Import from File
and select the downloaded Workflow
-
Follow the below steps to get your Youtube API Key
- Sign in to Google Console Cloud
- Create a new project, name it whatever you want (sugg. "Ulanzi Clock")
- Go To API'S and Services
- Select your project and go to Library
- Scroll down & then Click on YouTube Data API V3
- Click on Enable
- Click on Credentials
- Click on Create Credentials
- Click on API Key
- Copy Your YouTube API key
-
Double-click and open the second step of the workflow, named Fetch Data
-
Under Query Parameters, Replace the Value
CHANNELID
with your Channel ID (visit your channel on Youtube, oull fin your channel ID in the URL) -
Under Query Parameters, Replace the Value
APIKEY
with your API Key
- On the last step named Send to Clock, make sure the IP address in the URL field is correct (usually
192.168.1.128
) - On the Workflow canvas, click on the button
Execute Workflow
Set the workflow to "Active", to keep it running in the background
Visit the Lovely Discord and perhaps I can help you there.