IOT Button Remote / Spotify Control Integration with MQTT — Flujo de trabajo n8n

Alta complejidad Disparador24 nodos🏷️ Miscellaneous👁 3,364 vistaspor Hubschrauber

Descripción general

Overview This template integrates an IOT multi-button switch (meant for controlling a dimmable light) with Spotify playback functions, via MQTT messages. This isn't likely to work without some tinkering, but should be a good head start on receiving/routing IOT/MQTT messages and hooking up to a Spotify-like API. Requirements An IOT device capable of generating events that can be delivered as MQTT messages through an MQTT Broker e.g. Ikea Strybar remote An MQTT Broker to which n8n can connect a

Nodos utilizados

HTTP RequestSpotify

Vista previa del flujo de trabajo

Receive MQTT message from IKEA 5-button Switc
Find the target player device (or spotify dev
Spotify Next
Spotify Resume
Spotify Pause
Spotify API - Volume up …
Spotify API - Volume dow…
Spotify API - Get Availa…
E
Extract Individual Devices
S
Select Device by Name to…
Custom Function 1 - P1
Custom Function 2 - P2
Custom Function 1 - P3
Spotify API - Activate T…
R
Route to Requested Funct…
Custom Function 2 - P1
F
Filter
G
Globals
Custom Function 2 - P3
O
Oops. How was this reach…
Spotify API - Get Device…
A
Already playing on Targe…
I
Is Playing?
Spotify Prev
M
MQTT Trigger - Remote Sw…
R
Remote Action -> Functio…
24 nodes27 edges

Cómo funciona

  1. 1

    Disparador

    El flujo de trabajo comienza con un disparador disparador.

  2. 2

    Procesamiento

    Los datos fluyen a través de 24 nodos, connecting filter, httprequest, if.

  3. 3

    Salida

    El flujo de trabajo completa su automatización y entrega el resultado al destino configurado.

Detalles de nodos (24)

HT

HTTP Request

httpRequest

#1
SP

Spotify

spotify

#2

Cómo importar este flujo de trabajo

  1. 1Haz clic en el botón Descargar JSON a la derecha para guardar el archivo del flujo de trabajo.
  2. 2Abre tu instancia de n8n. Ve a Flujos de trabajo → Nuevo → Importar desde archivo.
  3. 3Selecciona el archivo iot-button-remote-spotify-control-integration-with-mqtt descargado y haz clic en Importar.
  4. 4Configura las credenciales para cada nodo de servicio (claves API, OAuth, etc.).
  5. 5Haz clic en Probar flujo de trabajo para verificar que todo funcione, luego actívalo.

O pega directamente en n8n → Importar desde JSON:

{ "name": "IOT Button Remote / Spotify Control Integration with MQTT", "nodes": [...], ...}

Integraciones

filterhttprequestifmqtttriggersetsplitoutspotifyswitch

Obtener este flujo de trabajo

Descarga e importa con un solo clic

Descargar JSONVer en n8n.io
Nodos24
Complejidadhigh
Disparadortrigger
Vistas3,364
CategoríaMiscellaneous

Creado por

Hubschrauber

Hubschrauber

@hubschrauber

Etiquetas

filterhttprequestifmqtttriggersetsplitoutspotifyswitch

¿Nuevo en n8n?

n8n es una herramienta de automatización de flujos de trabajo gratuita y de código abierto. Alójala tú mismo o usa la versión en la nube.

Obtener n8n gratis →

Related Miscellaneous Workflows