I wanted to share a project I've been working on for the Arduino Uno Q. It's a complete, self-contained bridge that
lets your Uno Q listen to TikTok Live streams in real-time and react to comments (and easily adaptable for gifts,
likes, etc.).
The coolest part about this setup is how it handles the TikTok data. It uses a Python backend running FastAPI and
the TikTokLive library to connect to TikTok's Webcast WebSocket API.
Because it mimics an anonymous viewer, it doesn't require any API keys, OAuth, or even a TikTok account. You just
spin up the web dashboard, type in the username of whoever is live, and it starts pulling down the stream's events
and bridging them over to the Arduino via the Arduino_RouterBridge .
### The LED Matrix & Zephyr Challenge
If you've played with the Uno Q (or the Zephyr platform in general), you might have noticed that getting the
Arduino_LED_Matrix text scrolling to work can throw missing beginDraw() and ArduinoGraphics errors depending
on your build environment.
To make this truly "plug-and-play" for the App Lab, I completely bypassed the library manager for the graphics
dependency. I bundled the entire ArduinoGraphics library directly into the sketch folder and defined the
MATRIX_WITH_ARDUINOGRAPHICS macro locally.
This means you can literally download the repo as a single folder, drop it into your workspace, and it compiles and
flashes perfectly the first time.
Would love to hear what you guys think or if anyone ends up using it to trigger physical hardware with TikTok
gifts!
I have downloaded your ZIF file and have successfully imported it in my App Lab project and clicked on Run button. The app is running with ascrolling message "TIKTOK LIVE" in every 15 sec on the LED Matrix Display Unit.
That's all ?
You have so many files under python folder -- what do they do?
@ptillisch
I have entered the user name after @ of the Dashboard. This is the error message.
Exception in tiktok_listener: The requested user 'Gm' is not capable of going LIVE on TikTok, or has never gone live on TikTok, or does not exist.
TikTokLive.client.errors.UserNotFoundError: The requested user 'Gm' is not capable of going LIVE on TikTok, or has never gone live on TikTok, or does not exist.
Ooo.........! It works!! I have got te connection. Now, I will explore how to play the game? If you have tips, you may forward to me. Your tips do work always.
I dont't see any data exchange in your app between MPU and MCU using Bridge.call()/provide() functions. Then, why have you included the Arduino_RouterBridge.h Library in the sketch?