dm82m / hassio-addons

HAOS add-ons developed by dm82m
MIT License
28 stars 17 forks source link

Add on halts shortly after starting streams #15

Closed IanK6449 closed 1 year ago

IanK6449 commented 1 year ago

Hi,

I have an Argus Eco battery camera that has worked with the Neolink addon albeit without much stability. When it did work it drained the battery so quickly that it was still unusable really. I recently installed the latest version but this seems worse in terms of stability but I am not sure why. The log reads as follows:

--- VERSIONS --- add-on version: 0.0.6 [2023-05-16T05:41:44Z INFO neolink] Neolink 61f65ed42af8efccaf3f25c0ddcfe85574f53999 release neolink version: neolink 0.5.9 neolink mode: rtsp ATTENTION: if you expected a newer Neolink version, please reinstall this Add-on! --- Neolink --- [2023-05-16T05:41:44Z INFO neolink] Neolink 61f65ed42af8efccaf3f25c0ddcfe85574f53999 release [2023-05-16T05:41:44Z INFO neolink::rtsp] Starting RTSP Server at 0.0.0.0:8554 [2023-05-16T05:41:44Z INFO neolink_core::bc_protocol] frontgarden: Trying TCP discovery [2023-05-16T05:41:44Z INFO neolink_core::bc_protocol] frontgarden: Trying local discovery [2023-05-16T05:41:49Z INFO neolink_core::bc_protocol] frontgarden: Trying remote discovery [2023-05-16T05:41:52Z INFO neolink_core::bc_protocol] frontgarden: Remote discovery success *** at 192.168..:27359 [2023-05-16T05:41:53Z INFO neolink::rtsp::states::loggedin] frontgarden: Camera time is already set: 2023-05-16 15:41:43.0 -10:00:00 [2023-05-16T05:41:53Z INFO neolink::rtsp::states::loggedin] frontgarden: Camera reports firmware version 0223_740_747_413 [2023-05-16T05:41:53Z INFO neolink::rtsp::states::streaming] frontgarden: Starting video stream Main Stream (Clear) [2023-05-16T05:41:53Z INFO neolink::rtsp::states::streaming] frontgarden: Starting video stream Sub Stream (Fluent) /run.sh: line 15: 14 Killed neolink rtsp --config /config/addons/neolink.toml

I can send you my whole TOML file too if this helps but it is largely the vanilla example with just my specific camera ip and UID etc added:

[[cameras]] name = "" username = "" password = "*" address = "192.168.." uid = "**"

[cameras.pause]

on_motion = true

on_client = true

timeout = 20 # How long to wait after motion stops before pausing

If you use a battery camera: Instead of an address supply the uid

as follows

uid = "ABCD01234567890EFG"

I tried removing the camera pause config lines as you can see but this has made little difference. That said, discovery wasn't finding the camera at all until I added the IP address which wasn't needed in the previous version (just UID) so I suspect it may be a network issue.

Thanks for putting this addon together, I am most grateful for your efforts regardless of whether it works for me specifically :-)

Cheers,

Ian K

dm82m commented 1 year ago

This seems to be an issue related to neolink itself, please move this issue there: https://github.com/QuantumEntangledAndy/neolink/issues/new/choose

IanK6449 commented 1 year ago

OK, thanks Dirk.