Kaffemaschien und Kellerkühlschrank zu dem Maschinen für die MongiDB
(in: Daten in InfluxDB und Kaffee)
This commit is contained in:
122
flows.json
122
flows.json
@@ -175,6 +175,14 @@
|
||||
"info": "## Beschreibung\nLED-Streifen unter dem Bett, geschaltet mit Taster am Bettrahmen\n\n## Version\nVersion | Datum | Author | Bemerkung\n-------|--------|-------|---\n1.0.07 2026-01-12 | rxf | erste Version mit NodeRed",
|
||||
"env": []
|
||||
},
|
||||
{
|
||||
"id": "0ad24e09828d2345",
|
||||
"type": "tab",
|
||||
"label": "Kaffee-Maschine",
|
||||
"disabled": false,
|
||||
"info": "",
|
||||
"env": []
|
||||
},
|
||||
{
|
||||
"id": "168cd2080e21b71d",
|
||||
"type": "junction",
|
||||
@@ -3530,7 +3538,8 @@
|
||||
"wires": [
|
||||
[
|
||||
"56b1402383445da7",
|
||||
"6f1a1a62f041e743"
|
||||
"6f1a1a62f041e743",
|
||||
"af03a5e1a841517a"
|
||||
]
|
||||
]
|
||||
},
|
||||
@@ -14262,5 +14271,116 @@
|
||||
"x": 690,
|
||||
"y": 100,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "b3b7e5b0fa2244dc",
|
||||
"type": "mqtt in",
|
||||
"z": "0ad24e09828d2345",
|
||||
"name": "",
|
||||
"topic": "tele/tasmota_5B2A60/SENSOR",
|
||||
"qos": "0",
|
||||
"datatype": "auto-detect",
|
||||
"broker": "c46833d59903b816",
|
||||
"nl": false,
|
||||
"rap": true,
|
||||
"rh": 0,
|
||||
"inputs": 0,
|
||||
"x": 230,
|
||||
"y": 240,
|
||||
"wires": [
|
||||
[
|
||||
"805be96e2cda6961",
|
||||
"6ac3a9029950922b"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cbe5b8a83fe63d29",
|
||||
"type": "debug",
|
||||
"z": "0ad24e09828d2345",
|
||||
"name": "debug 196",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "true",
|
||||
"targetType": "full",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 890,
|
||||
"y": 160,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "805be96e2cda6961",
|
||||
"type": "function",
|
||||
"z": "0ad24e09828d2345",
|
||||
"name": "function 73",
|
||||
"func": "const total = msg.payload.ENERGY.Total\nconst power = msg.payload.ENERGY.Power\nconst voltage = msg.payload.ENERGY.Voltage\nconst current = msg.payload.ENERGY.Current\nconst datetime = new Date(msg.payload.Time)\nmsg.operation = 'insertOne'\nmsg.collection = 'maschinen'\nmsg.payload = { maschine: \"kaffeemaschine\", arbeit: total, power: power, voltage: voltage, current: current, datetime: datetime}\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 650,
|
||||
"y": 240,
|
||||
"wires": [
|
||||
[
|
||||
"cbe5b8a83fe63d29",
|
||||
"fb534012b4c8e611"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6ac3a9029950922b",
|
||||
"type": "debug",
|
||||
"z": "0ad24e09828d2345",
|
||||
"name": "debug 197",
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 610,
|
||||
"y": 160,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "fb534012b4c8e611",
|
||||
"type": "mongodb4",
|
||||
"z": "0ad24e09828d2345",
|
||||
"clientNode": "874361936f1ce815",
|
||||
"mode": "collection",
|
||||
"collection": "",
|
||||
"operation": "",
|
||||
"output": "toArray",
|
||||
"maxTimeMS": "0",
|
||||
"handleDocId": false,
|
||||
"name": "",
|
||||
"x": 910,
|
||||
"y": 240,
|
||||
"wires": [
|
||||
[
|
||||
"81dae075f1dddb7b"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "81dae075f1dddb7b",
|
||||
"type": "debug",
|
||||
"z": "0ad24e09828d2345",
|
||||
"name": "debug 198",
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 1130,
|
||||
"y": 240,
|
||||
"wires": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user