Currently, I am trying to migrate my NVR integration from AgentDVR to LightNVR. In my current setup, when an event occurs, I receive an MQTT notification and use the snapshot path provided in the payload to automatically send the event image to a Telegram channel.
While LightNVR successfully sends the MQTT alerts, the payload does not seem to include a path or URL to the specific screenshot/snapshot of the captured event. Without this, I cannot fully replicate my automation to receive the photos alongside the alerts.
It would be amazing if the MQTT event payload could include a field with the local path or a relative URL to the screenshot generated by the event (e.g., "snapshot_path": "/path/to/snapshot.jpg").
This would allow users to easily fetch the image and forward it to external services like Telegram, Home Assistant, Discord, etc.
I looked into the documentation to see if there was a way to predict the filename or fetch it via a standard API query right after the MQTT message arrives, but having it directly in the MQTT payload would be the most reliable and real-time approach.
This feature would make it much easier for users migrating from other NVR solutions (like AgentDVR or Frigate) who rely heavily on rich notifications (text + image) via MQTT.
Thank you for the great work on LightNVR!
Currently, I am trying to migrate my NVR integration from AgentDVR to LightNVR. In my current setup, when an event occurs, I receive an MQTT notification and use the snapshot path provided in the payload to automatically send the event image to a Telegram channel.
While LightNVR successfully sends the MQTT alerts, the payload does not seem to include a path or URL to the specific screenshot/snapshot of the captured event. Without this, I cannot fully replicate my automation to receive the photos alongside the alerts.
It would be amazing if the MQTT event payload could include a field with the local path or a relative URL to the screenshot generated by the event (e.g., "snapshot_path": "/path/to/snapshot.jpg").
This would allow users to easily fetch the image and forward it to external services like Telegram, Home Assistant, Discord, etc.
I looked into the documentation to see if there was a way to predict the filename or fetch it via a standard API query right after the MQTT message arrives, but having it directly in the MQTT payload would be the most reliable and real-time approach.
This feature would make it much easier for users migrating from other NVR solutions (like AgentDVR or Frigate) who rely heavily on rich notifications (text + image) via MQTT.
Thank you for the great work on LightNVR!