We have a camera that we can confirm is down for over 24 hours, we attempt to connect to it via the protocol methods and get an image from it and we get an image from 24 hours ago and the Milestone methods telling us what we interpret as there being no issues with the camera.
When using the GetCurrentDeviceStatus method we get the following response{
‘CameraDeviceStatusArray’: {
'CameraDeviceStatus': \[
{
'Time': datetime.datetime(2024, 6, 6, 15, 48, 30, 661655, tzinfo=<isodate.tzinfo.Utc object at 0x00000223CD7BBF50>),
'DeviceId': 'b83307c9-53ea-498e-819f-0112eebbce9e',
'IsChange': False,
'Enabled': True,
'Started': True,
'Error': False,
'ErrorNotLicensed': False,
'ErrorNoConnection': False,
'Recording': False,
'DbMoveInProgress': False,
'ErrorOverflow': False,
'ErrorWritingGop': False,
'DbRepairInProgress': False,
'Motion': False
}
\]
},
‘InputDeviceStatusArray’: None,
‘OutputDeviceStatusArray’: None,
‘MicrophoneDeviceStatusArray’: None,
‘SpeakerDeviceStatusArray’: None,
‘MetadataDeviceStatusArray’: None,
‘EventStatusArray’: None,
‘HardwareStatusArray’: None,
‘ConfigurationChangedStatus’: None
}
And when we go to get an image from the camera (because we are presuming it is live) we use the command that typically works with “sendinitial” set as “no”. We get an image and it is from yesterday. When we look at the live packets for this camera, we see that the status for status-id=5 the value is “0” indicating that there is no problem with the connection between this camera and the recording server.
Could you please tell us what we are doing wrong? We are certain this camera is down and would like to have a way to be able to tell, using protocol integration methods, that this camera is in fact down.
Thank you,
