-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
98 lines (98 loc) · 2.57 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
{
"author": "Michael Kohler",
"description": "Creates a virtual device with configurable actions/events connected to a MQTT broker.",
"gateway_specific_settings": {
"webthings": {
"exec": "{nodeLoader} {path}",
"primary_type": "adapter",
"strict_max_version": "*",
"strict_min_version": "0.10.0"
}
},
"homepage_url": "https://github.com/MichaelKohler/simple-mqtt-adapter",
"id": "simple-mqtt-adapter",
"license": "MPL-2.0",
"manifest_version": 1,
"name": "Simple MQTT",
"short_name": "MQTT",
"version": "1.0.7",
"options": {
"schema": {
"type": "object",
"required": [],
"properties": {
"mqttHost": {
"type": "string",
"title": "MQTT URL (example: mqtts://my.mqtt.com:1883)"
},
"mqttUsername": {
"type": "string",
"title": "MQTT Username"
},
"mqttPassword": {
"type": "string",
"title": "MQTT Password"
},
"actions": {
"type": "array",
"title": "A list of Actions",
"items": {
"type": "object",
"title": "Action",
"required": [
"name",
"title",
"topic",
"payload"
],
"properties": {
"name": {
"type": "string",
"title": "Name of the action to create"
},
"title": {
"type": "string",
"title": "Title of the action to create"
},
"topic": {
"type": "string",
"title": "MQTT Topic to publish to"
},
"payload": {
"type": "string",
"title": "Payload to attach to message"
}
}
}
},
"events": {
"type": "array",
"title": "A list of Events",
"items": {
"type": "object",
"title": "Event",
"required": [
"name",
"title",
"topic"
],
"properties": {
"name": {
"type": "string",
"title": "Name of the event to create"
},
"title": {
"type": "string",
"title": "Title of the event to create"
},
"topic": {
"type": "string",
"title": "MQTT Topic to subscribe to"
}
}
}
}
}
}
}
}