-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathconfig.json
executable file
·96 lines (92 loc) · 2.24 KB
/
config.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
{
"name": "Xiaomi Mi Scale",
"version": "0.3.6",
"slug": "xiaomi_mi_scale",
"description": "Read weight measurements from a Xiaomi bathroom scale via Bluetooth (BLE)",
"url": "https://github.com/lolouk44/xiaomi_mi_scale_ha_add_on",
"image": "lolouk44/xiaomi-mi-scale-ha-add-on",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "application",
"boot": "auto",
"host_dbus": true,
"panel_admin": false,
"host_network": true,
"apparmor": true,
"privileged": ["NET_ADMIN", "SYS_ADMIN"],
"options": {
"HCI_DEV": "hci0",
"BLUEPY_PASSIVE_SCAN": false,
"MISCALE_MAC": "00:00:00:00:00:00",
"MQTT_PREFIX": "miscale",
"MQTT_HOST": "127.0.0.1",
"MQTT_USERNAME": "user",
"MQTT_PASSWORD": "passwd",
"MQTT_PORT": 1883,
"MQTT_RETAIN": true,
"MQTT_DISCOVERY": true,
"MQTT_DISCOVERY_PREFIX": "homeassistant",
"MQTT_TLS_CACERTS": "Path to CA Cert File",
"MQTT_TLS_INSECURE": false,
"DEBUG_LEVEL": "error",
"USERS": [
{
"NAME": "Bob",
"SEX": "male",
"GT": 60,
"LT": 80,
"HEIGHT": 180,
"DOB": "1980-01-01"
},
{
"NAME": "Mary",
"SEX": "female",
"GT": 40,
"LT": 60,
"HEIGHT": 160,
"DOB": "1990-01-01"
},
{
"NAME": "Timmy",
"SEX": "male",
"GT": 20,
"LT": 40,
"HEIGHT": 120,
"DOB": "2010-01-01"
},
{
"NAME": "Baby Sally",
"SEX": "female",
"GT": 1,
"LT": 20,
"HEIGHT": 50,
"DOB": "2020-01-01"
}
]
},
"schema": {
"HCI_DEV": "str?",
"BLUEPY_PASSIVE_SCAN": "bool?",
"MISCALE_MAC": "str",
"MQTT_PREFIX": "str?",
"MQTT_HOST": "str",
"MQTT_USERNAME": "str?",
"MQTT_PASSWORD": "str?",
"MQTT_PORT": "int?",
"MQTT_RETAIN": "bool?",
"MQTT_DISCOVERY": "bool?",
"MQTT_DISCOVERY_PREFIX": "str?",
"MQTT_TLS_CACERTS": "str?",
"MQTT_TLS_INSECURE": "bool?",
"DEBUG_LEVEL": "str?",
"USERS": [
{
"NAME": "str",
"SEX": "str",
"GT": "int",
"LT": "int",
"HEIGHT": "int",
"DOB": "str"
}
]
}
}