{"id":20295224,"url":"https://github.com/alerrad/auto-gates-system","last_synced_at":"2026-04-12T12:32:45.185Z","repository":{"id":239717233,"uuid":"799824937","full_name":"alerrad/auto-gates-system","owner":"alerrad","description":"Just a fun little IoT project. Automatic gates with the logbook for opening timestamps.","archived":false,"fork":false,"pushed_at":"2024-05-28T12:42:08.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T09:54:05.222Z","etag":null,"topics":["arduino","blynk","esp8266","iot","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alerrad.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":"2024-05-13T07:12:11.000Z","updated_at":"2024-05-28T12:42:11.000Z","dependencies_parsed_at":"2024-05-28T15:46:52.565Z","dependency_job_id":null,"html_url":"https://github.com/alerrad/auto-gates-system","commit_stats":null,"previous_names":["alerrad/auto-gates-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Fauto-gates-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Fauto-gates-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Fauto-gates-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Fauto-gates-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alerrad","download_url":"https://codeload.github.com/alerrad/auto-gates-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241790611,"owners_count":20020699,"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":["arduino","blynk","esp8266","iot","mongodb","nodejs"],"created_at":"2024-11-14T15:33:51.037Z","updated_at":"2026-04-12T12:32:40.144Z","avatar_url":"https://github.com/alerrad.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automatic gates system\n\nJust a fun little IoT project. Automatic gates with the logbook for opening timestamps. Every record is stored in a cloud mongoDB Atlas.\n\n## Schematic \u0026 parts\nparts used:\n- breadboard *(x1)*\n- ESP8266 *(x1)*\n- Micro Servo 9g *(x1)*\n- RTC module - 2 *(x1)*\n- HC-SR04 *(x1)*\n- LEDs *(1 green and 1 red)*\n- Jumper wires\n\n## Logic\nOnce the ultrasonic sensor detecs an object (e.g. a car) it triggers servo motor to turn 90 degrees (kind of gates opening) and then the RTC module loggs the datetime which is then sent to REST API endpoint to further save it in a MongoDB cluster and sets \"open\" status in the blynk dashboard. Once the object is gone \"closed\" status is set in blynk console.\n\n## Running the REST nodejs API\nTo run the REST API locally you can build the dockerfile and run the container or simply run it via nodejs. Don't forget to set your own ENV variables as in [.env.example](./server/.env.example). Make sure that your ESP8266 is connected to the same WiFi as your machine running the REST API.\n\n## License\nThis repo is licensed under [MIT license](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falerrad%2Fauto-gates-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falerrad%2Fauto-gates-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falerrad%2Fauto-gates-system/lists"}