https://github.com/fbiego/esp32-spotify-oled
View your current playing song on ESP32 & OLED display using Spotify API
https://github.com/fbiego/esp32-spotify-oled
arduino esp32 oled spotify spotify-api spotify-player
Last synced: 3 months ago
JSON representation
View your current playing song on ESP32 & OLED display using Spotify API
- Host: GitHub
- URL: https://github.com/fbiego/esp32-spotify-oled
- Owner: fbiego
- Created: 2022-01-09T20:35:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-21T17:22:45.000Z (about 3 years ago)
- Last Synced: 2025-03-25T09:47:44.171Z (3 months ago)
- Topics: arduino, esp32, oled, spotify, spotify-api, spotify-player
- Language: C++
- Homepage:
- Size: 3.29 MB
- Stars: 17
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# esp32-spotify-oled
View your current playing song on ESP32 & OLED display using Spotify API### Libraries
- [`OLED_I2C`](http://www.rinkydinkelectronics.com/library.php?id=79)### Spotify
- Visit Spotify Dashboard [`https://developer.spotify.com/dashboard/login`](https://developer.spotify.com/dashboard/login)
- [`Create an app`](https://developer.spotify.com/documentation/general/guides/authorization/app-settings/)
- Copy Client ID to sketch
- Add Redirect URI http://httpbin.org/anything & Save in `Edit Settings`### Authentication
- Authenticate the app using your browser (Chrome)
- Enable Developer tools `Ctrl+Shift+I`
- Add Client ID & Redirect URI (URL Encoded) -> `http%3A%2F%2Fhttpbin.org%2Fanything`
- Authentication Link: `https://accounts.spotify.com/authorize?response_type=token&redirect_uri=" + redirect + "&client_id=" + client_id + "&scope=user-read-playback-state+user-read-playback-position+user-modify-playback-state&state=cryq3`
- It should redirect to the specified URI with an Access Token on the URL
- Copy the Cookie value to the sketch