IOT Button Remote / Spotify Control Integration with MQTT — n8n Workflow

Hoch Komplexität Auslöser24 Knoten🏷️ Miscellaneous👁 3,364 Aufrufevon Hubschrauber

Übersicht

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

Verwendete Knoten

HTTP RequestSpotify

Workflow-Vorschau

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

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem auslöser-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 24 Knoten, connecting filter, httprequest, if.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

Knotendetails (24)

HT

HTTP Request

httpRequest

#1
SP

Spotify

spotify

#2

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei iot-button-remote-spotify-control-integration-with-mqtt und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.

Oder direkt in n8n → Aus JSON importieren einfügen:

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

Integrationen

filterhttprequestifmqtttriggersetsplitoutspotifyswitch

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

JSON herunterladenAuf n8n.io ansehen
Knoten24
Komplexitäthigh
Auslösertrigger
Aufrufe3,364
KategorieMiscellaneous

Erstellt von

Hubschrauber

Hubschrauber

@hubschrauber

Tags

filterhttprequestifmqtttriggersetsplitoutspotifyswitch

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →

Related Miscellaneous Workflows