-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.67 KB
/
package.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
{
"name": "xiaomi-miflora",
"display_name": "Xiaomi MiFlora",
"version": "0.0.1",
"description": "Support for MiFlora plant health devices by Xiaomi",
"author": "Flatsiedatsie",
"main": "bootstrap.py",
"keywords": [
"mozilla",
"iot",
"adapter",
"xiaomi",
"miflora",
"flower care"
],
"homepage": "https://github.com/flatsiedatsie/xiaomi-miflora",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/flatsiedatsie/xiaomi-miflora.git"
},
"bugs": {
"url": "https://github.com/flatsiedatsie/xiaomi-miflora/issues"
},
"files": [
"LICENSE",
"SHA256SUMS",
"bootstrap.py",
"main.py",
"scan.py",
"pkg/__init__.py",
"pkg/xiaomi_miflora_adapter.py",
"pkg/xiaomi_miflora_device.py",
"pkg/xiaomi_miflora_property.py",
"requirements.txt",
"setup.cfg"
],
"moziot": {
"api": {
"min": 2,
"max": 2
},
"plugin": true,
"exec": "python3 {path}/bootstrap.py",
"config": {
"Polling interval": 24,
"Debugging": false
},
"schema": {
"type": "object",
"required": [
"Polling interval",
"Metric",
"Debugging"
],
"properties": {
"Polling interval": {
"description": "How many hours should there be between polling the MiFlora devices?",
"type": "number"
},
"Debugging": {
"type": "boolean",
"description": "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)."
}
}
}
}
}