Hi Support,I bought two units of the Oak-D-POE.Also bought the Acroid LS6700G-8P 120W POE switch (should be able to deliver up to 30W per output)
I just got them yesterday and connected them to my windows PC, and IT WORK AMAZING! the image looked very good, and I was able to use the depth ai python api and sdk.
I left the switch OFF for the night.This morning, I tried to repeat the things I did yesterday, and the units didn't work. The api can't recognize them, and nothing I did helped:Connect/disconnect both units/ the switch (also from the wall outlet)Replacing cablesTesting for connectivity issues (on windows)
By using IPCONFIG, I find the switch, but nothing else.The units shows constant led light (and once in a while a blink)
I understand that there are other issues like this online, but none of the solutions there solved my issue.
I really need your help solving this problem

Thanks
Dror

  • erik replied to this.

    Hello dror-haor, it might be that something went wrong since you switched off the switch. Could you try so specify static IP of the camera? IP in the code snippet on the link should be correct.
    Thanks, Erik

      Hi erik , I can't even discover the devices.
      When I run depthai.Device.getAllAvailableDevices() I get empty array...
      How can I specify a statis IP in this case?

      • erik replied to this.

        Hello dror-haor, if you can ping the device, you should be able to specify the IP to connect to the device with the code below. I would also suggest restarting the POE switch, as that seems to be the culprit of the problem.

        import cv2
        import depthai as dai
        pipeline = dai.Pipeline()
        camRgb = pipeline.createColorCamera()
        xoutRgb = pipeline.createXLinkOut()
        xoutRgb.setStreamName("rgb")
        camRgb.preview.link(xoutRgb.input)
        
        device_info = dai.DeviceInfo()
        device_info.state = dai.XLinkDeviceState.X_LINK_BOOTLOADER
        device_info.desc.protocol = dai.XLinkProtocol.X_LINK_TCP_IP
        device_info.desc.name = "169.254.1.222"
        
        with dai.Device(pipeline, device_info) as device:
            qRgb = device.getOutputQueue(name="rgb", maxSize=4, blocking=False)
            while True:
                cv2.imshow("rgb", qRgb.get().getCvFrame())
                if cv2.waitKey(1) == ord('q'):
                    break
        22 days later

        Hi erik , after a while that I tried everything I can , i think that something is wrong with the unit. I connected it to the router straight (or through the switch) and none of the devices can "see" the camera. I can't use the script because I can't find the camera and even ping it. From the other hand, I have another oak-d camera that I got in the same shipment, which work perfectly fine.

        What are the options here?

        • erik replied to this.

          Hi erik , I also tried replacing the switch and to add also a router, but didn't work.
          I tried doing the resetting procedure as in the link you added, and still - the device is not found. I got this error message after running the script in your link:

          Traceback (most recent call last):
          with dai.DeviceBootloader(device_info, allowFlashingBootloader=True) as bootloader:
          RuntimeError: Failed to find device (ma2480), error message: X_LINK_DEVICE_NOT_FOUND

          Any other advice here?
          I want to stress that the second camera is preat much a critical part of our system and we can't work without it.
          Dror

          • erik replied to this.

            Hello dror-haor ,
            Did you get the RuntimeError: Failed to find device (ma2480), error message: X_LINK_DEVICE_NOT_FOUND error when trying to connect through the USB connector? If yes (and using a Linux OS), it might be the udev rules, see docs here.
            Thanks, Erik