Hello, can anyone please explain what is the optimal way of getting camera/device status from API. previously we was using Rest API to get camera details and we used recording server SOAP API GetCurrentDeviceStatus to get status of camera but recently after upgrade to 2025 R2 , we see that output of GetCurrentDeviceStatus is empty for some cameras, probably for the cameras which is offline/not recording. Either planned deprecation or some bug maybe. But main question is what is recommended way of checking camera status from API? we need this for monitoring script which runs every 1m, so it is for script
Note: looks like for newly disconnecting cameras we get SOAP GetCurrentDeviceStatus but some older cameras which disconnected before upgrade returns empty status… anyway we still wanna know recommended way of getting camera status.
You wrote:
> “Note: looks like for newly disconnecting cameras we get SOAP GetCurrentDeviceStatus but some older cameras which disconnected before upgrade returns empty status… anyway we still wanna know recommended way of getting camera status.”
If the cameras were disconnected before the upgrade, then the cameras are offline when we try to update the driver xml for these devices – i.e. there will be no status for these cameras until XPCO has updated the driver configuration for the hardware. This requires that the hardware is online.
Bo,
Allahshukur ended his question with:
anyway we still wanna know recommended way of getting camera status.
So, the question is:
How to get camera/device status from API
I think I saw you wrote previously that getting the device status is done with a web socket but not with a ReST API call. Can you confirm or clarify?
Has anything changed in this regard?
Thanks