HELLO
What we want is to sound an alarm and display text when the temperature rises. Please refer to the data.
flows (3).json (27.8 KB)
HELLO
What we want is to sound an alarm and display text when the temperature rises. Please refer to the data.
No one in their right mind, is going to suddenly import your flow, and tell you how to set it up, to avoid giving you an answer you CLEARLY don't want.
Maybe explain your setup in detail, what alarm you are referring to, what temperature probes you use, an example of a payload
you receive and what video you are referring to?
Then maybe someone will take time out of their day to kindly help you out.
Please reduce the flow to an example that focuses on your issue.
One thing I've noticed though: It looks like you're trying to compare numbers against strings:
I'm pretty sure this cannot give you the expected result.
Javascript is very forgiving, but it shouldn't harm to change the type field to number
(via the dropdown depicted az
in the screen shot).
Please use the forums system to post flows, as it makes coping it a simple click and not having to download a file open it , copy text and then paste into editor.
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
Use the </>
icon to create the triple backticks.
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json
Does it fit like this?
[
{
"id": "d1ce905ecd7ab3a0",
"type": "tab",
"label": "Flow 4",
"disabled": false,
"info": "",
"env": []
},
{
"id": "0b9258851d325b67",
"type": "group",
"z": "d1ce905ecd7ab3a0",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"28a1b0ed1013a7c7",
"feee90c2fd86775a",
"f63c8cdd374f583a",
"32b7525b89b009da",
"d57e41cc9271e044",
"e049cc591e54b32c",
"06ce1f0bdd299082",
"5ea39b32df41862b",
"14458a4b703c0f6e",
"ee1f5adc2a6ae7ee",
"81dee7335d1f8620",
"fac60d0bfab12664",
"1e7d1ecfada49883",
"61375eef5be2bacf",
"1fd93f5e0ee0d02e",
"a4cf717d039d6122",
"57efb1527c93fcc9",
"0f09d3f3065d9b71",
"55a45dc0a51160b3",
"ced39c5519c7c9a1",
"9009c9d5dd981aa0",
"4474bfef90c4cf49",
"849488f8e9219852",
"6216cbdf2da3565a",
"8faaf2e38182fb47",
"15905cf37a1e0c89",
"d179a286befbcd9f",
"224d4dd1adddc636",
"b290f3aa454e0b43",
"66dcd9d067ca37ab",
"afc4a8483085dfe1"
],
"x": 274,
"y": 299,
"w": 1072,
"h": 582
},
{
"id": "28a1b0ed1013a7c7",
"type": "play audio",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"voice": "0",
"x": 1190,
"y": 460,
"wires": []
},
{
"id": "feee90c2fd86775a",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "\"Sensor \" & (msg.payload.addr) & \" 텐타 1호기 열풍모터 우넘버1 온도 오류\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 460,
"wires": [
[
"28a1b0ed1013a7c7"
]
]
},
{
"id": "f63c8cdd374f583a",
"type": "debug",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "debug 141",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 720,
"y": 340,
"wires": []
},
{
"id": "32b7525b89b009da",
"type": "split",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "topic",
"x": 670,
"y": 840,
"wires": [
[
"d57e41cc9271e044"
]
]
},
{
"id": "d57e41cc9271e044",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "temperature",
"vt": "str"
},
{
"t": "eq",
"v": "x_rms_ACC_G",
"vt": "str"
},
{
"t": "eq",
"v": "x_velocity_mm_sec",
"vt": "str"
},
{
"t": "eq",
"v": "y_rms_ACC_G",
"vt": "str"
},
{
"t": "eq",
"v": "y_velocity_mm_sec",
"vt": "str"
},
{
"t": "eq",
"v": "z_rms_ACC_G",
"vt": "str"
},
{
"t": "eq",
"v": "z_velocity_mm_sec",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 7,
"x": 930,
"y": 800,
"wires": [
[
"e049cc591e54b32c"
],
[
"06ce1f0bdd299082"
],
[],
[
"06ce1f0bdd299082"
],
[],
[
"06ce1f0bdd299082"
],
[]
]
},
{
"id": "e049cc591e54b32c",
"type": "ui_chart",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"group": "e7c58517fc955493",
"order": 1,
"width": 9,
"height": 6,
"label": "Temp",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "40",
"removeOlder": "1",
"removeOlderPoints": "1000",
"removeOlderUnit": "604800",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"x": 1170,
"y": 760,
"wires": [
[]
]
},
{
"id": "06ce1f0bdd299082",
"type": "ui_chart",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"group": "e7c58517fc955493",
"order": 2,
"width": 9,
"height": 6,
"label": "Rms_ACC_mg",
"chartType": "line",
"legend": "true",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": true,
"ymin": "-2",
"ymax": "10",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "604800",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#a1bbdd",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"x": 1200,
"y": 840,
"wires": [
[]
]
},
{
"id": "5ea39b32df41862b",
"type": "ui_gauge",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"group": "e7c58517fc955493",
"order": 3,
"width": 9,
"height": 8,
"gtype": "gage",
"title": "Battery",
"label": "V",
"format": "{{value | number:2}}",
"min": 0,
"max": "3.3",
"colors": [
"#ff0011",
"#e6e600",
"#09ca00"
],
"seg1": "",
"seg2": "",
"x": 940,
"y": 720,
"wires": []
},
{
"id": "14458a4b703c0f6e",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "data.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 700,
"y": 780,
"wires": [
[
"5ea39b32df41862b"
]
]
},
{
"id": "ee1f5adc2a6ae7ee",
"type": "range",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"minin": "0",
"maxin": "1023",
"minout": "0",
"maxout": "3.3",
"action": "clamp",
"round": false,
"property": "payload",
"name": "",
"x": 670,
"y": 720,
"wires": [
[
"5ea39b32df41862b"
]
]
},
{
"id": "81dee7335d1f8620",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "\"Sensor \" & (msg.payload.addr) & \" 텐타 1호기 열풍모터 우넘버1 battery 오류 \"\t",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 660,
"wires": [
[
"fac60d0bfab12664"
]
]
},
{
"id": "fac60d0bfab12664",
"type": "play audio",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"voice": "0",
"x": 1190,
"y": 660,
"wires": []
},
{
"id": "1e7d1ecfada49883",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "data.battery",
"property": "data.battery",
"propertyType": "msg",
"rules": [
{
"t": "lt",
"v": "1.5",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 690,
"y": 660,
"wires": [
[
"81dee7335d1f8620"
]
]
},
{
"id": "61375eef5be2bacf",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "\"Sensor \" & (msg.payload.addr) & \" 텐타 1호기 열풍모터 우넘버1 진동 오류\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 620,
"wires": [
[
"1fd93f5e0ee0d02e"
]
]
},
{
"id": "1fd93f5e0ee0d02e",
"type": "play audio",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"voice": "0",
"x": 1190,
"y": 620,
"wires": []
},
{
"id": "a4cf717d039d6122",
"type": "comment",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "Tenta Unit 1 Hot air motor 5.5Kw (M-4)",
"info": "",
"x": 450,
"y": 340,
"wires": []
},
{
"id": "57efb1527c93fcc9",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "red",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 340,
"wires": [
[
"9009c9d5dd981aa0"
]
]
},
{
"id": "0f09d3f3065d9b71",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "green",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 380,
"wires": [
[
"9009c9d5dd981aa0"
]
]
},
{
"id": "55a45dc0a51160b3",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "red",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 500,
"wires": [
[
"6216cbdf2da3565a"
]
]
},
{
"id": "ced39c5519c7c9a1",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "green",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 540,
"wires": [
[
"6216cbdf2da3565a"
]
]
},
{
"id": "9009c9d5dd981aa0",
"type": "ui_template",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"name": "Temp 5.5Kw",
"order": 12,
"width": 3,
"height": 1,
"format": "<style>\n .led {\n position: absolute;\n width: 130px;\n height: 30px;\n margin: 0px;\n border-radius: 1%;\n \n }\n</style>\n<div>\n <span class=\"led\" style=\"background-color: {{msg.payload}};\"></span>\n</div>",
"storeOutMessages": true,
"fwdInMessages": true,
"resendOnRefresh": true,
"templateScope": "local",
"x": 1190,
"y": 340,
"wires": [
[]
]
},
{
"id": "4474bfef90c4cf49",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 16,
"width": 3,
"height": 1,
"name": "",
"label": "Temp 5.5Kw",
"format": "{{msg.payload.temperature}}",
"layout": "row-center",
"x": 690,
"y": 500,
"wires": []
},
{
"id": "849488f8e9219852",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 24,
"width": 3,
"height": 1,
"name": "",
"label": "Rms_ACC_mg 5.5Kw",
"format": "{{msg.payload.x_rms_ACC_G}}",
"layout": "row-center",
"x": 720,
"y": 540,
"wires": []
},
{
"id": "6216cbdf2da3565a",
"type": "ui_template",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"name": "Rms_ACC_mg 5.5Kw",
"order": 20,
"width": 3,
"height": 1,
"format": "<style>\n .led {\n position: absolute;\n width: 130px;\n height: 30px;\n margin: 0px;\n border-radius: 1%;\n \n }\n</style>\n<div>\n <span class=\"led\" style=\"background-color: {{msg.payload}};\"></span>\n</div>",
"storeOutMessages": true,
"fwdInMessages": true,
"resendOnRefresh": true,
"templateScope": "local",
"x": 1220,
"y": 500,
"wires": [
[]
]
},
{
"id": "8faaf2e38182fb47",
"type": "ncd-wireless-node",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"connection": "f4bdf3f4b5cd3511",
"config_comm": "f4bdf3f4b5cd3511",
"addr": "00:13:a2:00:42:25:f2:40",
"sensor_type": "80",
"auto_config": true,
"on_the_fly_enable": false,
"node_id_delay_active": "",
"node_id": 0,
"delay": 300,
"form_network": false,
"destination_active": "",
"destination": "0000FFFF",
"power_active": "",
"power": 4,
"retries_active": "",
"retries": 10,
"pan_id_active": "",
"pan_id": "7FFF",
"change_enabled": "",
"change_pr": "0",
"change_interval": "0",
"cm_calibration": "60.6",
"bp_altitude": "0",
"bp_pressure": "0",
"bp_temp_prec": "0",
"bp_press_prec": "0",
"amgt_accel": "0",
"amgt_mag": "0",
"amgt_gyro": "0",
"impact_accel": "0",
"impact_data_rate": "4",
"impact_threshold": 25,
"impact_duration": 1,
"activ_interr_x": 1,
"activ_interr_y": 2,
"activ_interr_z": 4,
"activ_interr_op": 8,
"force_calibration_co2_auto_config": "",
"force_calibration_co2": 400,
"filtering": 0,
"data_rate": 5,
"time_series": 0,
"reading_type": 1,
"mode_80_active": "",
"mode_80": 0,
"measurement_mode_80_active": "",
"measurement_mode_80": 0,
"on_request_timeout_80_active": "",
"on_request_timeout_80": 1,
"sensor_boot_time_420ma_active": "",
"sensor_boot_time_420ma": 0,
"deadband_80_active": "",
"deadband_80": 0,
"filter_80_active": "",
"filter_80": 0,
"output_data_rate_p1_81_active": "",
"output_data_rate_p1_81": 0,
"output_data_rate_p2_81_active": "",
"output_data_rate_p2_81": 0,
"sampling_duration_p1_81_active": "",
"sampling_duration_p1_81": 0,
"sampling_duration_p2_81_active": "",
"sampling_duration_p2_81": 0,
"led_alert_mode_84_active": "",
"led_alert_mode_84": 0,
"led_accelerometer_threshold_84_active": "",
"led_accelerometer_threshold_84": "",
"led_velocity_threshold_84_active": "",
"led_velocity_threshold_84": "",
"acceleration_interrupt_threshold_84_active": "",
"acceleration_interrupt_threshold_84": "",
"set_rtc_101": 0,
"current_calibration_82": "",
"current_calibration_82_active": false,
"current_calibration_c1_80": 178,
"current_calibration_c1_80_active": "",
"current_calibration_c2_80": 178,
"current_calibration_c2_80_active": "",
"current_calibration_c3_80": 178,
"current_calibration_c3_80_active": "",
"output_data_rate_101_active": true,
"output_data_rate_101": "9",
"output_data_rate_101_m2_active": "",
"output_data_rate_101_m2": 0,
"sampling_duration_101_active": true,
"sampling_duration_101": "20",
"sampling_interval_101_active": true,
"sampling_interval_101": "0",
"full_scale_range_101_active": "",
"full_scale_range_101": 1,
"full_scale_range_101_m2_active": "",
"full_scale_range_101_m2": 1,
"x_axis_101": "",
"y_axis_101": "",
"z_axis_101": "",
"low_pass_filter_80_active": "",
"low_pass_filter_80": 0,
"high_pass_filter_80_active": "",
"high_pass_filter_80": 0,
"low_pass_filter_81_p2_active": "",
"low_pass_filter_81_p2": 0,
"high_pass_filter_81_p2_active": "",
"high_pass_filter_81_p2": 0,
"roll_angle_threshold_47": 0,
"roll_angle_threshold_47_active": "",
"pitch_angle_threshold_47": 0,
"pitch_angle_threshold_47_active": "",
"counter_threshold_35": 50,
"counter_threshold_35_active": "",
"payload_length_80_active": "",
"payload_length_80": 3,
"motion_threshold_46_active": false,
"motion_threshold_46": "100",
"x": 400,
"y": 620,
"wires": [
[
"f63c8cdd374f583a",
"4474bfef90c4cf49",
"849488f8e9219852",
"1e7d1ecfada49883",
"ee1f5adc2a6ae7ee",
"14458a4b703c0f6e",
"32b7525b89b009da",
"15905cf37a1e0c89",
"b290f3aa454e0b43",
"66dcd9d067ca37ab",
"afc4a8483085dfe1"
]
]
},
{
"id": "15905cf37a1e0c89",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 4,
"width": 3,
"height": 1,
"name": "Tenta Unit 1",
"label": "Tenta Unit 1",
"format": "",
"layout": "row-center",
"x": 690,
"y": 420,
"wires": []
},
{
"id": "d179a286befbcd9f",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.temperature",
"property": "payload.temperature",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "40",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 980,
"y": 420,
"wires": [
[
"feee90c2fd86775a"
]
]
},
{
"id": "224d4dd1adddc636",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.x_rms_ACC_G",
"property": "payload.x_rms_ACC_G",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "10",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 990,
"y": 580,
"wires": [
[
"61375eef5be2bacf"
]
]
},
{
"id": "b290f3aa454e0b43",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.temperature",
"property": "payload.temperature",
"propertyType": "msg",
"rules": [
{
"t": "else"
},
{
"t": "lte",
"v": "40",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 720,
"y": 380,
"wires": [
[
"d179a286befbcd9f",
"57efb1527c93fcc9"
],
[
"0f09d3f3065d9b71"
]
]
},
{
"id": "66dcd9d067ca37ab",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.x_rms_ACC_G",
"property": "payload.x_rms_ACC_G",
"propertyType": "msg",
"rules": [
{
"t": "else"
},
{
"t": "lte",
"v": "10",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 730,
"y": 580,
"wires": [
[
"224d4dd1adddc636",
"55a45dc0a51160b3"
],
[
"ced39c5519c7c9a1"
]
]
},
{
"id": "afc4a8483085dfe1",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 8,
"width": 3,
"height": 1,
"name": "",
"label": "Hot air motor",
"format": "",
"layout": "row-center",
"x": 690,
"y": 460,
"wires": []
},
{
"id": "3c21fd612631f2ac",
"type": "ncd-gateway-node",
"z": "d1ce905ecd7ab3a0",
"name": "",
"connection": "f4bdf3f4b5cd3511",
"unknown_devices": true,
"outputs": 2,
"x": 1510,
"y": 320,
"wires": [
[
"4e5e3b1b3fb6703c",
"707b50bf4cdcfcdf"
],
[]
]
},
{
"id": "707b50bf4cdcfcdf",
"type": "debug",
"z": "d1ce905ecd7ab3a0",
"name": "debug 142",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1830,
"y": 220,
"wires": []
},
{
"id": "4e5e3b1b3fb6703c",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"name": "Limit to Type 80",
"property": "payload.sensor_type",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "80",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1860,
"y": 300,
"wires": [
[]
]
},
{
"id": "d9305b3be18578ef",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{ \"tab\": \"A-1\"}",
"tot": "json"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1800,
"y": 120,
"wires": [
[
"1cb2814b68bb512a"
]
]
},
{
"id": "5d21112476447df8",
"type": "ui_button",
"z": "d1ce905ecd7ab3a0",
"name": "",
"group": "da80b0b8087976f8",
"order": 25,
"width": 12,
"height": 1,
"passthru": false,
"label": "M-1 motor",
"tooltip": "",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 1590,
"y": 120,
"wires": [
[
"d9305b3be18578ef"
]
]
},
{
"id": "1cb2814b68bb512a",
"type": "ui_ui_control",
"z": "d1ce905ecd7ab3a0",
"name": "",
"events": "all",
"x": 2020,
"y": 120,
"wires": [
[]
]
},
{
"id": "e7c58517fc955493",
"type": "ui_group",
"name": "M04",
"tab": "1f029ca2918be483",
"order": 4,
"disp": true,
"width": 9,
"collapse": false
},
{
"id": "da80b0b8087976f8",
"type": "ui_group",
"name": "A-1",
"tab": "c79efd6006b924e4",
"order": 1,
"disp": true,
"width": "12",
"collapse": false
},
{
"id": "f4bdf3f4b5cd3511",
"type": "ncd-gateway-config",
"name": "usb - do",
"comm_type": "serial",
"ip_address": "",
"tcp_port": "2101",
"port": "COM3",
"baudRate": "115200",
"pan_id": "7FFF",
"rssi": false
},
{
"id": "1f029ca2918be483",
"type": "ui_tab",
"name": "A-1",
"icon": "dashboard",
"order": 2,
"disabled": false,
"hidden": false
},
{
"id": "c79efd6006b924e4",
"type": "ui_tab",
"name": "Main",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]
Now can you reduce the flow, so we can see what nodes we should be looking at.
If you hold down Ctrl and click the nodes they will highlight red, then select export and select the selected nodes
, you can reduce to only those required.
Finally also show us the data that enters these nodes by adding debugs to capture the data on entry.
There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path/value to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
Does it fit like this?
[
{
"id": "0b9258851d325b67",
"type": "group",
"z": "d1ce905ecd7ab3a0",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"28a1b0ed1013a7c7",
"feee90c2fd86775a",
"f63c8cdd374f583a",
"32b7525b89b009da",
"d57e41cc9271e044",
"e049cc591e54b32c",
"06ce1f0bdd299082",
"5ea39b32df41862b",
"14458a4b703c0f6e",
"ee1f5adc2a6ae7ee",
"81dee7335d1f8620",
"fac60d0bfab12664",
"1e7d1ecfada49883",
"61375eef5be2bacf",
"1fd93f5e0ee0d02e",
"a4cf717d039d6122",
"57efb1527c93fcc9",
"0f09d3f3065d9b71",
"55a45dc0a51160b3",
"ced39c5519c7c9a1",
"9009c9d5dd981aa0",
"4474bfef90c4cf49",
"849488f8e9219852",
"6216cbdf2da3565a",
"8faaf2e38182fb47",
"15905cf37a1e0c89",
"d179a286befbcd9f",
"224d4dd1adddc636",
"b290f3aa454e0b43",
"66dcd9d067ca37ab",
"afc4a8483085dfe1"
],
"x": 274,
"y": 299,
"w": 1072,
"h": 582
},
{
"id": "28a1b0ed1013a7c7",
"type": "play audio",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"voice": "0",
"x": 1190,
"y": 460,
"wires": []
},
{
"id": "feee90c2fd86775a",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "\"Sensor \" & (msg.payload.addr) & \" 텐타 1호기 열풍모터 우넘버1 온도 오류\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 460,
"wires": [
[
"28a1b0ed1013a7c7"
]
]
},
{
"id": "f63c8cdd374f583a",
"type": "debug",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "debug 141",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 720,
"y": 340,
"wires": []
},
{
"id": "32b7525b89b009da",
"type": "split",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "topic",
"x": 670,
"y": 840,
"wires": [
[
"d57e41cc9271e044"
]
]
},
{
"id": "d57e41cc9271e044",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "temperature",
"vt": "str"
},
{
"t": "eq",
"v": "x_rms_ACC_G",
"vt": "str"
},
{
"t": "eq",
"v": "x_velocity_mm_sec",
"vt": "str"
},
{
"t": "eq",
"v": "y_rms_ACC_G",
"vt": "str"
},
{
"t": "eq",
"v": "y_velocity_mm_sec",
"vt": "str"
},
{
"t": "eq",
"v": "z_rms_ACC_G",
"vt": "str"
},
{
"t": "eq",
"v": "z_velocity_mm_sec",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 7,
"x": 930,
"y": 800,
"wires": [
[
"e049cc591e54b32c"
],
[
"06ce1f0bdd299082"
],
[],
[
"06ce1f0bdd299082"
],
[],
[
"06ce1f0bdd299082"
],
[]
]
},
{
"id": "e049cc591e54b32c",
"type": "ui_chart",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"group": "e7c58517fc955493",
"order": 1,
"width": 9,
"height": 6,
"label": "Temp",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "40",
"removeOlder": "1",
"removeOlderPoints": "1000",
"removeOlderUnit": "604800",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"x": 1170,
"y": 760,
"wires": [
[]
]
},
{
"id": "06ce1f0bdd299082",
"type": "ui_chart",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"group": "e7c58517fc955493",
"order": 2,
"width": 9,
"height": 6,
"label": "Rms_ACC_mg",
"chartType": "line",
"legend": "true",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": true,
"ymin": "-2",
"ymax": "10",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "604800",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#a1bbdd",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"x": 1200,
"y": 840,
"wires": [
[]
]
},
{
"id": "5ea39b32df41862b",
"type": "ui_gauge",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"group": "e7c58517fc955493",
"order": 3,
"width": 9,
"height": 8,
"gtype": "gage",
"title": "Battery",
"label": "V",
"format": "{{value | number:2}}",
"min": 0,
"max": "3.3",
"colors": [
"#ff0011",
"#e6e600",
"#09ca00"
],
"seg1": "",
"seg2": "",
"x": 940,
"y": 720,
"wires": []
},
{
"id": "14458a4b703c0f6e",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "data.battery",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 700,
"y": 780,
"wires": [
[
"5ea39b32df41862b"
]
]
},
{
"id": "ee1f5adc2a6ae7ee",
"type": "range",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"minin": "0",
"maxin": "1023",
"minout": "0",
"maxout": "3.3",
"action": "clamp",
"round": false,
"property": "payload",
"name": "",
"x": 670,
"y": 720,
"wires": [
[
"5ea39b32df41862b"
]
]
},
{
"id": "81dee7335d1f8620",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "\"Sensor \" & (msg.payload.addr) & \" 텐타 1호기 열풍모터 우넘버1 battery 오류 \"\t",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 660,
"wires": [
[
"fac60d0bfab12664"
]
]
},
{
"id": "fac60d0bfab12664",
"type": "play audio",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"voice": "0",
"x": 1190,
"y": 660,
"wires": []
},
{
"id": "1e7d1ecfada49883",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "data.battery",
"property": "data.battery",
"propertyType": "msg",
"rules": [
{
"t": "lt",
"v": "1.5",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 690,
"y": 660,
"wires": [
[
"81dee7335d1f8620"
]
]
},
{
"id": "61375eef5be2bacf",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "\"Sensor \" & (msg.payload.addr) & \" 텐타 1호기 열풍모터 우넘버1 진동 오류\"",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 620,
"wires": [
[
"1fd93f5e0ee0d02e"
]
]
},
{
"id": "1fd93f5e0ee0d02e",
"type": "play audio",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"voice": "0",
"x": 1190,
"y": 620,
"wires": []
},
{
"id": "a4cf717d039d6122",
"type": "comment",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "Tenta Unit 1 Hot air motor 5.5Kw (M-4)",
"info": "",
"x": 450,
"y": 340,
"wires": []
},
{
"id": "57efb1527c93fcc9",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "red",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 340,
"wires": [
[
"9009c9d5dd981aa0"
]
]
},
{
"id": "0f09d3f3065d9b71",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "green",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 380,
"wires": [
[
"9009c9d5dd981aa0"
]
]
},
{
"id": "55a45dc0a51160b3",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "red",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 500,
"wires": [
[
"6216cbdf2da3565a"
]
]
},
{
"id": "ced39c5519c7c9a1",
"type": "change",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "green",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 540,
"wires": [
[
"6216cbdf2da3565a"
]
]
},
{
"id": "9009c9d5dd981aa0",
"type": "ui_template",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"name": "Temp 5.5Kw",
"order": 12,
"width": 3,
"height": 1,
"format": "<style>\n .led {\n position: absolute;\n width: 130px;\n height: 30px;\n margin: 0px;\n border-radius: 1%;\n \n }\n</style>\n<div>\n <span class=\"led\" style=\"background-color: {{msg.payload}};\"></span>\n</div>",
"storeOutMessages": true,
"fwdInMessages": true,
"resendOnRefresh": true,
"templateScope": "local",
"x": 1190,
"y": 340,
"wires": [
[]
]
},
{
"id": "4474bfef90c4cf49",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 16,
"width": 3,
"height": 1,
"name": "",
"label": "Temp 5.5Kw",
"format": "{{msg.payload.temperature}}",
"layout": "row-center",
"x": 690,
"y": 500,
"wires": []
},
{
"id": "849488f8e9219852",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 24,
"width": 3,
"height": 1,
"name": "",
"label": "Rms_ACC_mg 5.5Kw",
"format": "{{msg.payload.x_rms_ACC_G}}",
"layout": "row-center",
"x": 720,
"y": 540,
"wires": []
},
{
"id": "6216cbdf2da3565a",
"type": "ui_template",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"name": "Rms_ACC_mg 5.5Kw",
"order": 20,
"width": 3,
"height": 1,
"format": "<style>\n .led {\n position: absolute;\n width: 130px;\n height: 30px;\n margin: 0px;\n border-radius: 1%;\n \n }\n</style>\n<div>\n <span class=\"led\" style=\"background-color: {{msg.payload}};\"></span>\n</div>",
"storeOutMessages": true,
"fwdInMessages": true,
"resendOnRefresh": true,
"templateScope": "local",
"x": 1220,
"y": 500,
"wires": [
[]
]
},
{
"id": "8faaf2e38182fb47",
"type": "ncd-wireless-node",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "",
"connection": "f4bdf3f4b5cd3511",
"config_comm": "f4bdf3f4b5cd3511",
"addr": "00:13:a2:00:42:25:f2:40",
"sensor_type": "80",
"auto_config": true,
"on_the_fly_enable": false,
"node_id_delay_active": "",
"node_id": 0,
"delay": 300,
"form_network": false,
"destination_active": "",
"destination": "0000FFFF",
"power_active": "",
"power": 4,
"retries_active": "",
"retries": 10,
"pan_id_active": "",
"pan_id": "7FFF",
"change_enabled": "",
"change_pr": "0",
"change_interval": "0",
"cm_calibration": "60.6",
"bp_altitude": "0",
"bp_pressure": "0",
"bp_temp_prec": "0",
"bp_press_prec": "0",
"amgt_accel": "0",
"amgt_mag": "0",
"amgt_gyro": "0",
"impact_accel": "0",
"impact_data_rate": "4",
"impact_threshold": 25,
"impact_duration": 1,
"activ_interr_x": 1,
"activ_interr_y": 2,
"activ_interr_z": 4,
"activ_interr_op": 8,
"force_calibration_co2_auto_config": "",
"force_calibration_co2": 400,
"filtering": 0,
"data_rate": 5,
"time_series": 0,
"reading_type": 1,
"mode_80_active": "",
"mode_80": 0,
"measurement_mode_80_active": "",
"measurement_mode_80": 0,
"on_request_timeout_80_active": "",
"on_request_timeout_80": 1,
"sensor_boot_time_420ma_active": "",
"sensor_boot_time_420ma": 0,
"deadband_80_active": "",
"deadband_80": 0,
"filter_80_active": "",
"filter_80": 0,
"output_data_rate_p1_81_active": "",
"output_data_rate_p1_81": 0,
"output_data_rate_p2_81_active": "",
"output_data_rate_p2_81": 0,
"sampling_duration_p1_81_active": "",
"sampling_duration_p1_81": 0,
"sampling_duration_p2_81_active": "",
"sampling_duration_p2_81": 0,
"led_alert_mode_84_active": "",
"led_alert_mode_84": 0,
"led_accelerometer_threshold_84_active": "",
"led_accelerometer_threshold_84": "",
"led_velocity_threshold_84_active": "",
"led_velocity_threshold_84": "",
"acceleration_interrupt_threshold_84_active": "",
"acceleration_interrupt_threshold_84": "",
"set_rtc_101": 0,
"current_calibration_82": "",
"current_calibration_82_active": false,
"current_calibration_c1_80": 178,
"current_calibration_c1_80_active": "",
"current_calibration_c2_80": 178,
"current_calibration_c2_80_active": "",
"current_calibration_c3_80": 178,
"current_calibration_c3_80_active": "",
"output_data_rate_101_active": true,
"output_data_rate_101": "9",
"output_data_rate_101_m2_active": "",
"output_data_rate_101_m2": 0,
"sampling_duration_101_active": true,
"sampling_duration_101": "20",
"sampling_interval_101_active": true,
"sampling_interval_101": "0",
"full_scale_range_101_active": "",
"full_scale_range_101": 1,
"full_scale_range_101_m2_active": "",
"full_scale_range_101_m2": 1,
"x_axis_101": "",
"y_axis_101": "",
"z_axis_101": "",
"low_pass_filter_80_active": "",
"low_pass_filter_80": 0,
"high_pass_filter_80_active": "",
"high_pass_filter_80": 0,
"low_pass_filter_81_p2_active": "",
"low_pass_filter_81_p2": 0,
"high_pass_filter_81_p2_active": "",
"high_pass_filter_81_p2": 0,
"roll_angle_threshold_47": 0,
"roll_angle_threshold_47_active": "",
"pitch_angle_threshold_47": 0,
"pitch_angle_threshold_47_active": "",
"counter_threshold_35": 50,
"counter_threshold_35_active": "",
"payload_length_80_active": "",
"payload_length_80": 3,
"motion_threshold_46_active": false,
"motion_threshold_46": "100",
"x": 400,
"y": 620,
"wires": [
[
"f63c8cdd374f583a",
"4474bfef90c4cf49",
"849488f8e9219852",
"1e7d1ecfada49883",
"ee1f5adc2a6ae7ee",
"14458a4b703c0f6e",
"32b7525b89b009da",
"15905cf37a1e0c89",
"b290f3aa454e0b43",
"66dcd9d067ca37ab",
"afc4a8483085dfe1"
]
]
},
{
"id": "15905cf37a1e0c89",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 4,
"width": 3,
"height": 1,
"name": "Tenta Unit 1",
"label": "Tenta Unit 1",
"format": "",
"layout": "row-center",
"x": 690,
"y": 420,
"wires": []
},
{
"id": "d179a286befbcd9f",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.temperature",
"property": "payload.temperature",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "40",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 980,
"y": 420,
"wires": [
[
"feee90c2fd86775a"
]
]
},
{
"id": "224d4dd1adddc636",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.x_rms_ACC_G",
"property": "payload.x_rms_ACC_G",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "10",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 990,
"y": 580,
"wires": [
[
"61375eef5be2bacf"
]
]
},
{
"id": "b290f3aa454e0b43",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.temperature",
"property": "payload.temperature",
"propertyType": "msg",
"rules": [
{
"t": "else"
},
{
"t": "lte",
"v": "40",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 720,
"y": 380,
"wires": [
[
"d179a286befbcd9f",
"57efb1527c93fcc9"
],
[
"0f09d3f3065d9b71"
]
]
},
{
"id": "66dcd9d067ca37ab",
"type": "switch",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"name": "payload.x_rms_ACC_G",
"property": "payload.x_rms_ACC_G",
"propertyType": "msg",
"rules": [
{
"t": "else"
},
{
"t": "lte",
"v": "10",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 730,
"y": 580,
"wires": [
[
"224d4dd1adddc636",
"55a45dc0a51160b3"
],
[
"ced39c5519c7c9a1"
]
]
},
{
"id": "afc4a8483085dfe1",
"type": "ui_text",
"z": "d1ce905ecd7ab3a0",
"g": "0b9258851d325b67",
"group": "da80b0b8087976f8",
"order": 8,
"width": 3,
"height": 1,
"name": "",
"label": "Hot air motor",
"format": "",
"layout": "row-center",
"x": 690,
"y": 460,
"wires": []
},
{
"id": "e7c58517fc955493",
"type": "ui_group",
"name": "M04",
"tab": "1f029ca2918be483",
"order": 4,
"disp": true,
"width": 9,
"collapse": false
},
{
"id": "da80b0b8087976f8",
"type": "ui_group",
"name": "A-1",
"tab": "c79efd6006b924e4",
"order": 1,
"disp": true,
"width": "12",
"collapse": false
},
{
"id": "f4bdf3f4b5cd3511",
"type": "ncd-gateway-config",
"name": "usb - do",
"comm_type": "serial",
"ip_address": "",
"tcp_port": "2101",
"port": "COM3",
"baudRate": "115200",
"pan_id": "7FFF",
"rssi": false
},
{
"id": "1f029ca2918be483",
"type": "ui_tab",
"name": "A-1",
"icon": "dashboard",
"order": 2,
"disabled": false,
"hidden": false
},
{
"id": "c79efd6006b924e4",
"type": "ui_tab",
"name": "Main",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]
I'm still not sure where to look at.
I'm even unable to spot - in the flow you posted - the node that should display "NO1".
Or can you touch the alarm screen and make it enter the alarm window when the alarm goes off?
[When the alarm goes off, I want to write NO1 error in big letters]
You have multiple dashboard elements in the flow but the photo of your screen only shows
NO1
So...
You need a ui-template node using a large font size to display the message NO 1 Error.
The template node should be on a seperate dashboard tab "ErrorTab".
Use a ui-control node to switch to the ErrorTab
When there is no error condition, replace "No1 Error" with blanks and use ui-control to switch back to the other dashboard tab.
Thank you.
Is there a way to enter the alarm window when the alarm rings by touching the alarm screen?
Use a button.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.