- this project only works with node version 12, as johnny-five is being used
- when node version is set to 12,
yarn global install
might or might not work depending on what global packages you installed - therefore, the best way to try this project out is to clone and build the project yourself
-
Install the package
yarn global add spotify-now
-
Initialize your app by running the following command. \ (note that you need to add
http://localhost:6969
to yourRedirect URIs
from the Spotify App Dashboard)spotify-now login --id <spotify-app-id> --secret <spotify-app-secret>
-
Firmware
-
Open Arduino IDE
-
Verify correct port and board
-
Navigate to File > Examples > Firmata > StandardFirmataPlus
-
Load sketch onto board.
-
-
Connect a RGB LED to (pwn) pins 11, 10, and 9 for
red
,green
, andblue
respectively, -
Start the app
spotify-now start