-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodule.json
97 lines (96 loc) · 1.89 KB
/
module.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
{
"author": "Z-Wave.Me",
"category": "support_external_dev",
"defaults": {
"title": "__m_title__",
"description": "__m_descr__",
"clientId": "z-way",
"host": "localhost",
"port": "1883",
"user": "none",
"password": "none",
"enabledMQTTDevicesArray": [],
"debug":false
},
"homepage": "z-wave.me",
"icon": "icon.png",
"maturity": "stable",
"moduleName": "WBMQTTImport",
"singleton": true,
"version": "1.0.0",
"repository": {
"source": "https://github.com/Z-Wave-Me/WBMQTTImport",
"type": "git"
},
"schema": {
"type": "object",
"required": false,
"properties": {
"clientId": {
"type": "string",
"required": true
},
"host": {
"type": "string",
"required": true
},
"port": {
"type": "string",
"required": true
},
"user": {
"type": "string",
"required": false
},
"password": {
"type": "string",
"required": false
},
"enabledMQTTDevicesArray" : {
"type": "array",
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:wbmqttimport:deviceId",
"required": false
},
"debug":{
"type": "boolean",
"required": true
}
}
},
"options": {
"fields": {
"clientId": {
"label": "__client_id_label__"
},
"host": {
"label": "__host_label__"
},
"port": {
"label": "__port_label__"
},
"user": {
"label": "__user_label__",
"helper": "__user_helper__"
},
"password": {
"label": "__password_label__",
"helper": "__password_helper__"
},
"enabledMQTTDevicesArray": {
"label": "__mqttDevices_label__",
"helper": "__mqttDevices_helper__",
"type": "checkbox",
"datasource": "namespaces",
"field": "optionLabels",
"optionLabels": "namespaces:wbmqttimport:deviceName"
},
"debug": {
"label": "__debug_label__",
"helper": "__debug_helper__"
}
}
},
"postRender": "loadFunction:postRender.js"
}