{"id":35207588,"url":"https://github.com/tolwi/hassio-camlapse","last_synced_at":"2026-04-08T14:32:16.794Z","repository":{"id":330975363,"uuid":"1124704493","full_name":"tolwi/hassio-camlapse","owner":"tolwi","description":"Home Assistant custom component designed to automatically generate timelapse videos from your camera entities","archived":false,"fork":false,"pushed_at":"2025-12-29T13:51:49.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-01T14:06:55.924Z","etag":null,"topics":["homeassistant","timelapse"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tolwi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-29T13:23:35.000Z","updated_at":"2025-12-29T13:51:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tolwi/hassio-camlapse","commit_stats":null,"previous_names":["tolwi/hassio-camlapse"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tolwi/hassio-camlapse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolwi%2Fhassio-camlapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolwi%2Fhassio-camlapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolwi%2Fhassio-camlapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolwi%2Fhassio-camlapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tolwi","download_url":"https://codeload.github.com/tolwi/hassio-camlapse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tolwi%2Fhassio-camlapse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31559789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["homeassistant","timelapse"],"created_at":"2025-12-29T15:28:53.942Z","updated_at":"2026-04-08T14:32:16.783Z","avatar_url":"https://github.com/tolwi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hassio CamLapse\n\n**Hassio CamLapse** is a Home Assistant custom component designed to automatically generate timelapse videos from your camera entities. Ideally suited for long-term monitoring, it captures snapshots at regular intervals, compiles them into hourly videos, and optionally merges them into daily summaries.\n\n## Features\n\n- **Automated Snapshots**: Captures images from any `camera` entity at a configurable interval (default: 60s).\n- **Hourly Timelapses**: Automatically compiles snapshots into an MP4 video at the end of every hour.\n- **Daily Merging**: Optionally merges hourly videos into a single daily timelapse file to reduce clutter.\n- **Gap Filling**: Checks for and generates missing hourly videos from looking back at existing snapshots (e.g., after a restart).\n- **Retention Management**: Configurable retention periods for raw snapshots and video files.\n- **High Efficiency**: Supports **H.264 (AVC)** and **H.265 (HEVC)** codecs for optimized file sizes.\n- **Customizable**: Adjustable frame rates (FPS) and output paths.\n\n## Installation\n\n### Option 1: HACS (Recommended)\n\n1.  Open HACS in Home Assistant.\n2.  Go to **Integrations** \u003e **Triple dots** (top right) \u003e **Custom repositories**.\n3.  Paste the repository URL: `https://github.com/tolwi/hassio-camlapse` into the **Repository** field.\n4.  Select **Integration** as the **Category**.\n5.  Click **Add**.\n6.  Close the custom repositories dialog.\n7.  Search for **Hassio CamLapse** and click **Download**.\n8.  Restart Home Assistant.\n\n### Option 2: Manual Installation\n\n1.  Download the `custom_components/hassio_camlapse` folder from this repository.\n2.  Copy the folder into your Home Assistant's `config/custom_components/` directory.\n3.  Restart Home Assistant.\n\n## Configuration\n\n**Hassio CamLapse** is configured entirely via the Home Assistant UI.\n\n1.  Go to **Settings** \u003e **Devices \u0026 Services**.\n2.  Click **Add Integration**.\n3.  Search for **Hassio CamLapse**.\n4.  Follow the setup wizard.\n\n### Configuration Options\n\n| Option                 | Description                                               | Default            |\n| :--------------------- | :-------------------------------------------------------- | :----------------- |\n| **Camera Entity**      | The camera entity id to capture snapshots from.           | Required           |\n| **Interval**           | Time in seconds between snapshots.                        | `60`               |\n| **Snapshot Path**      | Base path. Files saved in `\u003cpath\u003e/\u003ccamera_id\u003e/snapshots`. | `/media/timelapse` |\n| **Video Path**         | Base path. Files saved in `\u003cpath\u003e/\u003ccamera_id\u003e/videos`.    | `/media/timelapse` |\n| **Output FPS**         | Frames per second for the output video.                   | `10`               |\n| **Codec**              | Video codec to use (`libx264` or `libx265`).              | `H.264 (AVC)`      |\n| **Snapshot Retention** | Number of days to keep raw images.                        | `7`                |\n| **Video Retention**    | Number of days to keep video files.                       | `30`               |\n| **Videos Per Day**     | Set to `1` to merge hourly videos into a daily file.      | `1`                |\n\n## How It Works\n\n1.  **Snapshotting**: The integration triggers `camera.snapshot` for your selected entity at the defined interval. Files are saved in `Snapshot Path/{camera_name}/snapshots/YYYY-MM-DD/HH/`.\n2.  **Hourly Generation**: At the start of a new hour, it checks the previous hour's folder. If snapshots exist, it uses `ffmpeg` to compile them into `timelapse_YYYY-MM-DD_HH.mp4`.\n3.  **Backlog Check**: Periodically checks for past hours that have snapshots but missing videos and generates them.\n4.  **Merging**: If \"Videos Per Day\" is set to 1, hourly videos are appended to a daily `timelapse_YYYY-MM-DD.mp4` file and the hourly file is deleted.\n5.  **Cleanup**: Old snapshots and videos exceeding the retention period are automatically deleted.\n\n## Troubleshooting\n\n- **Videos not generating**: Ensure `ffmpeg` is installed and accessible in your Home Assistant environment (standard in HAOS/Supervised).\n- **Permissions**: Ensure the `Snapshot Path` and `Video Path` are writable by Home Assistant.\n- **Logs**: Check **Settings** \u003e **System** \u003e **Logs** for entries involved with `hassio_camlapse` for error details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolwi%2Fhassio-camlapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftolwi%2Fhassio-camlapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftolwi%2Fhassio-camlapse/lists"}