-
Notifications
You must be signed in to change notification settings - Fork 10
/
manifest.json
111 lines (111 loc) · 4.34 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
{
"author": "CandleSmartHome.com",
"description": "Wirelessly connect to Arduino devices",
"gateway_specific_settings": {
"webthings": {
"exec": "python3 {path}/main.py",
"primary_type": "adapter",
"strict_max_version": "*",
"strict_min_version": "0.10.0"
}
},
"homepage_url": "https://github.com/createcandle/Webthings-mysensors-adapter",
"id": "mysensors-adapter",
"license": "MPL-2.0",
"manifest_version": 1,
"name": "MySensors",
"options": {
"default": {
"Gateway": "USB Serial gateway",
"Metric": true,
"Optimize things": false,
"Timeout period": "60",
"USB device name": "",
"USB serial communication speed":"115200",
"IP address": "",
"MQTT password": "",
"MQTT username": "",
"MQTT in prefix": "mygateway1-out",
"MQTT out prefix": "mygateway1-in",
"Debugging": false
},
"schema": {
"properties": {
"Gateway": {
"description": "How are you talking to the MySensors network? Via a USB device is most common.",
"enum": [
"USB Serial gateway",
"Ethernet gateway",
"MQTT gateway"
],
"type": "string"
},
"Metric": {
"description": "Check the box to request metric units from the devices. Uncheck it to request they send data in imperial units instead.",
"type": "boolean"
},
"Do not remember devices": {
"description": "Enabling this will give this addon amnesia; it won't try to remember and recreate previously connected devices. This is usefull in an education setting, for example, where you want to start from scratch after each reboot.",
"type": "boolean"
},
"Optimize things": {
"description": "Advanced. Split up big things into separate smaller things. For example, a device with 4 toggles could become 4 devices with one toggle. It's recommended to use the Highlights addon instead.",
"type": "boolean"
},
"Timeout period": {
"description": "After how many minutes of inactivity should a device be reported as no longer connected? If you set this to 0, devices will always be set to fully available (even if they are not).",
"type": "integer"
},
"USB device name": {
"description": "Advanced. If you leave this empty, the add-on will automatically search for a connected MySensors gateway device. If you want you can manually override this proces by providing a serial port name here. On a Linux device this would be something like '/dev/ttyUSB0'.",
"type": "string"
},
"USB serial communication speed": {
"description": "Advanced. The speed (baud rate) with which to communicate over USB with the receiver. Default for Candle is 115200.",
"enum": [
"9600",
"19200",
"38400",
"57600",
"115200"
],
"type": "string"
},
"IP address": {
"description": "Advanced. If you are using an ethernet gateway or MQTT server, what is its IP address? You can try 127.0.0.1 if it's installed on the same computer as the controller.",
"type": "string"
},
"MQTT password": {
"description": "Advanced. The password for MQTT security.",
"type": "string"
},
"MQTT username": {
"description": "Advanced. The username for MQTT security.",
"type": "string"
},
"MQTT in prefix": {
"description": "Advanced. The topic prefix for incoming messages messages.",
"type": "string"
},
"MQTT out prefix": {
"description": "Advanced. The topic prefix for outgoing messages.",
"type": "string"
},
"Debugging": {
"description": "Advanced. Debugging allows you to diagnose any issues with the add-on. If enabled it will result in a lot more debug data in the internal log (which can be found under settings -> developer -> view internal logs).",
"type": "boolean"
}
},
"required": [
"Gateway",
"Optimize things",
"Metric",
"USB serial communication speed",
"Timeout period"
],
"type": "object"
}
},
"short_name": "MySensors",
"version": "1.4.2"
}