mhaowork / amblegpt

Video surveilance footage analyst powered by GPT-4o
MIT License
91 stars 16 forks source link

HA blueprint not listening to frigate/events/summary #8

Closed ttopholm closed 7 months ago

ttopholm commented 7 months ago

Hi,

It seems the ha blueprint isn't subscribing to the frigate/events/summary topic, and therefore not getting the updated notifications.

mhaowork commented 7 months ago

Hi! Did you follow this part in the doc to (re-)import the blueprint? https://github.com/mhaowork/amblegpt#frigate-notifications-via-home-assistant-blueprint

If so, can you share your HomeAssistant logs like this? image

ttopholm commented 7 months ago

Yes, I followed the guide and copied the file. But I can't find anything in it related to frigate/events/summary topic. not even the one you link to.

ttopholm commented 7 months ago

Frigate Notification DEBUG (in loop): Info: Last Zones: [], Current zones: [], sublabel: None, iOS sound: False, Android Sound: enabled, Triggers: New Snapshot: False, Presence Changed: False, stationary moved: False, entered zones changed: False, sublabel changed: False, Conditions: Loitering: 0 or Presence Entity not home: OFF - PASS, zone filter TEST: OFF - PASS, multi-zone filter: OFF - PASS, state filter TEST: OFF - PASS image: "/api/frigate/notifications/1702073038.372822-j6isye/thumbnail.jpg" triggered by automation demo frigate mqtt topic frigate/events

mhaowork commented 7 months ago

Thanks for sharing the log. I think I have found the problem. I will push a fix soon!

ttopholm commented 7 months ago

This is the diff between yours (left) and SgtBatten (Right) https://editor.mergely.com/x3Vxa5VJ

There isn't any diffs ;-)

mhaowork commented 7 months ago

Yeah, I made a stupid mistake forgetting to point to the correct branch. Now, the default main branch should have my changes aka https://github.com/mhaowork/HA_blueprints/blob/main/Frigate%20Camera%20Notifications/Stable.yaml

ttopholm commented 7 months ago

that did the trick.