Closed mediacutlet closed 3 months ago
You are right, gifs are not supported right now but I'm going to add that in the next update. Looks like you'd have a great use case for it!
Awesome! Thanks for your work on this! 😄 🌩️
The fix was really easy, gifs are now converted to jpg. Should be live in a couple hours. Also, I really like the idea with the weather map. Would it be ok if I add this as an example to the wiki?
Absolutely! Happy to contribute @valentinfrlch. Thank you for implementing gif support so quickly.
One thing that might be interesting, expanding upon the weather radar use case, would be animated gif support. I'm sure that will be more involved since converting to jpg won't work with animation (unless maybe it converted each frame of the animation to jpg?). But animation would give the LLM quite a bite more information -- directionality of the radar features, speed, etc.
Thanks!
Yes animated GIFs would be a little more involved but still very possible. The integration already supports mp4 (via the video_analyzer
) so support for animated GIFs shouldn't be too difficult either. I'll add that to the roadmap!
Thanks for adding animated gif support @valentinfrlch I'll be experimenting with this later today and will report back any issues!
Bug Description
I am able to get responses back when using jpg or png images but gifs (non-animated) throw an unknown error. I am attempting to include the image via an image helper entity. I can use this same methodology with jpg and png but not gif.
Public URL of the gif which the sensor updates from: https://radar.weather.gov/ridge/standard/KDIX_0.gif
HA Version: 2024.8.2 Integration Version: 1.0.3
Service Call
Logs
Additional context
Error: Failed to perform the action llmvision.image_analyzer. Unknown error