Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

FlowAWTRIX 3

Spotify Notify Now Playing

On an AWTRIX display
Spotify Notify Now Playing shown on an AWTRIX display
Spotify Notify Now Playing · by rogote

Use with Node-RED

Sends a notification with artist and song title to your display when Spotify plays a song.

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Smarthome
Includes
Flow

Runs on

  • Does not run on 32×8 (TC001 & DIY) Made for AWTRIX 3.
  • Does not run on 52×16 (TC002) Made for AWTRIX 3.
  • Runs on 32×8 with AWTRIX 3 (TC001 & DIY)
Download flow

Follow the author’s setup instructions below.

Is this your flow?

If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.

Flow description

This flow polls the Spotify Web API every 20 seconds and sends a notification to your display when a new song is played.

You can customize the look of the notification easily. Also there is an option to exclude certain devices (e.g. show notifications from your desktop computer and the media station, but not your mobile).

Unfortunately, podcasts or audio books do not work. I have tried to include this, but the Node-RED wrapper for the Spotify WebAPI does not seem to pass the required data.

Requirements

  • Node node-red-contrib-spotify. Install via Manage Palette (not npm)
  • Icon 18207 of the lametric icons. Install it via Icons tab in Awtrix WebUI.
  • Spotify account and a registration for Spotify Web API for authentication using a Client id and a Client secret
Using Spotify WebAPI
  • Go to https://developer.spotify.com, login with your account
  • To create an app, go to your Dashboard, click on the Create an app button and enter the following information:
    • App Name: My Node-RED
    • App Description: My Node-RED integration
    • Redirect URI: any URL, e.g. http://localhost
    • Check that you want to use Web API
    • Finally, check the Developer Terms of Service checkbox and tap on the Create button.
  • Click on the Settings button for you app
  • The Client ID can be found here. The Client Secret can be found behind the View client secret link.
  • Insert this this client id and secret in the Spotify OAuth config

More flows for Node-RED or Smarthome

Something wrong with this flow? Report it.