Control ESP32 GPIO via Webhook and MQTT in n8n - n8n Workflow | Neura Market
Control ESP32 GPIO via Webhook and MQTT in n8n
This workflow allows you to control an ESP32 microcontroller's GPIO pins using a simple web interface, webhook, and MQTT protocol in n8n.
The workflow demonstrates how to set up a control system for an ESP32 microcontroller using n8n, a webhook, and MQTT. A webpage with on/off buttons sends a value via a webhook to trigger the workflow. The workflow processes this value and publishes it to an MQTT broker, which the ESP32 subscribes to, toggling its GPIO pins accordingly. This setup is ideal for IoT applications where remote control of devices is required.
Platform
n8n
Category
Internet of Things
Price
Free
Creator
Ruby Santos
set
mqtt
webhook
stickyNote
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.