All Projects → ThingPulse → Esp8266 Spotify Remote

ThingPulse / Esp8266 Spotify Remote

Licence: mit
Control your Spotify player from a ESP8266 with color touch display

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Esp8266 Spotify Remote

Dhtesp
Optimized DHT library for ESP32/ESP8266 using Arduino framework
Stars: ✭ 184 (+8.24%)
Mutual labels:  arduino-ide, esp8266
Jarolift MQTT
Controlling Jarolift TDEF 433MHZ radio shutters via ESP8266 and CC1101 Transceiver Module in asynchronous mode
Stars: ✭ 43 (-74.71%)
Mutual labels:  esp8266, arduino-ide
Arduino Applemidi Library
Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
Stars: ✭ 177 (+4.12%)
Mutual labels:  arduino-ide, esp8266
Deviot
Sublime Text plugin for IoT development based in PlatformIO ecosystem (Arduino IDE)
Stars: ✭ 281 (+65.29%)
Mutual labels:  arduino-ide, esp8266
Bleeper
Library to manage your firmware configurations written in C++
Stars: ✭ 54 (-68.24%)
Mutual labels:  arduino-ide, esp8266
Garhage
a Home-Automation-friendly ESP8266-based MQTT Garage Door Controller
Stars: ✭ 163 (-4.12%)
Mutual labels:  arduino-ide, esp8266
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (+37.06%)
Mutual labels:  arduino-ide, esp8266
Espui
A simple web user interface library for ESP32 and ESP8266
Stars: ✭ 330 (+94.12%)
Mutual labels:  arduino-ide, esp8266
Ideasnprojects
That Project's Source Code
Stars: ✭ 344 (+102.35%)
Mutual labels:  arduino-ide, esp8266
Espsavecrash
Save exception details and stack trace anytime and anywhere the ESP8266 crashes
Stars: ✭ 74 (-56.47%)
Mutual labels:  arduino-ide, esp8266
Irremoteesp8266
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Stars: ✭ 1,964 (+1055.29%)
Mutual labels:  arduino-ide, esp8266
Tune
A streamlined Spotify client and browser with a focus on performance and integrations.
Stars: ✭ 166 (-2.35%)
Mutual labels:  spotify
Feature Requests
ESPHome Feature Request Tracker
Stars: ✭ 160 (-5.88%)
Mutual labels:  esp8266
Split Single Phase Energy Meter
Split Single-phase Energy Meter
Stars: ✭ 158 (-7.06%)
Mutual labels:  esp8266
Rust Esp Container
Container image with pre-built rust compiler for ESP32/ESP8266
Stars: ✭ 156 (-8.24%)
Mutual labels:  esp8266
Makingfunxyz Esp8266
个人ESP8266学习笔记。
Stars: ✭ 167 (-1.76%)
Mutual labels:  esp8266
Pzem004t
Arduino communication library for Peacefair PZEM-004T Energy monitor
Stars: ✭ 165 (-2.94%)
Mutual labels:  esp8266
Sonoff wifi switch
Прошивка для ESP8266 (Умный дом)-Firmware for ESP8266 (Smart Home)
Stars: ✭ 156 (-8.24%)
Mutual labels:  esp8266
Hubframework
DEPRECATED – Spotify’s component-driven UI framework for iOS
Stars: ✭ 1,861 (+994.71%)
Mutual labels:  spotify
Esp Open Sdk
Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
Stars: ✭ 1,884 (+1008.24%)
Mutual labels:  esp8266

ThingPulse esp8266-spotify-remote

ThingPulse logo

Purpose of this project

This project lets you control a Spotify player (phone, browser, etc) from an ESP8266. Album artworks as well as title and artist name are fetched from Spotify's Web API over WiFi and displayed on a ILI9341 color TFT screen. The currently played song can be paused, played and skipped to the next or previous song in the playlist.

A full OAuth 2.0 web flow is used to acquire the necessary access and refresh tokens to permit the user to control the player. In order to run this project on your device you will have to setup an application on Spotify's developer dashboard.

Features

  • Artwork Download
  • Control Player on touch screen: Play, Pause, Next, Prev
  • Authentication and Authorization (OAuth 2.0 flow) On device.

Demo Video:

Demo Video

Recommended Hardware

We developed this project specifically for our ESP8266 Color Kit. If you appreciate the hard work and our willingness to open-source projects like this one then please support us by buying our hardware.

Contributions

Please see our Guidelines if you want to contribute to this project. Contributions are more than welcome!

Service level promise

This is a ThingPulse community project. See our open-source commitment declaration for what this means.

Setup Instructions

Precondition

The below instructions assume that your Arduino IDE is properly setup to work with the ThingPulse Color Kit. See our standalone tutorials for setting up the IDE and installing the drivers if you need help with that.

Prepare Project in Arduino IDE

  1. Download this project either as ZIP file or check it out with Git
  2. Open the project in the Arduino IDE.
  3. Install the required Arduino libraries. Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata pulled from the internet and displayed below. Select the latest version and install it.
    1. Mini Grafx library (by ThingPulse, V 1.0.0 or later)
    2. JPEGDecoder library (by Bodmer, Makoto Kurauchi, Rich Geldreich, v1.7.8 or later). After installing the library go to your Arduino sketchbook folder (the one configured in Arduino Preferences > Sketchbook location). In that folder open file libraries/JPEGDecoder/src/User_config.h and comment line 5 so that it reads //#define LOAD_SD_LIBRARY.
    3. JSON Streaming Parser library (by Daniel Eichhorn, v1.0.5 or later)
    4. ThingPulse XPT2046 Touch (our fork of the original lib by Paul Stoffregen, v1.2.0 or later)
  4. Set your WiFi credentials in the settings.h file
  5. Complete the steps below to get the values for the Spotify settings required in settings.h

Get Access to the Spotify API

  1. Go to https://developer.spotify.com/dashboard/login and login to or sign up for the Spotify Developer Dashboard

  2. Click on "My New App"

  1. Fill out the form. Give your new app a name you can attribute to this project. It's safe to select "I don't know" for the type of application.
  1. At the end of the 3 steps click "Submit"
  1. Set the unique Client ID and Client Secret as values for the respective variables in settings.h
  1. Click on "Edit Settings". Add "http://esp8266.local/callback/" to the Redirect URIs section.

    NOTE If you're running more than ThingPulse Spotify Remote in the same WiFi network you should choose a unique name rather than "esp8266". Regardless of what you choose it has to reflect what you set as espotifierNodeName in settings.h

  1. Don't forget to save your settings.

Compile and run the application

After all this configuration it's about time to run the application!

  1. First check the configuration in settings.h one more time to ensure the Spotify values match those set on the Spotify Developer Dashboard. Better safe than sorry, they say.

  2. Attach your ESP8266 Color Kit to your computer and select the correct serial port and flash settings in the Arduino IDE as per https://docs.thingpulse.com/guides/wifi-color-display-kit/#select-flash-mode-and-flash-size

  3. Upload the code to your ESP8266

  4. When you run this the first time you'll have to go through additional steps. The display will ask you to open the browser at a specific location. This will redirect you to the dialog below.

  1. The next step is to calibrate the screen. Click on the white circles

  2. Now open your Spotify player and start a song. If everything worked out you'll see the song information with artwork on the TFT screen!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].