{"id":19240808,"url":"https://github.com/aharshac/smart-lock","last_synced_at":"2026-05-08T17:32:17.498Z","repository":{"id":93937854,"uuid":"101536170","full_name":"aharshac/smart-lock","owner":"aharshac","description":"Internet controlled lock example using NodeMCU and MQTT protocol","archived":false,"fork":false,"pushed_at":"2017-09-15T05:02:14.000Z","size":167,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-08T20:37:15.949Z","etag":null,"topics":["iot","mqtt","nodejs","nodemcu"],"latest_commit_sha":null,"homepage":null,"language":"Arduino","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/aharshac.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":"2017-08-27T07:13:51.000Z","updated_at":"2018-09-11T20:18:55.000Z","dependencies_parsed_at":"2023-08-28T03:03:00.926Z","dependency_job_id":null,"html_url":"https://github.com/aharshac/smart-lock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aharshac/smart-lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aharshac%2Fsmart-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aharshac%2Fsmart-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aharshac%2Fsmart-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aharshac%2Fsmart-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aharshac","download_url":"https://codeload.github.com/aharshac/smart-lock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aharshac%2Fsmart-lock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32790242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["iot","mqtt","nodejs","nodemcu"],"created_at":"2024-11-09T17:09:03.573Z","updated_at":"2026-05-08T17:32:17.489Z","avatar_url":"https://github.com/aharshac.png","language":"Arduino","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Lock\n[![Collaborizm](https://www.collaborizm.com/GitHubBadge.svg)](https://www.collaborizm.com/project/ByxePzrIW)\n\nInternet controlled lock example using NodeMCU and MQTT protocol.     \n    \nDemo control panel is hosted on [**Firebase**](https://smart-lock-hca.firebaseapp.com/) at https://smart-lock-hca.firebaseapp.com\n\n\u0026nbsp;\n\n## MQTT Broker\nWe're using [**CloudMQTT**](https://www.cloudmqtt.com/), but feel free to choose your provider.   \nThen update auth details in **`nodemcu_lock/nodemcu_lock.ino`** and **`web-panel/src/script.js`**\n\n\u0026nbsp;\n\n## NodeMCU\n1. Install NodeMCU board in Arduino IDE.    \nhttps://www.marginallyclever.com/2017/02/setup-nodemcu-drivers-arduino-ide/\n    \n2. Open **`nodemcu_lock/nodemcu_lock.ino`** in Arduino IDE.\n\n3. Install the following libraries.     \n    **`Sketch -\u003e Include library -\u003e Manage libraries`**.    \n    - [WiFiManager](https://github.com/tzapu/WiFiManager)       \n    - [PubSubClient](https://pubsubclient.knolleary.net/index.html)     \n\n4. Choose **`NodeMCU (probably 1.0 ESP-12E Module)`** in **`Tools -\u003e Board`**\n\n5. Compile and upload.\n    \n\u0026nbsp;\n\n## Web Control Panel\nFor testing, [**Node.js**](https://nodejs.org/) and [**NPM**](https://www.npmjs.com/files) are required.        \nFiles are statically served using the [**serve**](https://www.npmjs.com/package/serve) package.    \n\n### Installation\n```\ncd web-panel\nnpm install\n```\n\n### Start test server\n```\nnpm test\n```\n\n\u0026nbsp;\n\n## Acknowledgement\n[Claran Martis](https://www.collaborizm.com/profile/SJne7FcMg) -- idea and inspiration\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faharshac%2Fsmart-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faharshac%2Fsmart-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faharshac%2Fsmart-lock/lists"}