diff --git a/backend/app/services/zigbee_service.py b/backend/app/services/zigbee_service.py index a5fbd12..4b6222a 100644 --- a/backend/app/services/zigbee_service.py +++ b/backend/app/services/zigbee_service.py @@ -18,7 +18,7 @@ except ImportError: # pragma: no cover _NETWORKMAP_REQUEST_TOPIC = "{base_topic}/bridge/request/networkmap" _NETWORKMAP_RESPONSE_TOPIC = "{base_topic}/bridge/response/networkmap" _CONNECTION_TIMEOUT = 5.0 # seconds to verify broker reachability -_NETWORKMAP_TIMEOUT = 180.0 # seconds to wait for the networkmap response (large meshes can be slow) +_NETWORKMAP_TIMEOUT = 300.0 # seconds to wait for the networkmap response (large meshes can be slow) def _sanitize_mqtt_error(exc: BaseException) -> str: diff --git a/frontend/src/components/zigbee/ZigbeeImportModal.tsx b/frontend/src/components/zigbee/ZigbeeImportModal.tsx index fbc002a..865207a 100644 --- a/frontend/src/components/zigbee/ZigbeeImportModal.tsx +++ b/frontend/src/components/zigbee/ZigbeeImportModal.tsx @@ -309,6 +309,9 @@ export function ZigbeeImportModal({ open, onClose, onAddToCanvas }: ZigbeeImport Fetch Devices +
+ Fetching the network map can take several minutes on large meshes. +
{/* Device List */}