forked from YIO-Remote/remote-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardware-linux.json
80 lines (80 loc) · 2.32 KB
/
hardware-linux.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
{
"display": {
"control": {
"enabled": false
}
},
"proximity": {
"enabled": false
},
"batteryCharger": {
"enabled": false
},
"batteryFuelGauge": {
"enabled": false
},
"buttonInterruptHandler": {
"enabled": false
},
"wiringPi": {
"enabled": false
},
"hapticMotor": {
"enabled": false
},
"systemservice": {
"enabled": true,
"systemd": {
"sudo" : false,
"timeout" : 30000,
"services": {
"wifi": "[email protected]",
"dns": "systemd-resolved.service",
"webserver": "lighttpd.service",
"ntp": "systemd-timesyncd.service",
"dhcp": "dhcpcd.service",
"shutdown": "shutdown.service",
"yio-update": "update.service",
"zeroconf": "avahi-daemon",
"networking": "systemd-networkd"
}
}
},
"wifi": {
"enabled": true,
"maxScanResults": 20,
"joinRetryCount": 5,
"joinRetryDelay": 3000,
"pollInterval": 20000,
"useShellScript": false,
"interface": {
"wpa_supplicant" : {
"socketPath": "/var/run/wpa_supplicant/wlan0",
"removeNetworksBeforeJoin": false
},
"shellScript": {
"sudo": false,
"timeout": 30000,
"clearNetworks": "",
"connect": "/opt/yio/scripts/wifi_network_create.sh",
"listNetworks": "/opt/yio/scripts/wifi_network_list.sh",
"startAP": "/opt/yio/scripts/reset-wifi.sh",
"getSSID": "/opt/yio/scripts/wifi_ssid.sh",
"getIP": "/opt/yio/scripts/wifi_ip.sh",
"getMAC": "cat /sys/class/net/wlan0/address",
"getRSSI": "/opt/yio/scripts/wifi_rssi.sh"
}
},
"accessPoint": {
"TODO": true
}
},
"webserver" : {
"enabled": true,
"lighttpd" : {
"configFile": "/etc/lighttpd/lighttpd.conf",
"wifiSetupConfig": "/etc/lighttpd/lighttpd-wifisetup.conf",
"webConfiguratorConfig": "/etc/lighttpd/lighttpd-config.conf"
}
}
}