{"id":28796180,"url":"https://github.com/bocaletto-luca/start-home-security-system","last_synced_at":"2026-04-30T06:32:47.327Z","repository":{"id":298791871,"uuid":"1001157360","full_name":"bocaletto-luca/Start-Home-Security-System","owner":"bocaletto-luca","description":"SmartHomeSecurity, Concept A 24/7 home security solution that detects:  Intrusion via PIR motion sensor Door/window open via magnetic reed switch Gas leak via MQ-2 combustible gas sensor When any alarm triggers, the system sounds a buzzer, flashes an LED, and sends a push notification to your smartphone via Blynk.","archived":false,"fork":false,"pushed_at":"2025-06-13T22:07:48.000Z","size":20,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-30T06:32:45.700Z","etag":null,"topics":["arduino","bocaletto-luca","home-security","home-security-system","openhardware","opensource","security-system","smart-home-security","standalone","start-home"],"latest_commit_sha":null,"homepage":"https://bocaletto-luca.github.io/","language":"C++","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/bocaletto-luca.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}},"created_at":"2025-06-12T23:16:51.000Z","updated_at":"2026-03-12T23:21:16.000Z","dependencies_parsed_at":"2025-06-13T00:29:51.580Z","dependency_job_id":"cf09d45b-fc50-4083-ac5d-ff5f5046e085","html_url":"https://github.com/bocaletto-luca/Start-Home-Security-System","commit_stats":null,"previous_names":["bocaletto-luca/start-home-security-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bocaletto-luca/Start-Home-Security-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FStart-Home-Security-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FStart-Home-Security-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FStart-Home-Security-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FStart-Home-Security-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bocaletto-luca","download_url":"https://codeload.github.com/bocaletto-luca/Start-Home-Security-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FStart-Home-Security-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32457110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["arduino","bocaletto-luca","home-security","home-security-system","openhardware","opensource","security-system","smart-home-security","standalone","start-home"],"created_at":"2025-06-18T03:11:26.831Z","updated_at":"2026-04-30T06:32:47.313Z","avatar_url":"https://github.com/bocaletto-luca.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Home Security System\n#### Author: Bocaletto Luca\n\n**Files**  \n- `README.md`  \n- `SmartHomeSecurity.ino`\n\n## 1. Concept  \nA 24/7 home security solution that detects:  \n- **Intrusion** via PIR motion sensor  \n- **Door/window open** via magnetic reed switch  \n- **Gas leak** via MQ-2 combustible gas sensor  \nWhen any alarm triggers, the system sounds a buzzer, flashes an LED, and sends a push notification to your smartphone via Blynk.\n\n## 2. Bill of Materials  \n- 1 × NodeMCU ESP8266 board  \n- 1 × PIR motion sensor (HC-SR501)  \n- 1 × Magnetic reed switch + magnet  \n- 1 × MQ-2 gas sensor module + pull-down resistor (10 kΩ)  \n- 1 × Active buzzer  \n- 1 × LED (5 mm) + resistor (220 Ω)  \n- 1 × Breadboard + jumper wires  \n- 1 × USB cable for power/programming  \n- **Software**: Blynk app (iOS/Android), Blynk library\n\n## 3. Wiring  \n\n    NodeMCU ESP8266            Sensor/Actuator\n    ┌─────────────────┐        ┌───────────────┐\n    │    VIN (5 V) ──► Vcc     │ PIR motion     │\n    │    GND ────────► GND     │ PIR motion     │\n    │    D5 ────────► OUT      │ PIR motion     │\n    ├─────────────────┤       \n    │    3V3 ────────► Vcc     │ MQ-2 gas       │\n    │    GND ────────► GND     │ MQ-2 gas       │\n    │    A0 ────────► AO       │ MQ-2 gas       │\n    ├─────────────────┤       \n    │    D6 ────────► one side │ Reed switch    │\n    │    GND ────────► other   │ Reed switch    │\n    ├─────────────────┤       \n    │    D7 ────────► Anode    │ LED (+ 220 Ω)   │\n    │    GND ────────► Cathode │ LED             │\n    ├─────────────────┤       \n    │    D8 ────────► +        │ Buzzer (+)      │\n    │    GND ────────► –        │ Buzzer (–)      │\n    └─────────────────┘       \n\n\u003e **Note:** MQ-2 analog output goes to A0. Adjust its onboard potentiometer for threshold.\n\n## 4. Blynk Setup  \n1. Install the Blynk app on your phone.  \n2. Create a new “Device”: select **ESP8266**, connection **Wi-Fi**.  \n3. Copy the **Auth Token** emailed to you.  \n4. In the app, add a **Notification** widget.\n\n## 5. Usage  \n1. Edit `SmartHomeSecurity.ino` with your `WIFI_SSID`, `WIFI_PASS` and `BLYNK_AUTH`.  \n2. Open project folder in Arduino IDE.  \n3. Install libraries:  \n   - **Blynk** (BlynkSimpleEsp8266)  \n4. Select **NodeMCU 1.0 (ESP-12E Module)**, correct port.  \n5. Compile \u0026 Upload.  \n6. Open the Blynk app, start the dashboard.  \n7. Arm the system by resetting power; any motion, door-open, or gas leak triggers alarm and push notification.\n\n---  \nSay **continua** to move on to project #3!  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fstart-home-security-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbocaletto-luca%2Fstart-home-security-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fstart-home-security-system/lists"}