A custom Home Assistant component to create GIFs from images.
After adding the repository, search for "GIF" in HACS > Integrations and install it. Then, restart Home Assistant.
- Open HACS in Home Assistant.
- Go to "Integrations".
- Click the three dots in the top right and select "Custom repositories".
- Add
https://github.com/helv-io/ha-gifas a repository (category: Integration). - Search for "GIF" and install it.
- Restart Home Assistant.
- Download the latest release from the releases page.
- Extract the contents to
custom_components/gif/in your Home Assistant configuration directory. - Restart Home Assistant.
Call the service gif.create_gif with the following parameters:
images: List of image file paths (at least 2)fps: Frames per second (optional, default 10)output_path: Path to save the GIFloop: Whether the GIF should loop (optional, default true)
Example in YAML:
service: gif.create_gif
data:
images:
- /config/images/image1.jpg
- /config/images/image2.jpg
fps: 10
output_path: /config/gifs/output.gif- Pillow library (automatically installed via manifest.json)
See LICENSE file.