node-red-contrib-xkeys_lcd
Version:
Xkeys LCD node for Node-RED using Dynamic Control Data Protocol (DCDP)
215 lines • 4.83 kB
JSON
[
{
"id": "84bbb30ddc73d29f",
"type": "tab",
"label": "xkeys_lcd-test",
"disabled": false,
"info": "",
"env": []
},
{
"id": "ba377e57dbebae16",
"type": "junction",
"z": "84bbb30ddc73d29f",
"x": 680,
"y": 260,
"wires": [
[
"14175d06a1ba4185"
]
]
},
{
"id": "11f6b5f2b90272b6",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "Hello world on line 2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"lcdtext\":\"Hello World!\", \"linenum\":2}",
"payloadType": "json",
"x": 430,
"y": 140,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "41962b58ba24d816",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "Node-RED on line 1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"lcdtext\":\"Node-RED says:\", \"linenum\":\"1\"}",
"payloadType": "json",
"x": 430,
"y": 100,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "b058d2252471367e",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "The End on default",
"props": [
{
"p": "payload.lcdtext",
"v": "This is the end",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 430,
"y": 220,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "e638203d052d9b28",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "Clear default line",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"lcdtext\":\" \"}",
"payloadType": "json",
"x": 440,
"y": 340,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "aee05937a74a4152",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "Clear line 1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"lcdtext\":\" \", \"linenum\":1}",
"payloadType": "json",
"x": 450,
"y": 380,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "040ed95aae95279a",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "Clear line 2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"lcdtext\":\" \", \"linenum\":2}",
"payloadType": "json",
"x": 450,
"y": 420,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "0b5fe78cd2b286a0",
"type": "inject",
"z": "84bbb30ddc73d29f",
"name": "Two lines together",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"lcdtext\":[\"This is a\",\"two line test\"]}",
"payloadType": "json",
"x": 430,
"y": 260,
"wires": [
[
"ba377e57dbebae16"
]
]
},
{
"id": "14175d06a1ba4185",
"type": "xkeys_lcd",
"z": "84bbb30ddc73d29f",
"newname": "Any X-keys LCD 2",
"name": "",
"device": "Any X-keys",
"product_id": "",
"pid_list": "[1316,1317,1318,1319,1320,1321,1322]",
"unit_id": "",
"duplicate_id": "",
"lcdtext": "",
"lcd_backlight": "true",
"linenum": "2",
"x": 830,
"y": 260,
"wires": []
}
]