-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.11 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
{
"name": "smartnode-thermostat",
"version": "1.0.0",
"description": "Thermostat plugin for SmartNode",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/juliankern/smartnode-thermostat.git"
},
"keywords": [
"nodejs",
"node-home",
"javascript"
],
"author": "Julian Kern <mail@juliankern.com> (https://juliankern.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/juliankern/smartnode-thermostat/issues"
},
"homepage": "https://github.com/juliankern/smartnode-thermostat#readme",
"dependencies": {
"moment": "^2.18.1"
},
"optionalDependencies": {
"ds1820-temp": "^1.0.0",
"rpi-gpio": "^0.8.1"
},
"peerDependencies": {
"node-smartnode": "1.x"
},
"displayName": "Thermostat",
"configurationFormat": {
"relay": {
"type": "number",
"description": "GPIO port number of the heater relay",
"default": 0,
"required": true
},
"sensor": {
"type": "object",
"description": "Data for the temperature sensor",
"properties": {
"model": {
"type": "select",
"description": "The model name. The \"ds1820\" is the most common one.",
"values": [
"ds1820"
],
"default": "ds1820",
"required": true
},
"address": {
"type": "string",
"description": "The address of your sensor.",
"default": "",
"required": true
},
"interval": {
"type": "number",
"description": "How often should the temperature get checked?",
"default": 30,
"required": true
}
}
}
}
}