Keep updated on your favourite streamers with this neat module. You can see when streamers are live and what game they are playing at a glance.
This modules uses the free Twitch API. You will need to do some additional steps before the module runs.
Don't worry, this is easy and well documented if you have troubles!
cd modulesfrom your MagicMirror foldergit clone https://github.com/WilliamFitzjohn/MMM-TwitchAlert.git
- Navigate to https://dev.twitch.tv/login and login using your twitch account.
- Go into your account settings and enable 2FA. It is required to get your API key.
- Go to https://dev.twitch.tv/console and click
Register Your Applicationunder the Applications tab
- Set
Nameto something likeMagicMirror - Set
OAuth Redirect URLstohttp://localhost - Set
CategorytoApplication Integration - Click
Create
- Set
- Now open up your new application

- Click
New Secretand copy the Client ID and Client Secret into the MagicMirror config

Add this to your MagicMirror config file
{
module: "MMM-TwitchAlert",
position: "bottom_left",
config: {
client_id: "INSERT_CLIENT_ID_HERE",
client_secret: "INSERT_CLIENT_SECRET_HERE",
// live_only: false,
// show_live_badge: false,
// update_interval: 3, //minutes
// alignment: 'right'
streamers: [
"papashlomo",
"xqcow",
"ludwig",
],
},
},| Argument | Type | Description | Required | Default Value |
|---|---|---|---|---|
| client_id | string | Client ID of your application in the Twitch API | Yes | N/A |
| client_secret | string | Client Secret of your application in the Twitch API | Yes | N/A |
| streamers | string[] | List of streamers you wish to track | Yes | N/A |
| live_only | boolean | Only show live streamers on your mirror | No | true |
| show_live_badge | boolean | Show the "live" badge | No | true |
| show_streamer_image | boolean | Show the Image of the streamer | No | true |
| update_interval | integer | How many minutes between updating data (min = 1) | No | 5 |
| alignment | string | 'left' or 'right' align the module | No | 'left' |
