Dokumentation für NocoDB-Setup und n8n-Workflows hinzugefügt
- NocoDB-Tabellenstruktur mit allen erforderlichen Spalten dokumentiert - n8n-Workflow für automatische Datensammlung (alle 15 Min.) hinzugefügt - n8n-Webhook für Datenbereitstellung an Visualisierung hinzugefügt - CSV-Beispieldatei als Strukturvorlage hinzugefügt 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
169
feinstaub-daten.json
Normal file
169
feinstaub-daten.json
Normal file
@@ -0,0 +1,169 @@
|
||||
{
|
||||
"name": "Feinstaub Sensor",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"id": "97a097ea-86dd-4cc1-9fe8-0b93c165fdb4",
|
||||
"name": "When clicking ‘Execute workflow’"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://feinstaub.homeabc.de/data.json",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.2,
|
||||
"position": [
|
||||
192,
|
||||
96
|
||||
],
|
||||
"id": "3661b690-3859-4d85-84c9-5fb1d80fede2",
|
||||
"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 }}"
|
||||
},
|
||||
{
|
||||
"fieldName": "Datum",
|
||||
"fieldValue": "={{ $now.toLocaleString('de-DE', { timeZone: 'Europe/Berlin' }) }}"
|
||||
},
|
||||
{
|
||||
"fieldName": "Uhrzeit",
|
||||
"fieldValue": "={{ $now.toFormat('HH:mm:ss') }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.nocoDb",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
384,
|
||||
96
|
||||
],
|
||||
"id": "1bfeba86-aca1-4b75-b2cb-5712645e0981",
|
||||
"name": "Create a row",
|
||||
"credentials": {
|
||||
"nocoDbApiToken": {
|
||||
"id": "T9XuGr6CJD2W2BPO",
|
||||
"name": "NocoDB Token account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"rule": {
|
||||
"interval": [
|
||||
{
|
||||
"field": "minutes",
|
||||
"minutesInterval": 15
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.scheduleTrigger",
|
||||
"typeVersion": 1.2,
|
||||
"position": [
|
||||
0,
|
||||
192
|
||||
],
|
||||
"id": "b9749aa9-4472-4b8c-b7ce-2ad59d979d6c",
|
||||
"name": "Schedule Trigger"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Schedule Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"active": true,
|
||||
"settings": {
|
||||
"executionOrder": "v1",
|
||||
"callerPolicy": "workflowsFromSameOwner",
|
||||
"availableInMCP": false,
|
||||
"errorWorkflow": "0bBZzSE6SUzVsif5"
|
||||
},
|
||||
"versionId": "fd1b3549-6bad-48eb-9b7c-e7554966ad01",
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": true,
|
||||
"instanceId": "2f7fd37175cefa82de44e06b8af9ab9c01e7956018045d6efc4f7bf1588a41eb"
|
||||
},
|
||||
"id": "1P67HarmPSvmjDxc",
|
||||
"tags": [
|
||||
{
|
||||
"updatedAt": "2025-11-01T14:23:20.263Z",
|
||||
"createdAt": "2025-11-01T14:23:20.263Z",
|
||||
"id": "N0uCqYBwuniqV9Up",
|
||||
"name": "feinstaub"
|
||||
},
|
||||
{
|
||||
"updatedAt": "2025-11-01T14:23:20.250Z",
|
||||
"createdAt": "2025-11-01T14:23:20.250Z",
|
||||
"id": "WqB4PpiYqVO3BD4U",
|
||||
"name": "smarthome"
|
||||
},
|
||||
{
|
||||
"updatedAt": "2025-11-01T14:23:20.273Z",
|
||||
"createdAt": "2025-11-01T14:23:20.273Z",
|
||||
"id": "k6O9Q9n2ZJ8bPx17",
|
||||
"name": "sensor"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user