IoT Button Remote Spotify Control via MQTT

Integrates IoT multi-button remotes with Spotify playback control using MQTT for seamless smart home music automation.

n8n
IoT Button Remote Spotify Control via MQTT

This n8n workflow connects an IoT button remote, like the Ikea Strybar, to Spotify's API via MQTT messages. It listens for MQTT events from an IoT broker (e.g., Zigbee2MQTT in Home Assistant), routes button presses (e.g., arrow_left_click, brightness_up_click) through switch nodes, and triggers Spotify actions like play, pause, skip, or volume control.

Benefits include hands-free music management without needing a phone or computer, enhancing smart home convenience. It saves time on custom integrations, provides a reusable template for MQTT-based IoT controls, and supports OAuth2 for secure Spotify access. Ideal for automating entertainment in home setups.

Use cases: Control Spotify from a bedside or kitchen remote during travel prep or hospitality events; integrate with smart hotels for guest music preferences; or build custom itineraries with ambient music triggers. Requires tinkering for specific button mappings but offers a strong starting point.

Setup involves configuring MQTT credentials and topics, creating a Spotify developer app for OAuth, and connecting credentials in n8n. Expect 4-8 nodes including trigger, routers, and API calls for medium complexity.

$14.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Travel & Hospitality workflows

More from Saskia Kowalczyk

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.