Automate Remote Sensor Data Collection with MQTT and InfluxDB
Efficiently monitor and store temperature and humidity data from remote sensors using MQTT and InfluxDB in an n8n workflow.
This workflow demonstrates how to automate the collection and storage of environmental data from a remote DHT22 sensor connected to an ESP32 microcontroller. The data is published to a Mosquitto MQTT broker and then processed in n8n. The workflow includes nodes to trigger data collection, format the data into JSON, and store it in an InfluxDB bucket. This setup allows for real-time monitoring and can be customized for various IoT applications.
- Platform
- n8n
- Category
- Internet of Things
- Price
- $4.99
- Creator
- Aisha Okafor
- code
- stickyNote
- httpRequest
- mqttTrigger
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.
Related Internet of Things workflows
- Automated Weather Alerts and Analysis Using AI and Home Assistant$14.99
- AI-Driven Handbook Generator with Multi-Agent Orchestration$24.99
- Vehicle Telematics Analyzer for Efficient Device Management$24.99
- Automate Solar Energy Monitoring and Alerts with Gmail, Google Sheets, and Slack$9.99
- Automate Network Disconnection Alerts with Omada, Gmail, and Pushover$14.99
- Automate IoT Sensor Data Cleaning and Logging to InfluxDB$4.99
More from Aisha Okafor
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.