Closed lubomir-moric closed 3 weeks ago
Ahh, Interesting & Thanks for finding and reporting this! I haven't run into this yet, but it makes sense why it's happening.
I have been hoping to avoid persisting any data between event messages for as long as I can, but it seems this might finally push me to do it 😅
I'll add this to my list & start thinking about how to best resolve this 👍
Hello, hello! Just a quick note that I have a fix for this in the dev
branch if you would like to test or try it early. If you do, please let me know how it goes!
Describe the bug When object enters allowed zone, Frigate might not yet have snapshot or clip, so notification is not generated:
Event dropped - No snapshot or clip available
Later update event is received, already with snapshot or clip, but it is inside same zone:Event dropped - Already notified on this zone
Expected behavior When snapshot or clip is available, even event comes from same zone, it should be notified. Problematic condition in code: here.
To Reproduce Steps to reproduce the behavior:
Versions:
Frigate-Notify Logs:
^^^ where
Zahrada
is allowed zone,Terasa
is not listed in allowed zones.Additional context Seems it will be necessary to have some in-memory map of event IDs and booleans flagging that notification was already sent?