-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibrary.json
More file actions
102 lines (102 loc) · 2.42 KB
/
library.json
File metadata and controls
102 lines (102 loc) · 2.42 KB
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
{
"name": "sensor-DFVOC",
"version": "0.5.0",
"description": "DF Robot sensor that combines the ENS160 VOC/eCO2 sensor with the BME temperature and pressure sensor",
"keywords": "Fabrica-IO, sensor, air, VOC, CO2, temperature, humidity, pressure, ENS160, BME280",
"repository":
{
"type": "git",
"url": "https://github.com/FabricaIO/sensor-DFVOC.git"
},
"authors":
[
{
"name": "Sam Groveman",
"email": "SamGroveman@outlook.com",
"url": "https://github.com/FabricaIO"
}
],
"dependencies": {
"DFRobot_ENS160": "https://github.com/DFRobot/DFRobot_ENS160",
"DFRobot_BME280": "https://github.com/DFRobot/DFRobot_BME280"
},
"license": "GPLv3",
"homepage": "https://github.com/FabricaIO",
"frameworks": "arduino",
"platforms": "*",
"fabricaio" : {
"name": "VOC Sensor",
"type": 0,
"category": "Environment Sensor",
"libname": "DFVOC",
"includes": ["DFVOC"],
"description": "Sensor that combines the ENS160 VOC/eCO2 sensor with the BME temperature and pressure sensor",
"constructor":
[
[
{
"name": "I2C_bus",
"type": "TwoWire*",
"description": "The I2C bus the sensor is connected to",
"default": "&Wire"
},
{
"name": "ens160_address",
"type": "uint8_t",
"description": "The I2C address of the ens160 sensor",
"default": "0x53"
},
{
"name": "bme280_address",
"type": "uint8_t",
"description": "The I2C address of the bme280 sensor",
"default": "0x76"
},
{
"name": "ConfigFile",
"type": "String",
"description": "The config file name",
"default": "DFVOC.json"
}
],
[
{
"name": "sda",
"type": "int",
"description": "The SDA pin on the I2C bus",
"default": "21"
},
{
"name": "scl",
"type": "int",
"description": "The SCL pin on the I2C bus",
"default": "22"
},
{
"name": "I2C_bus",
"type": "TwoWire*",
"description": "The I2C bus the sensor is connected to",
"default": "&Wire"
},
{
"name": "ens160_address",
"type": "uint8_t",
"description": "The I2C address of the ens160 sensor",
"default": "0x53"
},
{
"name": "bme280_address",
"type": "uint8_t",
"description": "The I2C address of the bme280 sensor",
"default": "0x76"
},
{
"name": "ConfigFile",
"type": "String",
"description": "The config file name",
"default": "DFVOC.json"
}
]
]
}
}