-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.example.json
74 lines (74 loc) · 1.76 KB
/
config.example.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
{
"ha_url": "http://homeassistant.local:8123/",
"ha_token": "mysuperlongtoken",
"device_id": "computername",
"device_name": "whatever you want can be left empty",
"manufacturer": "whatever you want can be left empty",
"model": "Computer",
"computer_ip": "192.168.1.15",
"computer_port": 8400,
"refresh_interval": 15,
"loglevel": "INFO",
"sensors": {
"cpu": {
"enabled": true,
"name": "CPU"
},
"memory": {
"enabled": true,
"name": "Memory Load"
},
"uptime": {
"enabled": true,
"name": "Uptime"
},
"status": {
"enabled": true,
"name": "Status"
},
"battery_level": {
"enabled": true,
"name": "Battery Level"
},
"battery_state": {
"enabled": true,
"name": "Battery State"
},
"camera_state": {
"enabled": true,
"name": "Camera State"
}
},
"services": {
"notifications": {
"enabled": true,
"url_program": "xdg-open",
"commands": {
"command_suspend": {
"name": "Suspend",
"command": ["systemctl", "suspend"]
},
"command_poweroff": {
"name": "Power off",
"command": ["systemctl", "poweroff"]
},
"command_reboot": {
"name": "Reboot",
"command": ["systemctl", "reboot"]
},
"command_hibernate": {
"name": "Hibernate",
"command": ["systemctl", "hibernate"]
},
"command_open_ha": {
"name": "Open Home Assistant",
"command": ["xdg-open", "http://homeassistant.local:8123/"]
},
"command_open_spotify": {
"name": "Open Spotify Flatpak",
"command": ["flatpak", "run", "com.spotify.Client"]
}
}
}
}
}