• DepthAI
  • No device found using getFirstAvailableDevice() OAK-D POE

Hi, erik

I have gone through the troubleshoot pages a few times and have not flashed an ip to the camera.
I can find it with the specify ip option in the disc manager and i can ping to it.
Also when i use the depthai.DeviceInfo("169.254.1.222") i can get it running.
The problem is when i want to flash pipelines to use in standalone mode.
Is there a way to get the same info getfirstAvailableDevice()returns with just the ip address?

Thank you

  • erik replied to this.

    Hi Jonas_declercq ,
    Are you perhaps connected via multiple interfaces (eg wifi and ethernet)? Could you share the full log of ipconfig/ifconfig?
    Thanks, Erik

      7 days later

      I got a bit same kind of trouble with OAK-d lite:

      RuntimeError Traceback (most recent call last)
      Cell In [5], line 105
      102 spatialDetectionNetwork.outNetwork.link(nnNetworkOut.input)
      104 # Connect to device and start pipeline
      --> 105 with dai.Device(pipeline) as device:
      106
      107 # Output queues will be used to get the rgb frames and nn data from the outputs defined above
      108 previewQueue = device.getOutputQueue(name="rgb", maxSize=4, blocking=False)
      109 detectionNNQueue = device.getOutputQueue(name="detections", maxSize=4, blocking=False)

      RuntimeError: No available devices

      Demo works but i cant reach it with sample code.

      • erik replied to this.

        Hi akirs3 ,what version of depthai are you using? Are you running multiple depthai scripts that connect to the device? Can you try finding the device via Device Manager?
        Thanks, Erik

        11 days later

        erik Hi Eric, sorry for my late response.
        I am using the latest version of depthai and ive reïnstalled it a few times to try again.

        • erik replied to this.

          Jonas_declercq sorry, I wanted to tag @akirs3 , as he commented on this thread as well.
          WRT your issue - could you disable other interfaces (eg turn off wifi)? We have noticed this was the culprit of the erorrs many times (docs here).
          Thanks, Erik

            erik I disabled the other interfaces and reconnected the camera but without success. I get the error message "No available depthAI device found"