node-red-smithtek-hysteresis
Version:
Adds hysteresis function to node-red
203 lines • 4.25 kB
JSON
[{
"id": "dbac7d8a.62991",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
}, {
"id": "3f7d9c66.d140b4",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "110",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 190,
"y": 480,
"wires": [
["83822a7e.f5caf8"]
]
}, {
"id": "b0bc8fc7.fd1bb",
"type": "debug",
"z": "dbac7d8a.62991",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"x": 1010,
"y": 300,
"wires": []
}, {
"id": "abb84df4.d935c",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "10",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 450,
"y": 420,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "dea486c5.72b1b8",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "250",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 450,
"y": 300,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "15be99a3.f74d36",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "50",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 450,
"y": 380,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "2ad0e1af.d1e6ae",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "150",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 450,
"y": 340,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "a409c9f3.f108f8",
"type": "smithtek_node_red_hysteresis",
"z": "dbac7d8a.62991",
"name": "",
"ThresholdType": "fixed",
"ThresholdRising": "",
"ThresholdFalling": "",
"TopicThreshold": "",
"TopicCurrent": "",
"ThresholdDeltaRising": "",
"ThresholdDeltaFalling": "",
"InitialMessage": true,
"OutRisingType": "pay",
"OutRisingValue": "",
"OutFallingType": "pay",
"OutFallingValue": "",
"OutTopicType": "top",
"OutTopicValue": "",
"x": 810,
"y": 300,
"wires": [
["b0bc8fc7.fd1bb"]
]
}, {
"id": "83822a7e.f5caf8",
"type": "smithtek_node_red_threshold_formatter",
"z": "dbac7d8a.62991",
"name": "Low Threshold Fomatter",
"ThresholdType": "lower",
"x": 490,
"y": 480,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "3f4a942f.46e19c",
"type": "smithtek_node_red_threshold_formatter",
"z": "dbac7d8a.62991",
"name": "High Threshold Fomatter",
"ThresholdType": "upper",
"x": 470,
"y": 100,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "36b3bf75.50b7e",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "300",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 190,
"y": 100,
"wires": [
["3f4a942f.46e19c"]
]
}, {
"id": "14b1c921.096f97",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "350",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 450,
"y": 240,
"wires": [
["a409c9f3.f108f8"]
]
}, {
"id": "6d8beb9d.fa45a4",
"type": "inject",
"z": "dbac7d8a.62991",
"name": "",
"topic": "",
"payload": "400",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 450,
"y": 180,
"wires": [
["a409c9f3.f108f8"]
]
}]