{"id":30109279,"url":"https://github.com/milan-sony/downdetect","last_synced_at":"2026-04-18T17:33:13.181Z","repository":{"id":305100946,"uuid":"1021915978","full_name":"milan-sony/DownDetect","owner":"milan-sony","description":"A lightweight Wi-Fi and Internet monitoring tool built using an ESP32 DEVKIT V1 board","archived":false,"fork":false,"pushed_at":"2025-07-18T07:31:35.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T03:44:45.329Z","etag":null,"topics":["arduino","esp32","esp32-arduino"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milan-sony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-18T06:41:18.000Z","updated_at":"2025-07-18T07:31:38.000Z","dependencies_parsed_at":"2025-07-18T11:03:58.970Z","dependency_job_id":null,"html_url":"https://github.com/milan-sony/DownDetect","commit_stats":null,"previous_names":["milan-sony/downdetect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/milan-sony/DownDetect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2FDownDetect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2FDownDetect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2FDownDetect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2FDownDetect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milan-sony","download_url":"https://codeload.github.com/milan-sony/DownDetect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2FDownDetect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31977969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: 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":["arduino","esp32","esp32-arduino"],"created_at":"2025-08-10T03:43:13.511Z","updated_at":"2026-04-18T17:33:13.176Z","avatar_url":"https://github.com/milan-sony.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📡 DownDetect\n\n**DownDetect** is a lightweight Wi-Fi and Internet monitoring tool built using an ESP32 DEVKIT V1 board. It continuously checks whether the device is connected to a Wi-Fi network and whether the internet is reachable (via ping), providing real-time feedback using the onboard LED and Serial Monitor.\n\n## 🧠 Features\n\n- ✅ Connects to specified Wi-Fi network\n- 📶 Checks Wi-Fi connection status every 5 seconds\n- 🌐 Pings Google DNS (8.8.8.8) to verify internet connectivity\n- 🔴 Blinks onboard LED if internet is down\n- 🔁 Reconnects automatically if Wi-Fi is disconnected\n- 🖨️ Logs SSID and IP address over Serial Monitor\n- 💡 Onboard LED Status:\n  - LED **OFF** = Wi-Fi and Internet OK\n  - LED **Blinking** = Internet not reachable\n  - LED **ON** = Wi-Fi disconnected\n\n## ⚙️ Hardware Required\n\n- [x] ESP32 DEVKIT V1\n- [x] Micro USB cable\n- [ ] Optionally: OLED display, buzzer, or SD card for future features\n\n## 📥 Library Dependencies\n\nMake sure the following libraries are installed in the Arduino IDE:\n\n- `WiFi.h` (comes with ESP32 board support)\n- `ESP32Ping.h`  \n  📦 Install via Arduino IDE:  \n  `Sketch \u003e Include Library \u003e Manage Libraries \u003e Search \"ESP32Ping\" \u003e Install`\n  - If the Library Manager doesn’t show ESP32Ping, you can install it manually: checkout this [link](https://www.dfrobot.com/blog-1411.html?srsltid=AfmBOorOVuO_Zi6C25oXe5YApub4J2_B_4nCw63y4_OR5ALnmk9xciww)\n\n## 📦 Getting Started\n\n1. **Clone or download** this repository.\n2. **Open the code** in the Arduino IDE.\n3. Install **ESP32 board support** (if not already done):\n   - Go to **File \u003e Preferences**\n   - Add this URL in \"Additional Board Manager URLs\":\n     ```\n     https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json\n     ```\n   - Then go to **Tools \u003e Board \u003e Board Manager** and install **esp32 by Espressif Systems**.\n4. **Update Wi-Fi credentials**:\n   ```cpp\n   const char* ssid = \"YourWiFiName\";\n   const char* password = \"YourWiFiPassword\";\n5. Select board: Tools \u003e Board \u003e ESP32 Dev Module\n6. Upload the code to your ESP32\n7. Open Serial Monitor (baud rate: 115200) to see live logs\n\n## 🔁 Main Loop Behavior\n\n```\n----- Checking Network Status -----\n\nConnected to SSID: YourWiFiName\n\n✅ WiFi Connected\n\n✅ Internet is reachable (Ping OK)\n\n(OR)\n\n----- Checking Network Status -----\n\n✅ WiFi Connected\n\n❌ Internet NOT reachable!\n\n[LED blinks 2x]\n\n(OR)\n\n❌ WiFi Disconnected!\n\n[LED stays ON]\n\nReconnecting to WiFi...\n\n```\n\n## 🚀 Future Enhancements\n\n- 📲 Push alerts via Telegram or Webhooks\n- 🖥️ OLED display showing network status\n- 💾 Log outages to SD card or SPIFFS\n- 🔔 Buzzer alert on outage\n- 📊 Uptime analytics dashboard with web UI\n- 🔒 Captive Portal Wi-Fi configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-sony%2Fdowndetect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilan-sony%2Fdowndetect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-sony%2Fdowndetect/lists"}