From 62747cd622392aa5e7967db781d49fc7a3488845 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 25 Aug 2025 13:44:00 +0200 Subject: [PATCH] bluetooth: Increase TemporaryTimeout to 195 seconds (#4249) Increase the BlueZ temporary device timeout from the default 30s to 195s. This prevents devices from being removed from D-Bus during connection retries, especially when multiple connection attempts are queued. The 195s timeout aligns with Home Assistant's Bluetooth stack behavior for ESPHome proxies and prevents the 'device removal spiral' that occurs when devices timeout during sequential connection attempts. --- buildroot-external/rootfs-overlay/etc/bluetooth/main.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildroot-external/rootfs-overlay/etc/bluetooth/main.conf b/buildroot-external/rootfs-overlay/etc/bluetooth/main.conf index c1ed627f0..afc88b41a 100644 --- a/buildroot-external/rootfs-overlay/etc/bluetooth/main.conf +++ b/buildroot-external/rootfs-overlay/etc/bluetooth/main.conf @@ -1,5 +1,9 @@ [General] Experimental=true +# Increase temporary device timeout from 30s to 195s to prevent device +# removal during connection retries and to align with Home Assistant's +# Bluetooth stack expectations +TemporaryTimeout=195 [Policy] AutoEnable=true