Hi, I purchased the OAK-D CM4 PoE camera last week, and tried to set it up.

I currently connect to the camera through a PoE injector, while it's also connected to my macbook through the ethernet port.

Initially I tried to ssh into the device using the static ip address as mentioned here, but only in vain.

Subsequently, I then followed the setup instructions mentioned in the docs and was able to ssh into the device remotely using the Hostname ssh pi@luxonis.local. Although this connection works, it's only momentary and it disconnects from the remote connection frequently. I had to manually reset the PoE connection and reconnect remotely, to connect and face the same issue all over again. This has happened to me countless times now, and the longest I have been able to connect to the device is 3 mins.

I have tried using a different PoE injector as well, but this helped me understand the issue isn't with the PoE injector or the ethernet cables, but the camera connection.

Kindly help me troubleshoot this issue so that I can use the camera as quickly as possible!

Details:
OAK Device Model: OAK-D CM4 PoE
DepthAI sdk Version: 1.12.1
DepthAI python Version: 2.22.0.0
ifconfig output:

Thanks,
Deepak

  • jakaskerl replied to this.
  • Hi Jaka,

    Thanks for the response.

    The link you mentioned is where I earlier found the ssh pi@luxonis.local command to remotely connect to the raspberry pi. The issue was that the IP address to the raspberry pi kept constantly changing and threw us off the remote connection every couple of minutes. Once we setup a static IP using https://docs.luxonis.com/software/depthai/examples/poe_setip, the connection seems to be stable.

    Also to answer your questions:
    The CM4 doesn't power off. The connection devices like the PoE injector and the ETH cable are all fine (we even got new ones to clarify thatI). We initially couldn't find an IPv4 address for the raspberry pi, and setting a static IPv4 address helped us with that part too.

    Best,
    Deepak

    DeepakGanesh Initially I tried to ssh into the device using the static ip address as mentioned here, but only in vain.

    This doesn't work because you are not connecting to an OAK poe, but to a raspberry pi. https://docs.luxonis.com/hardware/platform/deploy/to-rpi/ is the right guide.

    If ssh fails, it's most likely some power issue or the connection is bad. Does CM4 power off after those 3 minutes? Perhaps there are packet drops in the communication - maybe a bad ETH cable?

    Thanks,
    Jaka

    Hi Jaka,

    Thanks for the response.

    The link you mentioned is where I earlier found the ssh pi@luxonis.local command to remotely connect to the raspberry pi. The issue was that the IP address to the raspberry pi kept constantly changing and threw us off the remote connection every couple of minutes. Once we setup a static IP using https://docs.luxonis.com/software/depthai/examples/poe_setip, the connection seems to be stable.

    Also to answer your questions:
    The CM4 doesn't power off. The connection devices like the PoE injector and the ETH cable are all fine (we even got new ones to clarify thatI). We initially couldn't find an IPv4 address for the raspberry pi, and setting a static IPv4 address helped us with that part too.

    Best,
    Deepak