## Configuration for matterjs-server
## The CLI reads these environment variables directly.
## Uncomment and modify as needed.

## TCP port for the WebSocket server (default: 5580)
#PORT=5580

## Logging level: critical, error, warning, info, debug, verbose (default: info)
#LOG_LEVEL=info

## Log file path (default: none, logs to stdout/journal)
#LOG_FILE=

## Primary network interface for mDNS (default: auto-detect)
#PRIMARY_INTERFACE=

## IP address to bind to (default: all interfaces)
#LISTEN_ADDRESS=

## Enable test-net DCL certificates (default: false)
#ENABLE_TEST_NET_DCL=false

## Disable OTA updates (default: false)
#DISABLE_OTA=false

## Disable the web dashboard (default: false)
#DISABLE_DASHBOARD=false

## Enable automatic time synchronization for nodes with the TimeSynchronization
## cluster. Only enable when the host has a reliable, synced time source (default: false)
#ENABLE_TIME_SYNC=false

## IANA time zone name pushed to nodes when ENABLE_TIME_SYNC is set (default: process/host
## time zone). Only affects how nodes display local time; the UTC time pushed is unaffected
## and the host system clock/time zone are not changed. Useful when the host clock runs in
## UTC but devices should show local time, e.g.:
#TZ=Europe/Berlin

## Disable the Thread Network diagnostics feature (Border Router mDNS discovery,
## REST/CoAP probing and diagnostic queries). Matter-over-Thread commissioning is
## unaffected (default: false)
#DISABLE_THREAD_DIAGNOSTICS=false

## Force dashboard production mode (auto-connect to server). Enabled for system
## service installs; disable if running behind a reverse proxy with custom setup.
PRODUCTION_MODE=true

## Noble BLE backend: dbus (BlueZ D-Bus, works with bluetoothd) or hci (raw HCI socket).
## Requires the matterjs-server-bluetooth package.
NOBLE_BINDINGS=dbus

## Bluetooth adapter HCI ID for BLE commissioning (e.g. 0 for hci0).
## Requires the matterjs-server-bluetooth package.
## Note: mutually exclusive with BLE_PROXY. If both are set, BLE_PROXY wins
## and BLUETOOTH_ADAPTER is ignored.
#BLUETOOTH_ADAPTER=

## Enable BLE proxy mode for remote BLE commissioning via WebSocket (default: false).
## Use this instead of BLUETOOTH_ADAPTER when the BLE adapter is on a remote host
## running a ble-proxy client (e.g. the python_ble_proxy).
## Note: mutually exclusive with BLUETOOTH_ADAPTER. If both are set, BLE_PROXY wins
## and BLUETOOTH_ADAPTER is ignored.
#BLE_PROXY=false
