[ // 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), ], ];