## 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=

## Console log format: ansi or plain (default: ansi on a terminal, plain otherwise)
#MATTER_LOG_FORMAT=

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

## IP address(es) to bind to: a comma-separated list of IPs, interface names, or an
## absolute unix socket path (default: all interfaces)
#LISTEN_ADDRESS=

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

## Never contact the DCL; use the bundled DCL data and stored certificates, and skip
## DCL revocation lookups. Revocation sets from REVOCATION_SETS_DIR still apply (default: false)
#DCL_OFFLINE=false

## Directory of device attestation revocation sets, installed at every start; devices
## whose certificates they list are refused (default: none)
#REVOCATION_SETS_DIR=

## Directory of *.paa.der/*.paa.pem PAA certificates imported at start, so devices with
## a vendor's own PAA can be commissioned (default: none)
#CERTIFICATES_DIR=

## 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

## OTBR REST API port probed on discovered Thread Border Routers (default: 8081)
#THREAD_REST_PROBE_PORT=8081

## Polling interval in seconds for custom cluster attributes without subscription
## support (legacy Eve Energy devices). Accepts 60 to 86400 (default: 60)
#CUSTOM_CLUSTER_POLL_INTERVAL=60

## Disable automatic node subscription and background jobs; only for special use
## cases (default: false)
#DISABLE_AUTO_SUBSCRIPTION=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
