{"id":46781275,"url":"https://github.com/tedski999/bangnet","last_synced_at":"2026-03-10T00:08:40.405Z","repository":{"id":220593072,"uuid":"752036831","full_name":"tedski999/bangnet","owner":"tedski999","description":"Using networks of highly remote LoRa devices to trilaterate the source of loud bangs for early detection of lightning-strike wildfires, as part of a group project for CS7NS2 Internet of Things.","archived":false,"fork":false,"pushed_at":"2024-04-03T13:18:56.000Z","size":2533,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-20T22:56:44.079Z","etag":null,"topics":["iot","lora"],"latest_commit_sha":null,"homepage":"","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/tedski999.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2024-02-02T21:46:25.000Z","updated_at":"2024-07-15T05:31:24.000Z","dependencies_parsed_at":"2024-02-23T02:24:48.520Z","dependency_job_id":"be4da2e9-5f19-4651-89c7-612937691ce2","html_url":"https://github.com/tedski999/bangnet","commit_stats":null,"previous_names":["tedski999/bangnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tedski999/bangnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedski999%2Fbangnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedski999%2Fbangnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedski999%2Fbangnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedski999%2Fbangnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tedski999","download_url":"https://codeload.github.com/tedski999/bangnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedski999%2Fbangnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30317776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"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","lora"],"created_at":"2026-03-10T00:08:39.635Z","updated_at":"2026-03-10T00:08:40.401Z","avatar_url":"https://github.com/tedski999.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bangnet\n\n![Latest Build](https://github.com/tedski999/bangnet/actions/workflows/firmware_build.yml/badge.svg?branch=master\u0026event=push)\n![Latest Tag](https://github.com/tedski999/bangnet/actions/workflows/ota_patch_build.yml/badge.svg?branch=master\u0026event=push)\n\nUsing networks of LoRa devices to triangulate the source of loud bangs. Designed and implemented in partial fulfilment of coursework for [CS7NS2 Internet of Things](https://teaching.scss.tcd.ie/module/cs7ns2-internet-of-things/).\n\n# Outline\nAgainst the backdrop of global climate change and frequent natural disasters, the BangNet project utilises advanced IoT technology and cloud computing capabilities with the goal of early detection of lightning-strike induced wildfires. For our IoT devices, we developed ESP32 firmware to detect thunder, upload timestamps and capture images, drive servomotors, communicate over LoRa and perform remote delta-encoded firmware patching. For our cloud application, we built an AWS-based platform that enables computation of precise lightning strike locations and fire risk assessment. The success of the project not only proves the application potential of IoT and cloud computing in the field of disaster prevention, but also has provided us with valuable experience in technological innovation and teamwork.\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for tips on how to work on this project.\n\n## Getting Started\n\n### Prerequisites\n\n```sh\ngit clone --recursive -b release/v5.1 https://github.com/espressif/esp-idf.git\n./esp-idf/install.sh esp32\n. ./esp-idf/export.sh\n```\n\n### Building Firmware\n\n```sh\ngit clone --recursive https://github.com/tedski999/bangnet.git\nespsecure.py generate_signing_key --version 1 --scheme ecdsa256 bangnet/firmware/secure_boot_signing_key.pem\nln -s ../secure_boot_signing_key.pem bangnet/firmware/sensor/secure_boot_signing_key.pem\nln -s ../secure_boot_signing_key.pem bangnet/firmware/camera/secure_boot_signing_key.pem\nln -s ../secure_boot_signing_key.pem bangnet/firmware/servo/secure_boot_signing_key.pem\nidf.py --project-dir bangnet/firmware/sensor build\nidf.py --project-dir bangnet/firmware/camera build\nidf.py --project-dir bangnet/firmware/servo build\n```\n\n### Flashing Firmware\n\n```sh\nidf.py --port /dev/ttyUSBx --project-dir bangnet/firmware/sensor flash\nidf.py --port /dev/ttyUSBy --project-dir bangnet/firmware/camera flash\nidf.py --port /dev/ttyUSBz --project-dir bangnet/firmware/servo flash\n# Attach to serial of sensor: idf.py --port /dev/ttyUSBx monitor\n```\n\n## References\n\nGroup project for [CS7NS2 Internet of Things](https://teaching.scss.tcd.ie/module/cs7ns2-internet-of-things/) \\\nLicensed under [GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedski999%2Fbangnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftedski999%2Fbangnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedski999%2Fbangnet/lists"}