neolink
neolink copied to clipboard
PTZ preset reporting errog
Describe the bug Sending a query/ptz/preset message, an error occurs
To Reproduce Steps to reproduce the behavior. Example:
- Publish the /query/ptz/preset mqtt message
- Check the logs
Expected behavior The PTZ presets should be set in return in the status topic
Versions NVR software: Neolink software: latest Reolink camera model and firmware: Argus PT Ultra v3.0.0.3492_24050816
Erorr received [2024-11-18T07:41:14Z ERROR neolink_core::bc::de] header.msg_id: 190 [2024-11-18T07:41:14Z ERROR neolink_core::bc::de] processed_payload_buf: [3C, 3F, 78, 6D, 6C, 20, 76, 65, 72, 73, 69, 6F, 6E, 3D, 22, 31, 2E, 30, 22, 20, 65, 6E, 63, 6F, 64, 69, 6E, 67, 3D, 22, 55, 54, 46, 2D, 38, 22, 20, 3F, 3E, A, 3C, 62, 6F, 64, 79, 3E, A, 3C, 50, 74, 7A, 50, 72, 65, 73, 65, 74, 20, 76, 65, 72, 73, 69, 6F, 6E, 3D, 22, 31, 2E, 31, 22, 3E, A, 3C, 63, 68, 61, 6E, 6E, 65, 6C, 49, 64, 3E, 30, 3C, 2F, 63, 68, 61, 6E, 6E, 65, 6C, 49, 64, 3E, A, 3C, 70, 72, 65, 73, 65, 74, 4C, 69, 73, 74, 3E, A, 3C, 70, 72, 65, 73, 65, 74, 3E, A, 3C, 69, 64, 3E, 30, 3C, 2F, 69, 64, 3E, A, 3C, 6E, 61, 6D, 65, 3E, 4D, 61, 74, 74, 68, 69, 61, 73, 3C, 2F, 6E, 61, 6D, 65, 3E, A, 3C, 2F, 70, 72, 65, 73, 65, 74, 3E, A, 3C, 70, 72, 65, 73, 65, 74, 3E, A, 3C, 69, 64, 3E, 31, 3C, 2F, 69, 64, 3E, A, 3C, 6E, 61, 6D, 65, 3E, 53, 74, 61, 6E, 7A, 61, 3C, 2F, 6E, 61, 6D, 65, 3E, A, 3C, 2F, 70, 72, 65, 73, 65, 74, 3E, A, 3C, 2F, 70, 72, 65, 73, 65, 74, 4C, 69, 73, 74, 3E, A, 3C, 2F, 50, 74, 7A, 50, 72, 65, 73, 65, 74, 3E, A, 3C, 2F, 62, 6F, 64, 79, 3E, A]::Ok("\n
\n<PtzPreset version="1.1">\n<channelId>0</channelId>\n<presetList>\ncommand")
[2024-11-18T07:41:14Z WARN neolink::common::camthread] VideocameraMatthias: Connection Lost: Nom Parsing error: Nom Error: VerboseError { errors: [([], Nom(MapRes)), ([], Context("Unable to parse Payload XML"))] }
[2024-11-18T07:41:14Z INFO neolink::common::camthread] VideocameraMatthias: Attempt reconnect in 50ms
[2024-11-18T07:41:14Z ERROR neolink::mqtt] Failed to get ptz xml: Nom Parsing error: Nom Error: VerboseError { errors: [([], Nom(MapRes)), ([], Context("Unable to parse Payload XML"))] }