-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.28 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "broadlink-adapter",
"display_name": "BroadLink",
"version": "0.1.4",
"description": "Broadlink adapter plugin for Mozilla IoT Gateway",
"author": "sogaani",
"main": "index.js",
"keywords": [
"mozilla",
"iot",
"adapter",
"broadlink"
],
"homepage": "https://github.com/sogaani/broadlink-adapter",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/sogaani/broadlink-adapter.git"
},
"bugs": {
"url": "https://github.com/sogaani/broadlink-adapter/issues"
},
"files": [
"LICENSE",
"SHA256SUMS",
"asset",
"index.js",
"broadlink-adapter.js",
"constants.js",
"ir-action-learncode.js",
"ir-device.js",
"ir-property.js",
"node_modules"
],
"moziot": {
"api": {
"min": 2,
"max": 2
},
"plugin": true,
"exec": "{nodeLoader} {path}",
"config": {
"broadlinks": [],
"devices": []
},
"schema": {
"definitions": {
"device": {
"type": "object",
"required": [
"mac",
"type",
"id",
"name"
],
"uniqueItems": true,
"properties": {
"mac": {
"type": "string",
"description": "copy from above field \"broadlink mac address\""
},
"type": {
"type": "string",
"enum": [
"thermostat",
"light",
"dimmableLight",
"switch"
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"broadlinks": {
"type": "array",
"title": "broadlink mac address",
"items": {
"type": "string"
}
},
"devices": {
"type": "array",
"title": "ir devices",
"items": {
"$ref": "#/definitions/device"
}
}
}
}
},
"dependencies": {
"broadlinkjs-rm": "github:sogaani/broadlinkjs-rm",
"inquirer": "^5.1.0",
"promise-queue": "^2.2.5"
},
"devDependencies": {
"eslint": "^4.19.1"
}
}