{"id":27373453,"url":"https://github.com/monarch-ian471/energy_monitoring_system","last_synced_at":"2026-04-13T01:18:40.790Z","repository":{"id":287414581,"uuid":"964595903","full_name":"monarch-ian471/energy_monitoring_system","owner":"monarch-ian471","description":"Real-Time Monitoring System with Flutter app and Raspberry PI","archived":false,"fork":false,"pushed_at":"2025-12-24T07:57:26.000Z","size":17119,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T10:46:22.901Z","etag":null,"topics":["energy-monitor","fastapi","flutter-apps","python3","raspberry-pi-projects"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/monarch-ian471.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-11T13:18:39.000Z","updated_at":"2025-12-24T07:57:30.000Z","dependencies_parsed_at":"2025-07-19T08:23:15.960Z","dependency_job_id":"8766d8cf-8601-4797-9333-a248d86ba858","html_url":"https://github.com/monarch-ian471/energy_monitoring_system","commit_stats":null,"previous_names":["monarch-ian471/energy_monitoring_system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monarch-ian471/energy_monitoring_system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monarch-ian471%2Fenergy_monitoring_system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monarch-ian471%2Fenergy_monitoring_system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monarch-ian471%2Fenergy_monitoring_system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monarch-ian471%2Fenergy_monitoring_system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monarch-ian471","download_url":"https://codeload.github.com/monarch-ian471/energy_monitoring_system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monarch-ian471%2Fenergy_monitoring_system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"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":["energy-monitor","fastapi","flutter-apps","python3","raspberry-pi-projects"],"created_at":"2025-04-13T11:14:53.241Z","updated_at":"2026-04-13T01:18:40.761Z","avatar_url":"https://github.com/monarch-ian471.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Real-Time Energy Monitoring System**\n\nA system to monitor energy usage in real-time using a Raspberry Pi and a Flutter mobile\n\n**Overview**\n\n- Flutter App: Displays real-time energy data, historical charts, and generates PDF\n- Raspberry Pi Scripts: Collects energy data and serves it via an API\n\n**Directory Structure**\n\n- *flutter_app/*: Flutter application source code\n- *pi_scripts/*: Python scripts for the Raspberry Pi\n\n**Prerequisites**\n\n- Flutter: Stable channel (e.g., 3.22.x), Dart 3.x.\n- Python: 3.9+ on Raspberry Pi.\n- Raspberry Pi: Running Raspberry Pi OS 64-bit\n\n**Setup**\n**---**\n**Flutter App**\n1. Navigate to '*flutter_app/*':\n\tbash\n\t*cd flutter_app*\n\n2. Install dependencies:\n\tbash\n\t*flutter pub get*\n\n3. Update \u003cPi-IP\u003e in lib.main.dart with your Rasberry Pi's IP (e.g., *192.168.1.100*).\n\n4. Run on an emulator or device\n\tbash\n\t*flutter run --no-enable-impeller*\n\n**Raspberry Pi Scripts**\n1. Copy pi_scripts/ to your Raspberry Pi (e.g., */home/pi/*):\n\tbash\n\t*scp -r pi_scripts/ pi@\u003cpi-ip\u003e:~/*\n\n2. Install Python dependencies (e.g., *fastapi, uvicorn*):\n\tbash\n\t*pip3 install fastapi uvicorn*\n\n3. Run the energy monitoring scripts:\n\tbash\n\t*python3 ~/pi_scripts/energy_monitor.py*\n\n4. Run the API server\n\tbash\n\t*uvicorn pi_scripts.api:app --host 0.0.0.0 --port 8000*\n\n**Usage**\n- Launch the Fluuter app to view real-time energy data from the Pi.\n- Use the \"Refresh\" button to update data manually.\n- Generate PDF reports via the PDF icon.\n- Toggle \"Advanced Mode\" for future features.\n\n**Dependencies**\n- Flutter: http, sqflite, fl_chart, pdf, printing, path_provider, path.\n- Python: fastapi, uvicorn.\n\n**License**\n\nMIT License\n\nCopyright (c) 2025 Ian Katengeza\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonarch-ian471%2Fenergy_monitoring_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonarch-ian471%2Fenergy_monitoring_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonarch-ian471%2Fenergy_monitoring_system/lists"}