maciej-or / hikvision_next

Home Assistant integration for Hikvision NVRs and IP cameras
115 stars 23 forks source link

Cannot process incoming event no element found: line 2 #178

Open dmode9000 opened 7 months ago

dmode9000 commented 7 months ago

Thank you for addressing issue 159. On release 1.0.15 the motion detection is now functioning, but only for one camera.

New warnings have appeared in the logs: WARNING (MainThread) [custom_components.hikvision_next.notifications] Cannot process incoming event no element found: line 2, column 0

WARNING (MainThread) [custom_components.hikvision_next.isapi] --- [GET] http://<camera_IP>//ISAPI/Streaming/channels/103 Server error '500 Internal Server Error' for url 'http://<camera_IP>//ISAPI/Streaming/channels/103'

WARNING (MainThread) [custom_components.hikvision_next.isapi] --- [GET] http://<camera_IP>//ISAPI/Streaming/channels/104 Server error '500 Internal Server Error' for url 'http://<camera_IP>//ISAPI/Streaming/channels/104'

Here are the "Controls" screenshots for both cameras. In the camera that started recording motion, there are two highlighted options, and the "motion detection" toggle looks different. In the camera that is not recording motion, the "Alarm Input 1 Detection" options are absent. The cameras and their settings are identical. Both record video on motion to the internal storage.

motion-worked motion-not-worked

I have attached the log file for your review.

GIJOE-SA commented 2 weeks ago

I think I have the same problem, two exact cameras named Street and Karavaan. On the same firmware exported the working config to the non working camera and still the same. Karavaan is working and Street not. config_entry-hikvision_next-01JB754BFCSP9QBT47MCA6NNMG.json