This is silly hack, on a cheap show prize!
Hat Demo here -> https://www.youtube.com/shorts/uD40l2RZySg
Twitch Redeem Demo -> https://youtube.com/shorts/_8AXoxJZ9SM
A purely hacked together piece of code to automatically trigger the hat when the chickenhat reward is redeemed on SsjSilentTV's Twitch stream.
Uses Twitch EventSub WebSocket to listen for channel point redemptions and triggers the chicken hat.
TWITCH_CLIENT_ID
: Your Twitch application client IDTWITCH_CLIENT_SECRET
: Your Twitch application client secretTWITCH_USER_ID
: The broadcaster's Twitch user IDOPENHAB_URL
: URL to your OpenHAB instance
- VL530X Time of Flight Sensor
- TinyPico MicroController by Unexpected Maker
- Tasmota for the IoT integration