I cant seem to be able to get my TOF camera to connect to depth AI. i also cant ping the camera at 169.254.1.222.

I'm connecting the camera via a poe hub. Hub lights are on. Camera purple light is on.

This is my first time running the camera.

Config:

PC - windows 10

IP: 169.254.12.10

sub net: 255.255.0.0

Dns: not configured

  • jakaskerl replied to this.
  • That was the hint I needed! Power was to the camera and lights on but not the communication light. Turns out Luxonis shipped me a bad cable. I swapped out to another industrial ethernet cable and it stared working. Luxonis is going to have to put some pressure on the cable supplier to test cables more frequently before ship. It was lucky I have a few M12 - Rj45 cat 6 cables around.

    Until the next support request 🙂

    Thank you

    Thanks!

    That's a link to the documentation that's supplied with the camera. I have already looked through it and I did not find anything helpful. Is the something specific I should be looking for? The POE switch is unmanaged if that helps.
    Other POE cameras (Basler, Cognex) connect just fine.

    Also tried reflashing the bootloader. no change.

    looks like flashing was successful:

    Booting latest bootloader first, will take a tad longer...

    Bootloader version to flash: 0.0.28

    No config found, skipping erasing user bootloader

    Flashing NETWORK bootloader...

    Flashing progress: 1.3%

    Flashing progress: 3.9%

    Flashing progress: 7.8%

    Flashing progress: 10.3%

    Flashing progress: 12.9%

    Flashing progress: 15.5%

    Flashing progress: 18.1%

    Flashing progress: 20.7%

    Flashing progress: 24.6%

    Flashing progress: 27.2%

    Flashing progress: 29.7%

    Flashing progress: 32.3%

    Flashing progress: 34.9%

    Flashing progress: 38.8%

    Flashing progress: 42.5%

    Flashing progress: 48.8%

    Flashing progress: 53.8%

    Flashing progress: 57.5%

    Flashing progress: 62.5%

    Flashing progress: 66.2%

    Flashing progress: 71.2%

    Flashing progress: 84.3%

    Flashing progress: 100.0%

    Flashing successful. Took 11.702999999994063 seconds

    When depthAI opens I get the following:

    C:\Users\Admin\AppData\Local\Programs\Python\Python312>python -m depthai_viewer

    Backend started successfully.

    [2024-09-12T14:56:00Z INFO ewebsock::native_tungstenite] WebSocket handshake has been successfully completed

    [2024-09-12T14:56:00Z INFO re_viewer::depthai::ws] Websocket opened

      I'm not sure if that will help as I cant even ping the device but I did run the script and got the following error:

      Python 3.12.6 (tags/v3.12.6:a4a2d2b, Sep 6 2024, 20:11:23) [MSC v.1940 64 bit (AMD64)] on win32

      Type "help", "copyright", "credits" or "license()" for more information.

      = RESTART: C:\Users\Admin\AppData\Local\Programs\Python\depthai-python-main\depthai-python-main\examples\rgb_preview\rgb_preview.py

      Traceback (most recent call last):

      File "C:\Users\Admin\AppData\Local\Programs\Python\depthai-python-main\depthai-python-main\examples\rgb_preview\rgb_preview.py", line 22, in <module>

      with dai.Device(pipeline) as device:

      RuntimeError: No available devices

      What other diagnostic data can i give you to help debug this quickly?

        Yes, but I flashed via the usb bootloader, not the Ethernet. I'm pinging the camera default IP address of 169.254.1.222. Is this correct for my camera model?

        I'm not using DHCP. I'm using the following IP on my PC

        Config:

        PC - windows 10

        IP: 169.254.12.10

        sub net: 255.255.0.0

        Dns: not configured

          JoshTheKnightWhoSaysNICapogna
          Can you run ipconfig and check the network interfaces? Perhaps the ping wants to go through the wrong one.

          It's strange why it wouldn't work otherwise.
          Do the lights flash on the POE injector/switch indicating that communication/power is going through?

          Thanks,
          Jaka

          That was the hint I needed! Power was to the camera and lights on but not the communication light. Turns out Luxonis shipped me a bad cable. I swapped out to another industrial ethernet cable and it stared working. Luxonis is going to have to put some pressure on the cable supplier to test cables more frequently before ship. It was lucky I have a few M12 - Rj45 cat 6 cables around.

          Until the next support request 🙂

          Thank you

            6 months later

            JoshTheKnightWhoSaysNICapogna

            Hi Josh,
            which kind of M12/RJ45 cable did you use? The pin orientation and assignment of the shop cables is different to the cables we normally have in stock. Did you check that and did it work?

            I initially used the xcoded cable that shipped with the camera. I swapped it out to another xcoded from Cognex that I knew worked. I then tried to put in the original cable into a cognex camera and it still didn't work, thus my conclusion for the faulty cable. In the mean time I've been using a different x-coded cable from Pheonix contact and things have been going well. Hoping to use the experimental EmGU wrapper to build my application in C# in the month or so. I am sorry but I have since thrown away the "bad" cable so I don't accidently pick it up again.