-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
manifest.json
89 lines (89 loc) · 2.25 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
{
"author": "Philippe Coval",
"description": "Generic I2C Sensors for WebThings Gateway",
"gateway_specific_settings": {
"webthings": {
"exec": "{nodeLoader} {path}",
"primary_type": "adapter",
"strict_max_version": "*",
"strict_min_version": "0.10.0"
}
},
"homepage_url": "https://github.com/rzr/generic-sensors-webthings",
"id": "generic-sensors-adapter",
"license": "MPL-2.0",
"manifest_version": 1,
"name": "Generic Sensors",
"options": {
"default": {
"generic-sensors": [
{
"name": "Ambient Light Sensor",
"sensorController": "bh1750",
"sensorType": "ambientLightSensor",
"type": "multiLevelSensor"
},
{
"name": "Color Sensor",
"sensorController": "tcs34725",
"sensorType": "colorSensor",
"type": "customSensor"
},
{
"name": "Humidity Sensor",
"sensorController": "htu21d",
"sensorType": "humiditySensor",
"type": "multiLevelSensor"
},
{
"name": "Temperature Sensor",
"sensorController": "bmp085",
"sensorType": "temperatureSensor",
"type": "multiLevelSensor"
}
]
},
"schema": {
"properties": {
"generic-sensors": {
"items": {
"properties": {
"name": {
"type": "string"
},
"sensorController": {
"type": "string"
},
"sensorType": {
"enum": [
"ambientLightSensor",
"colorSensor",
"humiditySensor",
"temperatureSensor"
],
"type": "string"
},
"type": {
"enum": [
"multiLevelSensor",
"customSensor"
],
"type": "string"
}
},
"required": [
"type",
"sensorType",
"name"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"short_name": "Gen Sensors",
"version": "0.0.17"
}