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

Hoog complexiteit Trigger24 knooppunten🏷️ Miscellaneous👁 3,364 weergavendoor Hubschrauber

Overzicht

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

Gebruikte knooppunten

HTTP RequestSpotify

Workflow-voorvertoning

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

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een trigger-trigger.

  2. 2

    Verwerking

    Gegevens stromen door 24 knooppunten, connecting filter, httprequest, if.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Knooppuntdetails (24)

HT

HTTP Request

httpRequest

#1
SP

Spotify

spotify

#2

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand iot-button-remote-spotify-control-integration-with-mqtt en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

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

Integraties

filterhttprequestifmqtttriggersetsplitoutspotifyswitch

Haal deze workflow op

Download en importeer met één klik

JSON downloadenBekijken op n8n.io
Knooppunten24
Complexiteithigh
Triggertrigger
Weergaven3,364
CategorieMiscellaneous

Gemaakt door

Hubschrauber

Hubschrauber

@hubschrauber

Tags

filterhttprequestifmqtttriggersetsplitoutspotifyswitch

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →

Related Miscellaneous Workflows