GETSTATUS COMMAND

Answered

Comments

1 comment

  • Avatar
    Norman - Nx Support

    Hi Juan Carlos Yáñez,

    Are you sure about the getstatus API call? I assume it would be getStatusList.

    And if I test this in 4.2.0.34860 it returns the offline status correctly.

    1. Camera appears offline in the client
    2. I did a getStatusList for this specific cameraId
    3. And it reports itself as offline in the json output as well.

    Regarding:

    I enabled the "enable cameras and automatic server detection" option, but it doesn't update the camera status.

    This is irrelevant to the API calls. These do use the same API, but only apply to the status in the Nx Witness VMS. The API calls are one-time requests. If you want to update the status continuously, you need to create a loop that repeats the API call every X seconds.

    0
    Comment actions Permalink

Please sign in to leave a comment.