forked from gregod/addon-usbhid-to-mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
42 lines (42 loc) · 1.13 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
{
"name": "USB Hid to Mqtt",
"version": "1.1.0",
"slug": "usbhid-to-mqtt",
"description": "Submits token entered via usb hid to mqtt topic",
"url": "https://github.com/gregod/addon-usbhid-to-mqtt/tree/master/usbhid-to-mqtt",
"startup": "application",
"arch": [
"aarch64",
"amd64",
"armhf",
"armv7",
"i386"
],
"boot": "auto",
"apparmor": false,
"full_access": true,
"hassio_role": "homeassistant",
"privileged": [
"SYS_ADMIN",
"SYS_RAWIO"
],
"schema": {
"device" : "str",
"mqtt_connection_string" : "str",
"mqtt_topic" : "str",
"max_token_length" : "int(1,100)",
"debug" : "bool",
"raw_scancodes" : "bool",
"grab_device" : "bool"
},
"options" : {
"mqtt_connection_string" : "mqtt://homeassistant",
"device" : "/dev/input/event2",
"mqtt_topic" : "usbhid/tokens",
"max_token_length" : 50,
"debug" : false,
"raw_scancodes" : false,
"grab_device" : true
},
"image": "gregod/{arch}-addon-usbhid-to-mqtt"
}