-
Notifications
You must be signed in to change notification settings - Fork 2
/
manifest.json
130 lines (130 loc) · 3.67 KB
/
manifest.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"manifest_version": 1,
"id": "node-red-extension",
"name": "Node-RED",
"short_name": "Node-RED",
"version": "0.2.4",
"description": "Use your webthings in Node-RED for advanced home automatization",
"homepage_url": "https://github.com/bewee/node-red-extension#readme",
"license": "MPL-2.0",
"author": "bewee",
"content_scripts": [
{
"js": [
"static/extension.js"
],
"css": [
"static/extension.css"
]
}
],
"web_accessible_resources": [
"static/*"
],
"gateway_specific_settings": {
"webthings": {
"exec": "{nodeLoader} {path}",
"strict_min_version": "1.0.0",
"strict_max_version": "*",
"primary_type": "extension"
}
},
"options": {
"default": {
"nodeRed": {
"port": 1880,
"debug": false,
"reconnectInterval": 5,
"shorterLabels": false,
"limitInputLen": 15
},
"gateway": {
"port": 8080,
"https": false,
"skipValidation": false
}
},
"schema": {
"type": "object",
"required": [],
"properties": {
"nodeRed": {
"type": "object",
"title": "Node-RED options",
"required": [],
"properties": {
"host": {
"type": "string",
"title": "Host to include instead of starting a local Node-RED instance",
"description": "leave empty to start a local Node-RED instance"
},
"port": {
"type": "integer",
"title": "Port",
"description": "the default value is \"1880\""
},
"debug": {
"type": "boolean",
"title": "Debug-Mode?"
},
"reconnectInterval": {
"type": "number",
"title": "Reconnect interval",
"description": "Seconds after which to reattempt connecting when the connection was lost"
},
"shorterLabels": {
"type": "boolean",
"title": "Use shorter labels?"
},
"limitInputLen": {
"type": "integer",
"title": "Limit input length",
"description": "Number of characters to limit the length of the input/value in the node name to",
"minimum": 0
},
"settings": {
"type": "string",
"title": "Custom settings for the Node-RED process",
"description": "a JSON string; leave empty for defaults"
}
}
},
"gateway": {
"type": "object",
"title": "WebthingsGateway options",
"required": [],
"properties": {
"accessToken": {
"type": "string",
"title": "Access token",
"description": "required in order to communicate with devices"
},
"host": {
"type": "string",
"title": "Host",
"description": "when empty, the default value \"127.0.0.1\" is used"
},
"port": {
"type": "number",
"title": "Port",
"description": "the default value is \"8080\""
},
"https": {
"type": "boolean",
"title": "Use HTTPS?"
},
"skipValidation": {
"type": "boolean",
"title": "Skip validation?"
},
"name": {
"type": "string",
"title": "Name",
"description": "when empty, the default value \"Local\" is used"
}
}
}
}
}
}
}