-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanifest.json
103 lines (103 loc) · 2.69 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
{
"author": "Alan Thiessen",
"description": "A WebThings Gateway adapter for controlling X10 devices through a CM11A serial interface.",
"gateway_specific_settings": {
"webthings": {
"exec": "{nodeLoader} {path}",
"primary_type": "adapter",
"strict_max_version": "*",
"strict_min_version": "0.10.0"
}
},
"homepage_url": "https://github.com/AlanDThiessen/x10-cm11-adapter",
"id": "x10-cm11-adapter",
"license": "MIT",
"manifest_version": 1,
"name": "X10 (CM11)",
"options": {
"default": {
"device": "/dev/ttyUSB0",
"modules": []
},
"schema": {
"type": "object",
"properties": {
"device": {
"type": "string",
"description": "Path to the serial device to which the CM11A is connected.",
"default": "/dev/ttyUSB0"
},
"modules": {
"type": "array",
"title": "X10 Modules",
"description": "Add X10 Modules",
"items": {
"type": "object",
"properties": {
"houseCode": {
"description": "The house code assigned to the module.",
"type": "string",
"default": "A",
"enum": [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H",
"I",
"J",
"K",
"L",
"M",
"N",
"O",
"P"
]
},
"unitCode": {
"description": "The unit code assigned to the module.",
"type": "string",
"default": "1",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16"
]
},
"moduleType": {
"description": "Type of the module.",
"type": "string",
"enum": [
"Lamp Module",
"Appliance Module",
"On/Off Switch",
"Dimmer Switch",
"On/Off Sensor"
],
"default": "Lamp Module"
}
}
}
}
}
}
},
"short_name": "X10 (CM11)",
"version": "0.5.1"
}