Do not share these codes, as they give a lot of access to your account. Copy both the OAuth Token and Refresh Token, you will need them later. Scroll down and allow chat_login, chat:read, chat:edit, channel:moderate permisions. This ste can be skipped if you have one created. This software has been designed and tested to run on a Raspberry Pi 4, but it should be able to run on most devices that supports Bluetooth Low Energy.
This project is similar in concept to the classic Twitch Plays Pokemon ( video):Ī LEGO model is live streamed via, and viewers are able to control it by sending commands over Twitch chat. Software to interact with the LEGO Powered Up elements via chat using a Raspberry Pi.