Utilizing MQTT to send one (and only one) snapshot per ID #15495
Unanswered
danlo315
asked this question in
Ask A Question
Replies: 1 comment 1 reply
-
I would suggest just sending a snapshot when |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use Case
I would like to quickly identify an event that's happening via a snapshot, followed by the clip at the conclusion of the event. I'm going this route because there are situations where events are happening for long duration, and I would like to know during the event, not after it ends.
Approach
I'm using Home Assistant automation with the MQTT topic of
frigate/events
as trigger, sending out Telegram messages to my own "home channel". I've leaned on this post as guidance:#6551
has_snapshot == false
.type: end
trigger that sends out the clip. I'm currently seeing no issues sending this out, with the exception that sometimes the clip seems to cut off too quickly (it's a different question that I'll ask separately).Issue
The challenge I have is on the update messages. Ideally, I would like to only send one snapshot; multiple snapshots clutter up my Telegram channel.
['before']['end_time'] == null
, but I've seen multiple subsequent update messages that have the same null value.Suggestions are great appreciated!
Beta Was this translation helpful? Give feedback.
All reactions