QuantumEntangledAndy / neolink

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

mqtt "enable_preview = false" has no effect #203

Closed zimbo86 closed 2 months ago

zimbo86 commented 6 months ago

Describe the bug When setting enable_preview = false in mqtt section a preview snapshot is still published every 2sec to neolink/cam/status/preview

To Reproduce Steps to reproduce the behavior. Example:

  1. Add "enable_preview = false" to [mqtt]
  2. Restart neolink

Expected behavior No messages published every 2sec

Versions NVR software: Neolink software: latest docker build Reolink camera model and firmware: Lumus

judasferret commented 3 months ago

I'm also seeing this issue on a range of cameras. Work around is to set mqtt.preview_update = really big number. This bug destroys your battery cameras.

Version: Neolink e47a0d5734b0a06b53bd8d78be9ca2f6b8396480 release neolink 0.6.2 OS: Windows 11 Cameras: Reolink Battery Cameras: TrackMix, Argus Pro 3, PT

QuantumEntangledAndy commented 2 months ago

It should be set in [cameras.mqtt] not [mqtt]