psyciknz / CameraEvents

Dahua NVR/Camera Alerting to MQTT. Fairly specific to my needs, but also an attempt at starting to use travis.
Eclipse Public License 2.0
58 stars 19 forks source link

IP Camera unreachable after a while #14

Open szilardx opened 4 years ago

szilardx commented 4 years ago

Hello, First, thank you very much for CameraEvents, this is very useful for my home system.

I have a strange problem - and this might not be related to CameraEvents strictly.

I just purchased a Dahua IPC-HDW1320S camera. It works fine with CameraEvents.

First I tested event recording etc. with an FTP server on Windows, and I also watched the rtsp stream, or the live webview in the browser all day long. From time to time, the camera became unreachable from the Windows computer only (I could reach it from other computers). Changing the computer's ip address did help.

Now I am trying to have alerts sent to phone, etc. So I set up an ubuntu server, mosquitto, CameraEvents running on it. Also, the FTP server is now on the ubuntu server.

The same problem happened: CameraEvents shows via mqtt that the camera is offline. I could not ping it from the server, but it was fully reachable and working from other machines. Rebooting the camera did not help. So I rebooted the ubuntu server, and that helped.

The only similarity between the Windows and the Ubuntu server situation is that the camera writes to a ftp server, and there are many(?) cgi reqests toward the camera.

Sorry for posting such an offtopic issue, I have no idea where to turn with this!