Closed tbnobody closed 2 months ago
In order to get motion messages we need to be logged into the camera. Which means the battery drains very fast. This was an issue for quite some time. The solution we came up with was to use push notifications since the camera will send those during motion detection.
The solution we came up with was to use push notifications since the camera will send those during motion detection.
I understand this. The main question was, why are there push notifications exactly every 5min and whether this is a bug or a feature.
There's nothing we do to make push notifications happen this often.
Perhpas you could enable push notifications on your smart phone? Then see if you also get them this regularly?
You could also look into setting the RUST_LOG
env variable to debug and it should print the details of the push notification
Looking through the code I recalled that we reconnect the push notifications every 5 mins because some cameras had issues with it forgetting that we have registered for the push notifications. But we are meant to be ignoring old messsages ids but perhaps something is up here
This should be fixed in latest now, so I will close this
Describe the bug During the day when the camera was alone in a room I've just realized that neolink received push notifications every 5min. See log ouput below. Not sure if this is a bug or a feature or just related to camera specific settings? At first I thought it's related to brightness changes during the day or shadows, but it happens exactly every 5 minutes.
Expected behavior Wakeup only on movements
Versions NVR software: None (just monitored the MQTT topics) Neolink software: v0.6.3.rc1 Reolink camera model and firmware: Argus Eco Ultra v3.0.0.2773_23100910