Serves as a minimalistic clock display, Discord call tracker, and Spotify tracker. When you're using Discord, it'll display the users in the same call as you, whether they're muted or deafened, and how long you've been in the call. In Spotify mode, it'll show you the current song playing and how long you've been listening to Spotify.
DIscord.ESP8266.mp4
Spotify.ESP.8266.mp4
-
Install ESP board for Arduino as outlined on the official documentation
-
Create a standard Discord bot at https://discord.com/developers/applications. Add this bot to whichever servers you would like to keep track of.
-
Create a standard Spotify app at https://developer.spotify.com/dashboard
-
Set configuration in
config.h
andprivateConfig.h
.Name Value Location wifi_ssid
SSID of the wifi to connect to privateConfig.h
wifi_password
Password for the wifi to connect to privateConfig.h
bot_token
Token to authenticate websocket connection
Tokens can be accessed under Discord Developer Portal->App->Bot->Reset Token]privateConfig.h
USER_ID
Your Discord account ID. Can be accessed through Discord->User Settings->My Account->Copy User ID config.h
clientID
Client ID of your Spotify app (found under the Settings section of your app) privateConfig.h
clientSecret
Client Secret of your Spotify app (found under the Settings section of your app) privateConfig.h
-
Build and upload to ESP board
- Heavily based on work done by this repo: https://github.com/Cimera42/esp-discord-client