Depthai: [BUG] {I cannot get oak-d PoE start}

Created on 20 Jul 2021  路  4Comments  路  Source: luxonis/depthai

Check if issue already exists
Google it (e.g. error xy github luxonis depthai)
Check troubleshooting in documentation.

Describe the bug
The POE version of oak-d shippped to me a few days ago, I use a PoE injector to provide power, I just follow the step asthe link below:
https://docs.luxonis.com/en/latest/pages/tutorials/getting-started-with-poe/

Both the green LEDs bright, but when I run the python demo depthai_demo.py, it shows the following error:
/usr/bin/python3.8 /home/jim/depthai/depthai_demo.py
Using depthai module from: /home/jim/.local/lib/python3.8/site-packages/depthai.cpython-38-x86_64-linux-gnu.so
Depthai version installed: 2.7.2.0
Traceback (most recent call last):
File "/home/jim/depthai/depthai_demo.py", line 114, in
device_info = conf.getDeviceInfo()
File "/home/jim/depthai/depthai_helpers/config_manager.py", line 250, in getDeviceInfo
raise RuntimeError("No DepthAI device found!")
RuntimeError: No DepthAI device found!

Process finished with exit code 1

I am confused, and don't know what to do in the next.
The pics below show the situation:
1626775829296
1626776376780

Thanks for your reply!

To Reproduce
Steps to reproduce the behavior:

  1. Run script (e.g. python3 depthai_demo.py -s color) '....'
  2. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Attach system log

Additional context
Add any other context about the problem here.

bug

Most helpful comment

So if you can ping the device now with a static IP, that's good. Do you still get the same error as in the original post RuntimeError: No DepthAI device found!, or is it different?
Does the IP 169.254.1.222 appears in the log when starting python3 depthai_demo.py now?

Try also having a ping 169.254.1.222 command running, and check after how much time after powering on the OAK-D-POE device (by plugging the Ethernet cable) you start getting ping replies. Check maybe a few times for a good measure.

problem solved, maybe because of my vpn connected.

All 4 comments

Hello @JimXu1989, we apologize for the inconvenience, most users have plug&play experience with the new POE models. The first thing that comes to my mind is either the firewall is blocking a port (you can disable firewall/enable ports, as described here) or your network doesn't have DHCP, so the depthai POE device sets a static IP and you need to change your IP, as described here. Have you tried both of these?
Thanks, Erik

Hello @JimXu1989, we apologize for the inconvenience, most users have plug&play experience with the new POE models. The first thing that comes to my mind is either the firewall is blocking a port (you can disable firewall/enable ports, as described here) or your network doesn't have DHCP, so the depthai POE device sets a static IP and you need to change your IP, as described here. Have you tried both of these?
Thanks, Erik

Thanks for your reply, but I try all above, I set static IP, and I can ping the device, but the demo python script still cannot open the device, may I send it back to you to repair it?

So if you can ping the device now with a static IP, that's good. Do you still get the same error as in the original post RuntimeError: No DepthAI device found!, or is it different?
Does the IP 169.254.1.222 appears in the log when starting python3 depthai_demo.py now?

Try also having a ping 169.254.1.222 command running, and check after how much time after powering on the OAK-D-POE device (by plugging the Ethernet cable) you start getting ping replies. Check maybe a few times for a good measure.

So if you can ping the device now with a static IP, that's good. Do you still get the same error as in the original post RuntimeError: No DepthAI device found!, or is it different?
Does the IP 169.254.1.222 appears in the log when starting python3 depthai_demo.py now?

Try also having a ping 169.254.1.222 command running, and check after how much time after powering on the OAK-D-POE device (by plugging the Ethernet cable) you start getting ping replies. Check maybe a few times for a good measure.

problem solved, maybe because of my vpn connected.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LucaBonfiglioli picture LucaBonfiglioli  路  7Comments

Luxonis-Brandon picture Luxonis-Brandon  路  5Comments

NguyenTuan-Dat picture NguyenTuan-Dat  路  5Comments

domef picture domef  路  3Comments

Luxonis-Brandon picture Luxonis-Brandon  路  11Comments