pylabrobot.io.sila.discovery.discover#

async pylabrobot.io.sila.discovery.discover(timeout: float = 5.0, interface: str | None = None) list[SiLADevice]#

Discover SiLA devices on the local network.

Runs SiLA 1 (NetBIOS + GetDeviceIdentification) and SiLA 2 (mDNS) probes in parallel.

For SiLA 1, the interface parameter specifies which local IP to send NetBIOS broadcasts from. If not provided, all link-local (169.254.x.x) interfaces are scanned automatically.

Parameters:
  • timeout (float) – How long to listen for responses, in seconds.

  • interface (str | None) – Local IP address of the interface to use for SiLA 1 discovery. If None, auto-detects all link-local interfaces.

Returns:

List of discovered devices.

Return type:

list[SiLADevice]