{"id":19536700,"url":"https://github.com/philipptrenz/bosch-glm-rangefinder","last_synced_at":"2025-04-26T14:36:48.673Z","repository":{"id":136314945,"uuid":"132775531","full_name":"philipptrenz/BOSCH-GLM-rangefinder","owner":"philipptrenz","description":"Python script to remote control a BOSCH GLM 100C rangefinder via its Bluetooth serial interface","archived":true,"fork":false,"pushed_at":"2024-07-03T08:57:01.000Z","size":16,"stargazers_count":66,"open_issues_count":0,"forks_count":24,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-21T22:07:58.304Z","etag":null,"topics":["bluetooth","bosch","distance-measures","glm100c","rangefinder","remote","serial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philipptrenz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-09T15:14:54.000Z","updated_at":"2025-03-24T14:51:49.000Z","dependencies_parsed_at":"2023-10-21T12:42:22.176Z","dependency_job_id":null,"html_url":"https://github.com/philipptrenz/BOSCH-GLM-rangefinder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipptrenz%2FBOSCH-GLM-rangefinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipptrenz%2FBOSCH-GLM-rangefinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipptrenz%2FBOSCH-GLM-rangefinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipptrenz%2FBOSCH-GLM-rangefinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philipptrenz","download_url":"https://codeload.github.com/philipptrenz/BOSCH-GLM-rangefinder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251001715,"owners_count":21521000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bluetooth","bosch","distance-measures","glm100c","rangefinder","remote","serial"],"created_at":"2024-11-11T02:23:58.789Z","updated_at":"2025-04-26T14:36:48.405Z","avatar_url":"https://github.com/philipptrenz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BOSCH GLM rangefinder\n\n**Please note:** This repository is no longer maintained and unfortunately I cannot provide support for it.\n\nPython3 script to remote control a BOSCH GLM 100C or GLM 50C rangefinder.\n\nThis script provides remote control features for the BOSCH GLM 100C/50C measuring device via its Bluetooth serial interface. The device uses the transfer protocol as described [in this blog post](https://www.eevblog.com/forum/projects/hacking-the-bosch-glm-20-laser-measuring-tape/msg1331649/#msg1331649).\n\nAs the protocol seems to be identical for various Bosch measuring devices this script could also work for Bluetooth enabled rangefinders like PLR30C, PLR40C or PLR50C. If so please let me know!\n\n## Features\n\n* measure (returns distance millimeters)\n* turn laser on and off\n* turn display backlight on and off\n\n## Dependencies\n\nThe script was only tested on Windows. But since the Python module used is multi-platform, it should also support Linux and MacOS. See [pybluez](https://github.com/pybluez/pybluez) for further information.\n\n\nInstall `pybluez` for the Python3 interpreter via `pip`:\n\n```bash\npip3 install pybluez\n```\n\n## Run the script\n\n### Use the command line tool\n\n```bash\npython3 glm100c.py\n```\n\nInstructions on how to use get printed to the command line.\n\n### Import into your project\n\n```python\nfrom glm100c import GLM100C\n\nrangefinder = GLM100C()\nif not rangefinder.connected: exit(1) \n\ndistance = rangefinder.measure_from_tripod_socket()\nif distance is not -1: print(distance, 'mm')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipptrenz%2Fbosch-glm-rangefinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilipptrenz%2Fbosch-glm-rangefinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipptrenz%2Fbosch-glm-rangefinder/lists"}