Now, I’ve changed from Frigate to Camera and I get just a notification title in the app saying “Motion detected”, but I don’t see anything else
These are now the error messages I get in the log
File "/config/custom_components/llmvision/__init__.py", line 305, in stream_analyzer
File "/config/custom_components/llmvision/media_handlers.py", line 428, in add_streams
File "/config/custom_components/llmvision/media_handlers.py", line 220, in record
File "/config/custom_components/llmvision/media_handlers.py", line 163, in record_camera
2024-11-27 10:14:17.054 ERROR (MainThread) [homeassistant.components.automation.test_ai_event_summary_llm_vision_v1_3_1] TEST - AI Event Summary (LLM Vision v1.3.1): Error executing script. Unexpected error for choose at pos 4: 'NoneType' object has no attribute 'attributes'
File "/config/custom_components/llmvision/__init__.py", line 305, in stream_analyzer
File "/config/custom_components/llmvision/media_handlers.py", line 428, in add_streams
File "/config/custom_components/llmvision/media_handlers.py", line 220, in record
File "/config/custom_components/llmvision/media_handlers.py", line 163, in record_camera
2024-11-27 10:14:17.062 ERROR (MainThread) [homeassistant.components.automation.test_ai_event_summary_llm_vision_v1_3_1] While executing automation automation.test_ai_event_summary_llm_vision_v1_3_1
File "/config/custom_components/llmvision/__init__.py", line 305, in stream_analyzer
File "/config/custom_components/llmvision/media_handlers.py", line 428, in add_streams
File "/config/custom_components/llmvision/media_handlers.py", line 220, in record
File "/config/custom_components/llmvision/media_handlers.py", line 163, in record_camera
Does anyone have a really simple config or example on getting Frigate working with MQTT. Trying to get LLM Vision working but while I can see Frigate connecting to mosquito I’m not getting any MQTT entries.
2024-11-29 10:57:14: New connection from 192.168.0.202:44979 on port 1883.
2024-11-29 10:57:14: New client connected from 192.168.0.202:44979 as frigate (p2, c1, k60, u’frigate’).
This is a brilliant blueprint! I managed to get it working last night after a few hurdles (probably nothing noteworthy for most people here).
Just wondering if there is any chance of someone explaining how I would go about getting the notification to be read out on my Google Home speakers? Ideally I’d not have to look at my phone/watch to see what it is going on outside my property but to hear what it is whilst I’m working - then I can action if it’s something out of the ordinary or remain seated.
Figured out my own issue. I was getting the error due to running the automation as a test to verify if it was working. Because there was not information to pull from frigate or MQTT this error would occur. If I actually walked in front of my camera the notification would work flawlessly as designed. Thank you for this great blueprint. My wife and I are getting a kick out of the information it spits out.
I really like the idea of this!! Very cool and fun! However, for me I just get “Person seen” and no other text at all in my notifcations. Maybe the screenshot here is a hint? I have no idea how to troubleshoot…
So I figured out what my problem was. Turns out under “model” I had to put “gemini-1.5-flash” … I assumed “Leave blank to automatically detect the best model.” would choose something that works, but it didnt. Maybe this can help someone else
So I got this working and obiously it is very fun. The messages are cut off however mid-sentence. It does seem that the limit of number of characters here is smaller than if I send a notification “manually”. Does anyone know what the limit is? I have been trying to find this info with no luck. How are you handling this problem?
Hey great blueprint! I am wonder if it possible to have a per camera cool down ? Aside from that it appears to be working very well for me. I have not figured out the character limit for notifications yet either.