Hello CodingArcher,
depthai.Device.getAllAvailableDevices()
actually returns DeviceInfo
objects not Device
objects. Something like this should work:
import depthai as dai
for deviceInfo in dai.Device.getAllAvailableDevices():
device = dai.Device(dai.Pipeline(), deviceInfo)
print(device.getConnectedCameras())
print(device.getMxId())