Skip to content

Commit

Permalink
Added table names
Browse files Browse the repository at this point in the history
  • Loading branch information
st-randers committed Apr 9, 2024
1 parent 4828977 commit 622a7b8
Show file tree
Hide file tree
Showing 72 changed files with 225 additions and 67 deletions.
7 changes: 6 additions & 1 deletion node-red/flows_js/_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"group.df94d73dc0cd110b.flows.js",
"group.4b90a672643d16a1.flows.js",
"group.a6ff98b819d2453d.flows.js",
"group.39a84f62ba24489c.flows.js",
"junction.8bfbbd8a03d0531e.flows.js",
"junction.571610cba9c26a66.flows.js",
"junction.3ece71af790c7751.flows.js",
Expand Down Expand Up @@ -95,5 +96,9 @@
"subflow_f637fce5f03731d6.fef97dc966ad4f16.flows.js",
"subflow_f637fce5f03731d6.4a1542b920c093b9.flows.js",
"subflow_f637fce5f03731d6.8acdb2123b63ed5e.flows.js",
"subflow_f93fc1e5c4176e6a.0e07e080c569c09a.flows.js"
"subflow_f93fc1e5c4176e6a.0e07e080c569c09a.flows.js",
"inject.b2ced948ace7dd2f.flows.js",
"debug.b90841aad1d610a5.flows.js",
"change.6b9a4e582b1e4da4.flows.js",
"comment.463a093b401ccd0b.flows.js"
]
2 changes: 1 addition & 1 deletion node-red/flows_js/change.19e80ee397d7c46a.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Node = {
"to": "",
"reg": false,
"x": 940,
"y": 1180,
"y": 1280,
"wires": [
[
"00837b57c8d1708d"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.222f4c3a6c37e7dc.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Node = {
"to": "",
"reg": false,
"x": 590,
"y": 300,
"y": 400,
"wires": [
[
"4350c7c94c855628"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.2638f1f20857e8ed.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Node = {
"to": "",
"reg": false,
"x": 690,
"y": 80,
"y": 180,
"wires": [
[
"3ece71af790c7751",
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.2ce0af8021fc83ae.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Node = {
"to": "",
"reg": false,
"x": 940,
"y": 1220,
"y": 1320,
"wires": [
[
"344832cf8a71d5c1"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.4350c7c94c855628.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Node = {
"to": "",
"reg": false,
"x": 810,
"y": 300,
"y": 400,
"wires": [
[
"1de818c4ee26a643"
Expand Down
72 changes: 72 additions & 0 deletions node-red/flows_js/change.6b9a4e582b1e4da4.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
const Node = {
"id": "6b9a4e582b1e4da4",
"type": "change",
"z": "7d89c5933c6ac70c",
"g": "39a84f62ba24489c",
"name": "Table names",
"rules": [
{
"t": "set",
"p": "metadataTablename",
"pt": "global",
"to": "{}",
"tot": "json"
},
{
"t": "set",
"p": "metadataTablename.maaler",
"pt": "global",
"to": "iot_device_metadata",
"tot": "str"
},
{
"t": "set",
"p": "metadataTablename.maalepunkt",
"pt": "global",
"to": "iot_metric_metadata",
"tot": "str"
},
{
"t": "set",
"p": "metadataTablename.lokation",
"pt": "global",
"to": "iot_location_metadata",
"tot": "str"
},
{
"t": "set",
"p": "metadataTablename.deviceprofile",
"pt": "global",
"to": "iot_deviceprofile_metadata",
"tot": "str"
},
{
"t": "set",
"p": "metadataTablename.decoder",
"pt": "global",
"to": "iot_decoder_metadata",
"tot": "str"
},
{
"t": "set",
"p": "metadataTablename.os2status",
"pt": "global",
"to": "iot_os2_requests",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 380,
"y": 60,
"wires": [
[
"b90841aad1d610a5"
]
]
}

module.exports = Node;
2 changes: 1 addition & 1 deletion node-red/flows_js/change.a41f7310c7be4afd.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Node = {
"to": "",
"reg": false,
"x": 990,
"y": 80,
"y": 180,
"wires": [
[
"16cdd2346236e5ea"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.d5794a3313af060b.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Node = {
"to": "",
"reg": false,
"x": 220,
"y": 1300,
"y": 1400,
"wires": [
[
"7fe6f3f247026a69"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.e0d41eb0bcfb6c58.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Node = {
"to": "",
"reg": false,
"x": 930,
"y": 1140,
"y": 1240,
"wires": [
[
"75e2baba734d0c8e"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/change.faa66823f24f2861.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Node = {
"to": "",
"reg": false,
"x": 220,
"y": 300,
"y": 400,
"wires": [
[
"ac8d0bcc64355618"
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.1c1d1cb29dc6e19e.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Dekodning hvis ekstern dekoder er defineret",
"info": "",
"x": 310,
"y": 1060,
"y": 1160,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.30d37ff74bab401d.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Flyt og split per dataelement i listen",
"info": "",
"x": 280,
"y": 240,
"y": 340,
"wires": []
}

Expand Down
13 changes: 13 additions & 0 deletions node-red/flows_js/comment.463a093b401ccd0b.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const Node = {
"id": "463a093b401ccd0b",
"type": "comment",
"z": "7d89c5933c6ac70c",
"g": "39a84f62ba24489c",
"name": "Sæt tabelnavne",
"info": "",
"x": 130,
"y": 60,
"wires": []
}

module.exports = Node;
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.52e5cac5a5d40eba.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Indsæt ny devicedata",
"info": "",
"x": 240,
"y": 1240,
"y": 1340,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.6c34d999b38d440e.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Node = {
"name": "Create prometheus metric",
"info": "",
"x": 970,
"y": 1100,
"y": 1200,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.81c7776fc105601f.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Ingen datatræk /observation af måler",
"info": "",
"x": 620,
"y": 660,
"y": 760,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.aa54d71584e8d270.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Observation findes af måler",
"info": "",
"x": 600,
"y": 860,
"y": 960,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.e3cca0e958a2d3ef.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Opdater metadata",
"info": "",
"x": 230,
"y": 1440,
"y": 1540,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.f134c2eb9b3b6408.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"name": "Kontroller metadata",
"info": "",
"x": 330,
"y": 420,
"y": 520,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.144c2f0348f31878.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 740,
"y": 1500,
"y": 1600,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.8623dd2211386e01.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 860,
"y": 480,
"y": 580,
"wires": []
}

Expand Down
20 changes: 20 additions & 0 deletions node-red/flows_js/debug.b90841aad1d610a5.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const Node = {
"id": "b90841aad1d610a5",
"type": "debug",
"z": "7d89c5933c6ac70c",
"g": "39a84f62ba24489c",
"name": "Table names set",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": false,
"complete": "$globalContext(\"metadataTablename\")",
"targetType": "jsonata",
"statusVal": "",
"statusType": "auto",
"x": 550,
"y": 60,
"wires": []
}

module.exports = Node;
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.bedc55e1f2a3e9de.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 920,
"y": 1300,
"y": 1400,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.c159f17f3ee9639e.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 680,
"y": 140,
"y": 240,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.cfe32cbb97677573.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 900,
"y": 1000,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.d1e08f70c9b8ec7d.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 540,
"y": 600,
"y": 700,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/debug.d55a813ba56dba9e.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Node = {
"statusVal": "",
"statusType": "auto",
"x": 1110,
"y": 720,
"y": 820,
"wires": []
}

Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/function.b47538a01b50dcca.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Node = {
"finalize": "",
"libs": [],
"x": 400,
"y": 80,
"y": 180,
"wires": [
[
"571610cba9c26a66"
Expand Down
25 changes: 25 additions & 0 deletions node-red/flows_js/group.39a84f62ba24489c.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const Node = {
"id": "39a84f62ba24489c",
"type": "group",
"z": "7d89c5933c6ac70c",
"name": "Config",
"style": {
"stroke": "none",
"stroke-opacity": "0.6",
"label": true,
"fill": "#e3f3d3",
"fill-opacity": "0.6"
},
"nodes": [
"b2ced948ace7dd2f",
"b90841aad1d610a5",
"6b9a4e582b1e4da4",
"463a093b401ccd0b"
],
"x": 24,
"y": 19,
"w": 652,
"h": 82
}

module.exports = Node;
2 changes: 1 addition & 1 deletion node-red/flows_js/group.a6ff98b819d2453d.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Node = {
"75e2baba734d0c8e"
],
"x": 834,
"y": 1059,
"y": 1159,
"w": 392,
"h": 202
}
Expand Down
Loading

0 comments on commit 622a7b8

Please sign in to comment.