-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.json
57 lines (57 loc) · 1.51 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
{
"name": "SMS UPS BETA",
"version": "0.42",
"slug": "hassio_sms_ups",
"description": "Read data from SMS BRASIL UPS",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"url": "https://github.com/dmslabsbr/smsUps",
"startup": "application",
"boot": "auto",
"ports": {
"5001/tcp": 5001
},
"ports_description": {
"5001/tcp": "Simple Web Interface - Not working yet!"
},
"hassio_api": true,
"homeassistant_api": true,
"hassio_role": "manager",
"devicetree": false,
"devices": ["/dev/ttyUSB0", "/dev/ttyAMA0"],
"webui": "[PROTO:use_ssl]://[HOST]:[PORT:5001]/",
"services": [
"mqtt:need"
],
"ingress": true,
"ingress_port": 5001,
"host_network": true,
"panel_icon": "mdi:cloud",
"panel_title": "SMS BRASIL UPS",
"panel_admin": false,
"options": {
"UPS_NAME": "SMS",
"UPS_ID": "01",
"SMSUPS_SERVER": true,
"SMSUPS_CLIENTE": true,
"SMSUPS_FULL_POWER": 1400,
"PORTA": "/dev/ttyUSB0",
"allow_shutdown": true,
"SHUTDOWN_CMD": "sudo shutdown -h now, sudo shutdown now, systemctl poweroff, sudo poweroff",
"USE_SECRETS": false,
"Long_lived_access_token":"",
"DEVELOPERS_MODE": false
},
"schema": {
"UPS_NAME": "str",
"UPS_ID": "str",
"SMSUPS_SERVER": "bool",
"SMSUPS_CLIENTE": "bool",
"SMSUPS_FULL_POWER": "int(100,10000)",
"PORTA": "device(subsystem=tty)",
"allow_shutdown": "bool",
"SHUTDOWN_CMD": "str",
"USE_SECRETS": "bool",
"Long_lived_access_token": "str?",
"DEVELOPERS_MODE": "bool"
}
}