QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
331 stars 45 forks source link

Neolink causing excessive battery usage #282

Open IanK6449 opened 2 months ago

IanK6449 commented 2 months ago

Describe the bug I am using Neolink on a Wndows 10 machine to connect to a Reolink Argus Eco battery powered camera. I am viewing the stream from Neolink in Home Assistant running on a different server to the Windows machine. When I view the stream I can see in the Neolink log that it activates the camera and then reports it being paused 30 seconds later as required by idle_timeout. Even if I don't view the stream in Home Assistant, the battery continues to drain on the camera and it goes flat within about 12 hours. If I stop Neolink, the battery drain stops. I have tried disabling the WebRTCCamera integration in Home Assistant but even this does not prevent the battery drain. So, I suspect Neolink is not pausing the camera fully somehow even though it reports that it is pausing the client.

To Reproduce Steps to reproduce the behavior. Example: Config File Used: [[cameras]] idle_disconnect = true name = "frontgarden" username = "****" password = "*****" address = "192.168.." uid = "**" stream = "subStream" push_notifications = false

[cameras.pause] on_motion = true on_client = true timeout = 5 # How long to wait after motion stops before pausing

Expected behavior Neolink should fully pause the camera stream and thus prevent the camera from continuing to drain its battery.

Versions NVR software: N/A - Home Assistant using the WebRTCCamera integration. But it also did the same using the generic RTSP camera integration instead. Neolink software: Neolink e47a0d5734b0a06b53bd8d78be9ca2f6b8396480 release but also occurs for the latest 'official' release. Reolink camera model and firmware: Argus Eco. Firmware: 0223_740_747_413

DeckardCain2014 commented 2 weeks ago

I have the same issue with an Argus PT