[ // Optional override for the address DEVICES connect to. Normally left null and // auto-detected from the request host (the LAN IP you open HomeOS at) — see // App\Support\HostAddress. Set MQTT_DEVICE_HOST only to force a specific value. 'device_host' => env('MQTT_DEVICE_HOST'), // The shared device account. Username is fixed (matches the `shelly` ACL block). 'device_username' => 'shelly', 'device_password' => env('MQTT_SHELLY_PASSWORD'), 'port' => (int) env('MQTT_PORT', 1883), // Auto-create a device the first time an unknown prefix publishes a real component. 'auto_onboard' => (bool) env('MQTT_AUTO_ONBOARD', true), // Hard cap on total devices, so a flood of distinct prefixes on the shared account can't // exhaust the DB via auto-onboarding. 0 disables the cap. 'max_devices' => (int) env('MQTT_MAX_DEVICES', 250), ], /* |---------------------------------------------------------------------- | Presence (UniFi) |---------------------------------------------------------------------- */ 'presence' => [ // Minutes a person must be off the WLAN before flipping to "away". A short debounce // rides out brief phone WLAN sleeps without leaving you "home" long after you left. 'away_debounce_minutes' => (int) env('PRESENCE_AWAY_DEBOUNCE', 3), ], 'ring' => [ // Port of the ring-mqtt bridge's own setup/login web UI (where the Ring account login // and 2FA happen). Linked from the Ring add-on setup guide. 'ui_port' => (int) env('RING_UI_PORT', 55123), ], ];