{"id":28838406,"url":"https://github.com/azzycode/iot-sensor-dashboard","last_synced_at":"2026-04-06T08:01:12.362Z","repository":{"id":296079699,"uuid":"992236721","full_name":"AzzyCode/IoT-Sensor-Dashboard","owner":"AzzyCode","description":"Real-time IoT dashboard using ESP8266, MQTT, Flask to monitor and visualize sensor data securely.","archived":false,"fork":false,"pushed_at":"2025-05-28T21:09:27.000Z","size":975,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-19T13:12:18.530Z","etag":null,"topics":["dashboard","embedded-systems","esp8266","flask","iot","mqtt","raspberrypi","sensor-data"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AzzyCode.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-05-28T20:46:02.000Z","updated_at":"2025-05-28T21:12:14.000Z","dependencies_parsed_at":"2025-05-28T22:21:27.932Z","dependency_job_id":"05b487a9-ab41-41bb-97b5-c5ff52bad962","html_url":"https://github.com/AzzyCode/IoT-Sensor-Dashboard","commit_stats":null,"previous_names":["azzycode/iot-sensor-dashboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AzzyCode/IoT-Sensor-Dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzzyCode%2FIoT-Sensor-Dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzzyCode%2FIoT-Sensor-Dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzzyCode%2FIoT-Sensor-Dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzzyCode%2FIoT-Sensor-Dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AzzyCode","download_url":"https://codeload.github.com/AzzyCode/IoT-Sensor-Dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzzyCode%2FIoT-Sensor-Dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["dashboard","embedded-systems","esp8266","flask","iot","mqtt","raspberrypi","sensor-data"],"created_at":"2025-06-19T13:02:48.109Z","updated_at":"2026-04-06T08:01:12.353Z","avatar_url":"https://github.com/AzzyCode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IoT Real-Time Sensor Dashboard\n\nIoT monitoring system that collects environmental data from sensor and displays it through a web-based dashboard with real-time visualization. This project demonstrates full-stack IoT development, from embedded hardware programming to web application deployment.\n\n## 🌟 Project Overview\n\nThis system monitors environmental conditions (temperature and humidity) using ESP8266 microcontrollers with DHT11 sensors, transmitting data wirelessly via MQTT protocol to a Raspberry Pi 4 server. The data is stored in a MariaDB database and displayed through a responsive Flask web application with real-time charts and user authentication.\n\n\n## ✨ Key Features\n\n- **Real-time sensor data collection** from multiple ESP8266 nodes\n- **Wireless communication** using secure MQTT over TLS\n- **Live data visualization** with interactive Chart.js graphs\n- **User authentication system** with secure login/logout\n- **Responsive web interface** optimized for desktop and mobile\n- **Automatic data logging** to database with error handling\n- **Network-accessible dashboard** for remote monitoring\n- **SSL/TLS encryption** for secure web communications\n\n## 🛠️ Technologies Used\n\n### Hardware\n- **ESP8266 WiFi microcontrollers** - Sensor nodes\n- **DHT11 sensors** - Temperature and humidity measurement\n- **Raspberry Pi 4** - Server and database host\n\n\n## 🏃‍♂️ Running the Project\n\n1. **Start the MQTT listener:**\n   ```bash\n   python3 MQTT_server.py\n   ```\n\n2. **Launch the web application:**\n   ```bash\n   python3 app.py\n   ```\n\n3. **Access the dashboard:**\n   - Open browser to `https://[raspberry-pi-ip]:5001`\n   - Create user account or login\n   - View real-time sensor data and graphs\n\n4. **Power on ESP8266 sensors:**\n   - Sensors will automatically connect and start transmitting data\n   - Data updates every 10 seconds\n\n## 📊 System Architecture\n\n```\n[ESP8266 + DHT11] --WiFi--\u003e [MQTT Broker] ---\u003e [Python MQTT Client]\n                                                       |\n[Web Dashboard] \u003c--HTTP/HTTPS-- [Flask App] \u003c-- [MariaDB Database]\n```\n\n## 🎯 Challenges \u0026 Learning Outcomes\n\n**Technical Challenges Solved:**\n- Implemented secure MQTT communication with TLS certificates\n- Handled real-time data synchronization between system components\n- Designed UI with live chart updates without page refresh\n- Managed network configuration for cross-device communication\n\n**Key Learning:**\n- IoT system architecture and communication protocols\n- Full-stack web development with real-time features\n- Database design for time-series sensor data\n- Network security implementation in IoT environments\n- Embedded programming and sensor integration\n\n\n## 🤝 Project Context\n\nThis project was developed as part of an international university collaboration, demonstrating cross-cultural teamwork and technical knowledge sharing in IoT system development.\n\n## 📝 License\n\nThis project is available under the MIT License. See LICENSE file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazzycode%2Fiot-sensor-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazzycode%2Fiot-sensor-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazzycode%2Fiot-sensor-dashboard/lists"}