{"id":17366928,"url":"https://github.com/gabrielrf/alohomora","last_synced_at":"2025-05-05T23:41:46.530Z","repository":{"id":81479700,"uuid":"151439167","full_name":"GabrielRF/Alohomora","owner":"GabrielRF","description":"Opens ControlID IDFlex when sees movement","archived":false,"fork":false,"pushed_at":"2018-10-15T12:59:43.000Z","size":7237,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T00:51:11.538Z","etag":null,"topics":["controlid","docker","docker-image","idflex","synology","synology-nas"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GabrielRF.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}},"created_at":"2018-10-03T15:51:54.000Z","updated_at":"2024-11-29T15:34:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d611a62-e950-446e-a72c-14f5ae15e06d","html_url":"https://github.com/GabrielRF/Alohomora","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"1411118939986fc1ddf852c0d0770846c211c575"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FAlohomora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FAlohomora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FAlohomora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FAlohomora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielRF","download_url":"https://codeload.github.com/GabrielRF/Alohomora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252596320,"owners_count":21773842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["controlid","docker","docker-image","idflex","synology","synology-nas"],"created_at":"2024-10-15T22:10:56.611Z","updated_at":"2025-05-05T23:41:46.506Z","avatar_url":"https://github.com/GabrielRF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://dockerbuildbadges.quelltext.eu/status.svg?organization=gabrielrf\u0026repository=alohomora)](https://hub.docker.com/r/gabrielrf/alohomora/builds/)\n\n# Alohomora\n\n![Alohomora](img/alohomora.gif)\n\n* [About](#about)\n* [Setup](#setup)\n  * [Docker Compose](#docker-compose)\n  * [Python](#python)\n* [Contribute](#contribute)\n* [Contact](#contact-me)\n\n## About \n\nAlohomora is a Docker Container that opens a door if movement is detected. \n\nIn other words, it watches a folder where a CFTV camera saves video files and, if a video is created, the container sends a command to open the door. \n\nIt works on a ControlID IDFlex. A few changes are necessary to make it work on other ControlID models. \n\n## Setup\n\n### Docker Compose\n\n```\nalohomora:\n    image: gabrielrf/alohomora\n    environment:\n        - FOLDER=/\n        - EXTENSION=mp4\n        - DEVICE_IP=\n        - LOGIN=admin\n        - PASSWORD=\n    restart: always\n    volumes:\n        - host_folder:container_folder\n```\n\n`FOLDER`: Folder that will be monitored by the script. In case of a folder tree, set the top-level folder.\n\n`EXTENSION`: The extension of the file that should be sent. Usually `mp4` is the case.\n\n`DEVICE_IP`: The IP of the ControlID IDFlex.\n\n`LOGIN`: Web user of the ControlID. Default `admin`.\n\n`PASSWORD`: Password of the web user.\n\n### Python\n\nFirst:\n\n```\npip install inotify\n```\n\nOpen `alohomora.py` and fill the variables `FOLDER`, `EXTENSION`, `DEVICE_IP`, `LOGIN` and `PASSWORD`.\n\nThen:\n\n```\npython alohomora.py\n```\n\n## Contribute\n\nPull Requests and issues are always welcome!\n\n## Contact me\n\n\n[GabRF.com](https://gabrf.com)\n\n[@GabrielRF](https://t.me/gabrielrf) on Telegram.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Falohomora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielrf%2Falohomora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Falohomora/lists"}