Hey oakleydoakley - you’re hitting two different issues here.
The AttributeError: module 'depthai.node' has no attribute 'XLinkOut' means you’re trying to run an old v2-style sample with DepthAI v3. In v3, XLinkOut is no longer created explicitly, so for OAK4 + depthai==3.5.0 you should use the v3 examples from depthai-core, not older depthai-python examples.
For the PoE/static IP side, first make sure your host is actually on the same subnet as the camera, then check whether the device shows up with oakctl list. If ping works but OAK Viewer and DepthAI still can’t connect even when you specify the IP, that usually points to a bad network/setup state on the device, and the next step is to re-run OAK4 setup or do a factory reset and configure it again.
OAK4 setup docs with troubleshooting here.
Thanks,
Oskar