Files
mosquitto-mqtt-broker/n8n-mqtt.json
2025-11-03 23:55:14 +00:00

113 lines
2.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "Send MQTT Data to Broker",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-432,
-112
],
"id": "213b3a19-1c7b-4a2d-854a-84ffe962c6da",
"name": "When clicking Execute workflow"
},
{
"parameters": {
"topic": "devices/device1/now",
"sendInputData": false,
"message": "={{ $now.toFormat('dd.MM.yyyy - HH:mm:ss') }}\n\n",
"options": {}
},
"type": "n8n-nodes-base.mqtt",
"typeVersion": 1,
"position": [
-144,
-32
],
"id": "cada589b-263e-4b4b-98c2-1912bc4685e5",
"name": "MQTT",
"credentials": {
"mqtt": {
"id": "L07VVR2BDfDda6Zo",
"name": "MQTT account"
}
}
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-432,
64
],
"id": "40c2908e-43ae-41fc-a8d0-ed56e13d2593",
"name": "Schedule Trigger"
},
{
"parameters": {
"content": "## MQTT-Broker Trigger\n**Click me** [MQTT-Broker](https://mqtt.example.com/)",
"height": 416,
"width": 608,
"color": 4
},
"type": "n8n-nodes-base.stickyNote",
"position": [
-528,
-224
],
"typeVersion": 1,
"id": "d8f6c240-2f10-4214-908b-9a167479aba5",
"name": "Sticky Note"
}
],
"pinData": {},
"connections": {
"When clicking Execute workflow": {
"main": [
[
{
"node": "MQTT",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "MQTT",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1",
"callerPolicy": "workflowsFromSameOwner",
"availableInMCP": false,
"errorWorkflow": "0bBZzSE6SUzVsif5"
},
"versionId": "dbb34898-a9e9-4ed2-9e23-17f7a500b7cf",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "2f7fd37175cefa82de44e06b8af9ab9c01e7956018045d6efc4f7bf1588a41eb"
},
"id": "YFFPaZaXOaQkYgQW",
"tags": []
}