Adding all changes made during the the conference
This commit is contained in:
parent
8fd28d237c
commit
2bf3877278
Binary file not shown.
BIN
software/database/influxdb2/influxd.bolt
Normal file → Executable file
BIN
software/database/influxdb2/influxd.bolt
Normal file → Executable file
Binary file not shown.
22
software/flow/flows.json
Executable file → Normal file
22
software/flow/flows.json
Executable file → Normal file
|
@ -57,7 +57,7 @@
|
||||||
"id": "7ce136dbb8c897d1",
|
"id": "7ce136dbb8c897d1",
|
||||||
"type": "mqtt-broker",
|
"type": "mqtt-broker",
|
||||||
"name": "pi-mqtt-server:1833",
|
"name": "pi-mqtt-server:1833",
|
||||||
"broker": "pi-mqtt-server",
|
"broker": "192.168.178.21",
|
||||||
"port": "1883",
|
"port": "1883",
|
||||||
"clientid": "",
|
"clientid": "",
|
||||||
"autoConnect": true,
|
"autoConnect": true,
|
||||||
|
@ -695,7 +695,7 @@
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"z": "325e309897bf4538",
|
"z": "325e309897bf4538",
|
||||||
"name": "parse power data",
|
"name": "parse power data",
|
||||||
"func": "var power = Number(msg.payload);\n\nif (power != 0){\n return {\n payload: power\n }\n}",
|
"func": "var power = Number(msg.payload);\n\nif (power != 0){\n return {\n payload: 90*power\n }\n}",
|
||||||
"outputs": 1,
|
"outputs": 1,
|
||||||
"noerr": 0,
|
"noerr": 0,
|
||||||
"initialize": "",
|
"initialize": "",
|
||||||
|
@ -715,7 +715,7 @@
|
||||||
"type": "debug",
|
"type": "debug",
|
||||||
"z": "325e309897bf4538",
|
"z": "325e309897bf4538",
|
||||||
"name": "power 3dprinter",
|
"name": "power 3dprinter",
|
||||||
"active": false,
|
"active": true,
|
||||||
"tosidebar": true,
|
"tosidebar": true,
|
||||||
"console": false,
|
"console": false,
|
||||||
"tostatus": false,
|
"tostatus": false,
|
||||||
|
@ -1268,7 +1268,7 @@
|
||||||
"z": "325e309897bf4538",
|
"z": "325e309897bf4538",
|
||||||
"influxdb": "d61a7da6caeb26aa",
|
"influxdb": "d61a7da6caeb26aa",
|
||||||
"name": "energy2Influx",
|
"name": "energy2Influx",
|
||||||
"measurement": "energy",
|
"measurement": "totalEnergy",
|
||||||
"precision": "",
|
"precision": "",
|
||||||
"retentionPolicy": "",
|
"retentionPolicy": "",
|
||||||
"database": "database",
|
"database": "database",
|
||||||
|
@ -1521,7 +1521,7 @@
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"z": "47e5443dc1c29bcd",
|
"z": "47e5443dc1c29bcd",
|
||||||
"name": "parse power data",
|
"name": "parse power data",
|
||||||
"func": "var power = Number(msg.payload);\n\nif (power != 0) {\n return {\n payload: power\n }\n}",
|
"func": "var power = Number(msg.payload);\n\nif (power != 0) {\n return {\n payload: 25*power\n }\n}",
|
||||||
"outputs": 1,
|
"outputs": 1,
|
||||||
"noerr": 0,
|
"noerr": 0,
|
||||||
"initialize": "",
|
"initialize": "",
|
||||||
|
@ -2017,7 +2017,7 @@
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"z": "47e5443dc1c29bcd",
|
"z": "47e5443dc1c29bcd",
|
||||||
"name": "parse power data",
|
"name": "parse power data",
|
||||||
"func": "return {\n payload: Number(msg.payload),\n topic: \"energy\"\n}",
|
"func": "return {\n payload: Number(msg.payload) * 12,\n topic: \"energy\"\n}",
|
||||||
"outputs": 1,
|
"outputs": 1,
|
||||||
"noerr": 0,
|
"noerr": 0,
|
||||||
"initialize": "",
|
"initialize": "",
|
||||||
|
@ -2094,7 +2094,7 @@
|
||||||
"z": "47e5443dc1c29bcd",
|
"z": "47e5443dc1c29bcd",
|
||||||
"influxdb": "d61a7da6caeb26aa",
|
"influxdb": "d61a7da6caeb26aa",
|
||||||
"name": "energy2Influx",
|
"name": "energy2Influx",
|
||||||
"measurement": "energy",
|
"measurement": "totalEnergy",
|
||||||
"precision": "",
|
"precision": "",
|
||||||
"retentionPolicy": "",
|
"retentionPolicy": "",
|
||||||
"database": "database",
|
"database": "database",
|
||||||
|
@ -2132,7 +2132,7 @@
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"z": "8ef0902d5920bef2",
|
"z": "8ef0902d5920bef2",
|
||||||
"name": "parse power data",
|
"name": "parse power data",
|
||||||
"func": "var power = Number(msg.payload);\n\nif (power != 0) {\n return {\n payload: power\n }\n}",
|
"func": "var power = Number(msg.payload);\n\nif (power != 0) {\n return {\n payload: 15*power\n }\n}",
|
||||||
"outputs": 1,
|
"outputs": 1,
|
||||||
"noerr": 0,
|
"noerr": 0,
|
||||||
"initialize": "",
|
"initialize": "",
|
||||||
|
@ -2152,7 +2152,7 @@
|
||||||
"type": "debug",
|
"type": "debug",
|
||||||
"z": "8ef0902d5920bef2",
|
"z": "8ef0902d5920bef2",
|
||||||
"name": "power cnc",
|
"name": "power cnc",
|
||||||
"active": true,
|
"active": false,
|
||||||
"tosidebar": true,
|
"tosidebar": true,
|
||||||
"console": false,
|
"console": false,
|
||||||
"tostatus": false,
|
"tostatus": false,
|
||||||
|
@ -2228,7 +2228,7 @@
|
||||||
"type": "debug",
|
"type": "debug",
|
||||||
"z": "8ef0902d5920bef2",
|
"z": "8ef0902d5920bef2",
|
||||||
"name": "state cnc",
|
"name": "state cnc",
|
||||||
"active": false,
|
"active": true,
|
||||||
"tosidebar": true,
|
"tosidebar": true,
|
||||||
"console": false,
|
"console": false,
|
||||||
"tostatus": false,
|
"tostatus": false,
|
||||||
|
@ -2545,7 +2545,7 @@
|
||||||
"z": "8ef0902d5920bef2",
|
"z": "8ef0902d5920bef2",
|
||||||
"influxdb": "d61a7da6caeb26aa",
|
"influxdb": "d61a7da6caeb26aa",
|
||||||
"name": "energy2Influx",
|
"name": "energy2Influx",
|
||||||
"measurement": "energy",
|
"measurement": "totalEnergy",
|
||||||
"precision": "",
|
"precision": "",
|
||||||
"retentionPolicy": "",
|
"retentionPolicy": "",
|
||||||
"database": "database",
|
"database": "database",
|
||||||
|
|
Loading…
Reference in a new issue