• Hardware
  • Trouble connecting OAK-D PoE camera via TP-Link switch

Hello everyone,

I'm trying to connect an OAK-D PoE camera to my Mac through a TP-Link TL-SG1005P switch, but I'm having trouble establishing the connection. Here's how my system is set up:

  • My Mac is connected to my TP-Link TL-SG1005P switch via an Ethernet to USB-C adapter. The switch itself is connected to an RJ45 jack, which provides my Mac with internet access.

  • The OAK-D PoE camera is also connected to the switch.

I attempted to ping the default IP address of the camera (169.254.1.222), but to no avail. I also ran the depthai_demo.py script both with and without the --device 169.254.1.222 option, but in both cases, the script returned the error "No DepthAI device found!".

I believe I have connected all devices correctly, but I'm not sure how to configure my network so that my Mac can communicate with the OAK-D PoE camera. Do I need to configure my switch in a particular way, or do something else for my Mac to see the camera?

Any help would be greatly appreciated. Thank you!

Best regards,

Babacar

    Hi Babacar
    Can you confirm your OAK device is powered on? There should be lights on the port signaling data transfer.
    Also, have you tried checking your router if it detects the device?

    Thanks,
    Jaka

      jakaskerl

      Hi Jaka,

      Yes, my OAK device is powered on. I can see a red light inside the camera which indicates that it's active. As for the switch, it seems to detect the OAK-D PoE since the light on the switch also turns on when the camera is connected.

      Thank you for responding.

        Hi Babacar
        What about your router? Does the DHCP table show a connected device? Usually the device will be given an internal IP by the dhcp server and won't actually run on the default IP. So the idea would be to check the router to see if connection is established and what IP the oak device is on.

        Thanks,
        Jaka

          jakaskerl
          Thank you for your guidance. I understand I need to check my router's DHCP table to see if my OAK device is connected and what IP it has been assigned. However, I am having difficulty finding specific instructions on how to view the DHCP table on my TP-Link router. I will continue trying to find this information and will get back to you as soon as I have checked my router's DHCP table.

          Best,

          Babacar

          jakaskerl

          Hi Jaka,

          Unfortunately, my TP-Link TL-SG1005P switch does not have an interface to check the IP address of the camera connected to it. Is there another method I could use?

          I also tried connecting my switch to a router to check the router's DHCP table, but I am unable to access the interface of my MikroTik router via the default IP address. I also can't find the IP address that has been assigned to it. I have watched several videos and tutorials but have not found a solution to my problem.

          Best,

          Babacar

            Hi Babacar
            Switches don't have interfaces since they are usually layer 2 devices and don't assign IP, they only work with MAC addresses.
            Since you can't ping the device on the factory ip and assuming the device is powered on and properly connected to the router through a switch, could you run the device_manager script (inside deptai-python/utilities/)? The scan function should find the device on the LAN if it is correctly set up.

            Thanks and sorry for the inconvenience,
            Jaka

              jakaskerl

              Thanks for your suggestion. I ran the device_manager.py script, but I can't find the Oak-D camera in the drop-down list.

              I tried using the IP address of my internet connection box to view the devices connected to it via Ethernet, and I found another IP address different from my computer. So, I assume that it's my router. I entered this IP address into the device_manager interface using "specify IP", but it still doesn't work.

              Also, when I enter the IP address of my router into a web browser to access the interface, the page doesn't load anything.

              Thanks for your patience and assistance,
              Babacar

              jakaskerl

              Hi Jaka,

              I have done some research on how the LEDs on my switch should light up and it turns out that the PoE LED is blinking, which indicates a PoE fault. I will share this new information with my supervisor.

              Thank you for your responses.

              Best,

              Babacar