Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 2.43 KB

youtube_subscribers.md

File metadata and controls

62 lines (45 loc) · 2.43 KB

Lovely Sim Racing

Youtube Subscribers

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

Display

Template: Subscriber Count Rounded down to three significant figures

Example: 1.29K

Steps

Step 1: Upload Icon

  1. Navigate to your Ulanzi Pixel Clock admin screen (usually 192.168.1.128)
  2. Select the Icons Tab
  3. Type 5029 into the first field named Lametric Icon ID
  4. Click Download

Step 2: Download the Youtube Subscriber workflow

  1. Visit the Latest Releases section and download the Youtube_Subscribers.json file to your computer

Step 3: Import Workflow

  1. In your n8n automation server, create a new workflow
  2. Import from File and select the downloaded Workflow

Step 4: Fetch Data

  1. Follow the below steps to get your Youtube API Key

    1. Sign in to Google Console Cloud
    2. Create a new project, name it whatever you want (sugg. "Ulanzi Clock")
    3. Go To API'S and Services
    4. Select your project and go to Library
    5. Scroll down & then Click on YouTube Data API V3
    6. Click on Enable
    7. Click on Credentials
    8. Click on Create Credentials
    9. Click on API Key
    10. Copy Your YouTube API key
  2. Double-click and open the second step of the workflow, named Fetch Data

  3. Under Query Parameters, Replace the Value CHANNELID with your Channel ID (visit your channel on Youtube, oull fin your channel ID in the URL)

  4. Under Query Parameters, Replace the Value APIKEY with your API Key

Step 5: Send to Clock

  1. On the last step named Send to Clock, make sure the IP address in the URL field is correct (usually 192.168.1.128)
  2. On the Workflow canvas, click on the button Execute Workflow

Step 6: Set to Active

Set the workflow to "Active", to keep it running in the background

Having trouble?

Visit the Lovely Discord and perhaps I can help you there.