Device state in UI does not update upon configuration change
AnsweredHi,
I am building an integration with Nx Witness V4.0.0.29987 using the system API: /ec2/ and server API /api/
-
Hello Ido,
First of all, I'd like to recommend you switching to the latest version of VMS and SDK.
> Is there a "gentle" way to refresh the camera state using the system API: /ec2/ or server API /api/
There are two parts of the situation: the Server part, the GUI part.
Automatically, status tracking is performed if
- auto discovery is enabled or
- recording is enabled on a cameraIf you have Enable cameras and servers auto discovery and automated cameras status check the server will periodically (about 1 min) recheck the cameras and update statuses. The GUI will receive a notification from the Server on status change.
If the recording is on the Server will automatically update the status of the camera.If you don't have auto discovery enabled, you need to force the Server to login to the camera and update its status.
Turning the recording on will make the Server update status of a camera.
https://support.networkoptix.com/hc/en-us/articles/217493737-How-to-start-stop-the-recording-schedule-of-a-specific-camera-via-Nx-Witness-Server-API0
Please sign in to leave a comment.
Comments
1 comment