Kaffeemaschine richtig eingebaut
This commit is contained in:
+5
-5
@@ -2995,7 +2995,7 @@
|
||||
"type": "debug",
|
||||
"z": "86a9e7aa0c304b46",
|
||||
"name": "debug 98",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -3134,7 +3134,7 @@
|
||||
"type": "debug",
|
||||
"z": "86a9e7aa0c304b46",
|
||||
"name": "debug 11",
|
||||
"active": true,
|
||||
"active": false,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
@@ -3151,7 +3151,7 @@
|
||||
"type": "function",
|
||||
"z": "86a9e7aa0c304b46",
|
||||
"name": "extract die Messwerte",
|
||||
"func": "msg.measurement = 'kuehlschrank'\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/ENERGY_COUNTER\")\n{\n msg.payload = {\"energy\": msg.payload.val}\n return msg\n}\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/POWER\") {\n msg.payload = { \"power\": msg.payload.val }\n return msg\n}\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/CURRENT\") {\n msg.payload = { \"current\": msg.payload.val }\n return msg\n}\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/VOLTAGE\") {\n msg.payload = { \"voltage\": msg.payload.val }\n return msg\n}\nreturn;\n",
|
||||
"func": "msg.measurement = 'kuehlschrank'\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/ENERGY_COUNTER\")\n{\n msg.payload = {\"arbeit\": msg.payload.val}\n return msg\n}\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/POWER\") {\n msg.payload = { \"leistung\": msg.payload.val }\n return msg\n}\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/CURRENT\") {\n msg.payload = { \"strom\": msg.payload.val }\n return msg\n}\nif (msg.topic == \"hm/status/Kuehlschrank_Messwerte:2/VOLTAGE\") {\n msg.payload = { \"spannung\": msg.payload.val }\n return msg\n}\nreturn;\n",
|
||||
"outputs": 1,
|
||||
"timeout": "",
|
||||
"noerr": 0,
|
||||
@@ -3193,7 +3193,7 @@
|
||||
"type": "function",
|
||||
"z": "86a9e7aa0c304b46",
|
||||
"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.payload = { arbeit: total, power: power, voltage: voltage, current: current, datetime: datetime}\nreturn msg;",
|
||||
"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\nmsg.measurement=\"kaffeemaschine\"\nmsg.payload = { \"arbeit\": total, \"leistung\": power, \"spannung\": voltage, \"strom\": current}\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"timeout": "",
|
||||
"noerr": 0,
|
||||
@@ -3213,7 +3213,7 @@
|
||||
"type": "debug",
|
||||
"z": "86a9e7aa0c304b46",
|
||||
"name": "debug 197",
|
||||
"active": false,
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"$": "527a21f99029715e546d8a088c880014izVg2qvEKu61/KoRFAeNHeFH39htTn+wiJD51EbrqAH44jpnJX/aPA6+bZ4Xylxn0NLQ+VPctLnO3w=="
|
||||
"$": "bb1765bdcec6b585abda27c230c5c23cRp+UQOKNzoB4sBABpRvcSaO7MTJ/JzYtvYBmyORkqhb8J8TaJfJ21yvNhcjzTXXgNkIQoO2MniXbsrmnXfHEHap3hB+3+lZphfn8PtFz2GFRD/NB67ZVRCpI+6+qVCagUEgAInu/7T8n9Aq8sfG3q1Aml49vRVXLKXk3TWxciG070lDPa2n+6Fvk6OrZy0w2/R83j6MdaI6IvCWQ+DipdTGIvn+WkpAx6MYFeNNhzAjo8A=="
|
||||
}
|
||||
Reference in New Issue
Block a user