{"id":20365890,"url":"https://github.com/cycoresystems/motion-events","last_synced_at":"2026-05-28T20:31:25.010Z","repository":{"id":25098001,"uuid":"28519084","full_name":"CyCoreSystems/motion-events","owner":"CyCoreSystems","description":"Event handler for GNU Motion","archived":false,"fork":false,"pushed_at":"2020-09-14T20:01:07.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-27T14:48:34.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/CyCoreSystems.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}},"created_at":"2014-12-26T19:18:54.000Z","updated_at":"2020-09-14T20:01:10.000Z","dependencies_parsed_at":"2022-08-23T19:00:57.633Z","dependency_job_id":null,"html_url":"https://github.com/CyCoreSystems/motion-events","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CyCoreSystems/motion-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fmotion-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fmotion-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fmotion-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fmotion-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyCoreSystems","download_url":"https://codeload.github.com/CyCoreSystems/motion-events/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fmotion-events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33626137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T00:20:58.644Z","updated_at":"2026-05-28T20:31:24.953Z","avatar_url":"https://github.com/CyCoreSystems.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"cam event handler\n===\n\nReceives events from GNU `motion` and loads them into Redis.\n\nThe Redis schema contains three key patterns:\n\n*  `events:enum:\u003ccameraId\u003e:\u003cmotionEventNumber\u003e`\n   *  Temporary map of camera:motionEventId to event UUID\n   *  This handler will simply override any preexisting key\n   *  A TTL of 1 hour is set for auto-cleanup\n*  `events:time:\u003ccameraId\u003e`\n   *  Sorted set\n   *  Score is equal to the unix timestamp of the event\n   *  Value is the event UUID\n*  `events:data:\u003cevent-UUID\u003e`\n   *  Hash\n   *  Stores all the relevant data of the event\n      * `Timestamp`: Unix Timestamp of the event\n      * `Camera`: Camera id (thread number of `motion` config)\n      * `ImageFile`: Full path of the most significant image\n      * `VideoFile`: Full path of the video recording\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycoresystems%2Fmotion-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcycoresystems%2Fmotion-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycoresystems%2Fmotion-events/lists"}