See https://github.com/awilliams/wifi-presence for details. Signed-off-by: Adam Williams <pwnfactory@gmail.com>
46 lines
1.5 KiB
Text
46 lines
1.5 KiB
Text
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'
|