aboutsummaryrefslogtreecommitdiff
path: root/net/wifi-presence/files/wifi-presence.conf
blob: f430c5d7c1ea6802d4dce078cbcdc45869c1488d (plain)
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
config wifi-presence main
	## MQTT broker address. Ex: 'tcp://192.168.1.2:1883'
	## Required.
	option mqttAddr ''

	## MQTT client ID.
	## Defaults to 'wifi-presence.<hostname>'
	# option mqttID ''

	## MQTT topic prefix.
	## Defaults to 'wifi-presence'
	# option mqttPrefix 'wifi-presence'

	## MQTT username and password (optional).
	# option mqttUsername ''
	# option mqttPassword ''

	## Verbose logging output if true.
	## Defaults to false.
	# option verbose 1

	## Debounce duration (using Go duration syntax). Ex: '5s', '10m', '1s', '0'
	## Time until a client is considered disconnected and MQTT disconnect message
	## is published.
	## Defaults to 10s.
	# option debounce '10s'

	## Access Point (AP) name. Included in MQTT topic and message payload.
	## Defaults to hostname.
	# option apName 'my-ap-name'

	## hostapd control interface sockets.
	## Separate multiple sockets using ':'. Ex: '/var/run/hostapd/wlan0:/var/run/hostapd/wlan1'.
	## The hostadp configuration file contains the location where these sockets
	## will be created.
	## Defaults to any Unix socket(s) found in /var/run/hostapd, which is
	## the default hostapd directory.
	# option hostapdSocks ''

	## Home Assistant options:
	## Publish MQTT auto discovery messages for each configured device.
	## Default is true.
	# option hassAutodiscovery 1
	## Set the MQTT topic prefix used by Home Assistant.
	## Default is 'homeassistant' (also Home Assistant's default value).
	# option hassPrefix 'homeassistant'

	## Set the user and group that runs the wifi-presence process.
	## This can be useful to change if using seccomp, where the hostapd
	## socket files are owned by the 'network' user and group.
	## Use network / network when seccomp is enabled, otherwise root / root.
	## If unspecified, then the owner of the sockets in the /var/run/hostapd/
	## directory will be used.
	# option runAsUser 'network'
	# option runAsGroup 'network'