-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.87 KB
/
package.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
{
"name": "smartnode-statusdisplay",
"version": "1.0.0",
"description": "Status display plugin for SmartNode",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/juliankern/smartnode-statusdisplay.git"
},
"keywords": [
"nodejs",
"node-home",
"smarthome",
"display",
"status"
],
"author": "Julian Kern <[email protected]> (https://juliankern.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/juliankern/smartnode-statusdisplay/issues"
},
"homepage": "https://github.com/juliankern/smartnode-statusdisplay#readme",
"optionalDependencies": {
"lcd": "^1.1.4",
"rpi-gpio": "^0.8.1"
},
"peerDependencies": {
"node-smartnode": "1.x"
},
"displayName": "Statusdisplay",
"configurationFormat": {
"button": {
"type": "number",
"description": "GPIO port number of the button port",
"default": 0,
"required": true
},
"lines": {
"type": "array",
"arrayType": "string",
"length": 2,
"description": "Lines to display - you can work with placeholders in the handlebars format.",
"default": [
"{{room.temperature.current}}{{room.temperature.unit}} > {{room.temperature.target}}{{room.temperature.unit}}",
""
],
"required": true
},
"backlight": {
"type": "number",
"description": "GPIO port number of the backlight port"
},
"timeout": {
"type": "number",
"description": "Seconds, until the display should turn off again, after the button was pressed",
"default": 5
},
"lcd": {
"type": "object",
"description": "Data for the display module",
"properties": {
"rs": {
"description": "RS",
"type": "number",
"default": 12,
"required": true
},
"e": {
"description": "E",
"type": "number",
"default": 21,
"required": true
},
"data": {
"description": "Data-Ports, make sure they're entered in the right order",
"type": "array",
"arrayType": "number",
"length": 4,
"default": [
5,
6,
17,
18
],
"required": true
}
}
}
}
}