Files
test/Feinstaub Sensor.json
2025-10-18 11:14:56 +00:00

108 lines
2.5 KiB
JSON
Raw Permalink 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": "Feinstaub Sensor",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-400,
-32
],
"id": "a6bf8020-f44b-485f-8a62-a2715c0d2003",
"name": "When clicking Execute workflow"
},
{
"parameters": {
"url": "http://192.168.10.33/data.json",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-208,
-32
],
"id": "2d138c17-264b-4296-b47e-1fa1df9a64ce",
"name": "HTTP Request"
},
{
"parameters": {
"authentication": "nocoDbApiToken",
"operation": "create",
"projectId": "pdxl4cx4dbu9nxi",
"table": "mq93uflujstkrdh",
"fieldsUi": {
"fieldValues": [
{
"fieldName": "=SDS_P1",
"fieldValue": "={{ $json.sensordatavalues[0].value }}"
},
{
"fieldName": "SDS_P2",
"fieldValue": "={{ $json.sensordatavalues[1].value }}"
},
{
"fieldName": "BME280_Temperature",
"fieldValue": "={{ $json.sensordatavalues[2].value }}"
},
{
"fieldName": "BME280_Humidity",
"fieldValue": "={{ $json.sensordatavalues[4].value }}"
}
]
}
},
"type": "n8n-nodes-base.nocoDb",
"typeVersion": 3,
"position": [
0,
-32
],
"id": "76997e18-aa18-4581-b2f1-6da9700d4122",
"name": "Create a row",
"credentials": {
"nocoDbApiToken": {
"id": "vbPc5nAUDYprWWG3",
"name": "NocoDB Token account"
}
}
}
],
"pinData": {},
"connections": {
"When clicking Execute workflow": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Create a row",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "898c213a-b3da-474c-984b-c4060518898d",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "db7ccb31c6f03e45ba1d2dfc480a1a8079f431d409b1b6411e7e2b514bee1293"
},
"id": "YxcBQOCP491QZJf3",
"tags": []
}