Open ncul777 opened 4 days ago
This is part of a shell script? Why not use it in combination with the timeout
shell command
If your just referring to the discovery retries you can set it with max_discovery_retries = #
in the [[cameras]]
section of the config
Also if the Argus 3E
is on the same network and can ping it directly please add both the uid
and the addr
and set discovery = "local"
to the [[cameras]]
config since it will let you connect directly which is usually faster.
[[camera]]
# Usual options like pass etc
uid = "ABCDEFGUID"
addr = "192.168.YOUR_CAM_IP:2018"
discovery = "local"
That will do a local connection only using network pings and brodcasts without making the slow connection to the reolink servers at all. This will of couse only work if it is on the same network
The camera is battery powered Argus 3E. Currently I'm using neolink to capture an image on certain triggers and thats works fine when the camera is online. If however it goes offline (e.g. battery dies, or looses wifi connection), then when image is requested, neolink continually tries to connect (at least for prolonged time) and this blocks the rest of my app (I could of course improve that although not a small job)
Describe the solution you'd like To be able to specify a timeout or number of attempts to try to connect
this being one connection attempt (15 seconds):
Thanks