{"id":23878329,"url":"https://github.com/adnervl/gps-data","last_synced_at":"2026-04-18T14:31:25.207Z","repository":{"id":267864744,"uuid":"902539858","full_name":"AdnerVL/GPS-Data","owner":"AdnerVL","description":"A PowerShell script for retrieving GPS data from Location Sensors on Windows. Seamlessly captures location information through Windows Location API and direct COM port reading. Designed for easy GPS tracking, with automatic COM port detection and support for multiple data sources. ","archived":false,"fork":false,"pushed_at":"2024-12-16T19:53:27.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T14:59:31.285Z","etag":null,"topics":["com-port","gps","gps-data","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/AdnerVL.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":"2024-12-12T19:08:33.000Z","updated_at":"2024-12-16T19:53:31.000Z","dependencies_parsed_at":"2024-12-12T23:17:57.652Z","dependency_job_id":"2a52376c-182c-4358-b43d-65ceea10f5a0","html_url":"https://github.com/AdnerVL/GPS-Data","commit_stats":null,"previous_names":["adnervl/gps-data"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AdnerVL/GPS-Data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdnerVL%2FGPS-Data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdnerVL%2FGPS-Data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdnerVL%2FGPS-Data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdnerVL%2FGPS-Data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdnerVL","download_url":"https://codeload.github.com/AdnerVL/GPS-Data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdnerVL%2FGPS-Data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31972242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["com-port","gps","gps-data","windows"],"created_at":"2025-01-03T21:19:36.959Z","updated_at":"2026-04-18T14:31:25.191Z","avatar_url":"https://github.com/AdnerVL.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPS Data Reader for Location COM Devices 🌐📡🛰️\n\n## Description 📝🗺️\n\nThis PowerShell script suite is designed to retrieve and display GPS data from Location COM devices on Windows systems. It utilizes:\n\n- **Windows Location API** 🌍🧭 to fetch processed location data if available.\n- **COM Port Reading** 🔌📟 to capture raw NMEA sentences from GPS devices connected via serial ports.\n\n## Disclaimer 🤖🚧\n\n**AI-Assisted Development** 🤝💡 This script was created with significant assistance from AI technologies. As the creator is not a professional PowerShell or software developer, the code reflects a collaborative approach between human intent and AI-generated solution.\n\n## Features 🌟🔍\n\n- **Automatic COM Port Detection** 📋🔎: Scans for and lists all available COM ports.\n- **Multiple Data Sources** 🔄🌈:\n  - Windows Location Service for high-level location data.\n  - Direct COM port reading for raw GPS data (NMEA sentences).\n\n## How to Use 🛠️👨‍💻\n\n### Prerequisites ✔️🏁\n\n- Windows OS with PowerShell 5.1 or higher 💻\n- Administrative privileges might be necessary for accessing COM ports 🔐\n\n### Installation 💾\nNo installation required; just run the script from PowerShell:\n\n1. **Download or copy the script** 📥 to your local machine.\n2. **Open PowerShell** 🖥️ as an Administrator if you encounter permission issues.\n\n### Usage Steps 🚶‍♂️📝\n\n1. **Open PowerShell** and navigate to the directory containing the script:\n   ```powershell\n   cd \"path\\to\\your\\script\\directory\"\n   ```\n\n2. **Run the script**:\n   ```powershell\n   .\\GPSDataReader.ps1\n   ```\n\n## Outcome 📜🌍\n - Try to fetch location data via the Windows Location API. 🗺️\n - Scan for all available COM ports and attempt to read NMEA data from each.🔍\n\n## Notes 📌🔬\n - COM Ports: 🔌 The script assumes a baud rate of 9600. Adjust this in the script if your device uses a different rate.\n - Data Output: 📊 Raw NMEA data might not be formatted; you'll see whatever comes through the port.\n - Error Handling: 🚨 Basic error handling is implemented, but you might encounter issues if ports are in use or not configured correctly.\n\n## Customization 🔧🛠️\n- Baud Rate: Change the $baudRate parameter in the Get-NmeaDataFromComPort function.\n- Timeout: Adjust the ReadTimeout in the COM port reading function to optimize for your hardware.\n\n## Troubleshooting 🚨🕵️‍♀️\n\n### Common Issues 🔍🧩\nNo Data Detected 📡❌\n\n - Verify GPS sensor power and connection 🔋🔌\n - Check Device Manager for port conflicts 💻🚧\n - Ensure no other applications are using the COM port 🖥️🔒\n\n### Permission Errors 🔐🚫\n\n - Run PowerShell as Administrator 👑💻\n - Verify user has necessary system permissions 🛡️👤\n - Check Windows Location Service settings ⚙️🌐\n\n### Performance Problems 🐌⏱️\n\n - Increase ReadTimeout for slower devices 🕰️🐢\n - Verify device-specific communication parameters 📊🔧\n\n## License 📜⚖️\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.\n\n## Contributions 💡🤝\nPull requests are welcome! 🎉  For major changes, please open an issue first to discuss what you would like to change.\n\nHappy GPS tracking! 🚀🌍🛰️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnervl%2Fgps-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadnervl%2Fgps-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnervl%2Fgps-data/lists"}