-
Notifications
You must be signed in to change notification settings - Fork 0
/
node-red-shutdown.json
95 lines (95 loc) · 2.08 KB
/
node-red-shutdown.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[
{
"id": "a748adf88a2d868b",
"type": "tab",
"label": "Node-RED Shutdown",
"disabled": false,
"info": "",
"env": []
},
{
"id": "37869aae5fa64e5e",
"type": "ui_button",
"z": "a748adf88a2d868b",
"name": "Shutdown",
"group": "186a7bdd86239e8a",
"order": 1,
"width": 1,
"height": 1,
"passthru": false,
"label": "",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "power_settings_new",
"payload": "shutdown",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 200,
"y": 120,
"wires": [
[
"b1069c2351c7fc33"
]
]
},
{
"id": "b1069c2351c7fc33",
"type": "exec",
"z": "a748adf88a2d868b",
"command": "taskkill /IM node.exe /F",
"addpay": "",
"append": "",
"useSpawn": "false",
"timer": "",
"winHide": false,
"oldrc": false,
"name": "",
"x": 420,
"y": 120,
"wires": [
[],
[],
[]
]
},
{
"id": "b65cb81b1ea54e0a",
"type": "ui_text",
"z": "a748adf88a2d868b",
"group": "186a7bdd86239e8a",
"order": 2,
"width": 1,
"height": 5,
"name": "spacer",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"x": 190,
"y": 220,
"wires": []
},
{
"id": "186a7bdd86239e8a",
"type": "ui_group",
"name": "Power Group",
"tab": "7cfa0acacdc9425e",
"order": 6,
"disp": false,
"width": "1",
"collapse": false,
"className": ""
},
{
"id": "7cfa0acacdc9425e",
"type": "ui_tab",
"name": "STATION CONTROLLER MAIN",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]