{"id":26454995,"url":"https://github.com/aluedtke7/brifit_demo","last_synced_at":"2025-03-18T20:29:37.107Z","repository":{"id":283130880,"uuid":"950743048","full_name":"aluedtke7/brifit_demo","owner":"aluedtke7","description":"A Golang test program to read temperature and humidity from Brifit Bluetooth sensor","archived":false,"fork":false,"pushed_at":"2025-03-18T17:26:12.000Z","size":744,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T18:37:13.033Z","etag":null,"topics":["bluetooth","brifit","brifit-bluetooth-thermometer","go","golang","ws02"],"latest_commit_sha":null,"homepage":"","language":"Go","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/aluedtke7.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-18T16:09:49.000Z","updated_at":"2025-03-18T17:27:30.000Z","dependencies_parsed_at":"2025-03-18T18:41:56.098Z","dependency_job_id":"63a7fe91-9de1-4870-883e-325c68dd95b6","html_url":"https://github.com/aluedtke7/brifit_demo","commit_stats":null,"previous_names":["aluedtke7/brifit_demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aluedtke7%2Fbrifit_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aluedtke7%2Fbrifit_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aluedtke7%2Fbrifit_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aluedtke7%2Fbrifit_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aluedtke7","download_url":"https://codeload.github.com/aluedtke7/brifit_demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244300848,"owners_count":20430829,"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","brifit","brifit-bluetooth-thermometer","go","golang","ws02"],"created_at":"2025-03-18T20:29:36.524Z","updated_at":"2025-03-18T20:29:37.078Z","avatar_url":"https://github.com/aluedtke7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo to read temperature and humidity from a Brifit Bluetooth sensor\n\n## Overview\nThis little GO program will print the temperature and humidity of a Brifit Bluetooth sensor.\nI bought a pair on Amazon for 20 Euros.\n\nOutput\n````\n2025/03/18 17:29:48 Inside sensor:  AA:BB:CC:DD:EE:F0 - 0.000000 - 0.000000\n2025/03/18 17:29:48 Outside sensor: AA:BB:CC:DD:EE:F1 - 0.000000 - 0.000000\n2025/03/18 17:29:48   Inside Temp: 24.1°C - Hum: 29.6% - Bat: 3030 - RSSI: -61 - Uptime: 2d, 6h, 15m\n2025/03/18 17:29:53  Outside Temp: 23.6°C - Hum: 28.2% - Bat: 3060 - RSSI: -53 - Uptime: 2d, 0h, 43m\n````\n\nThe battery level is the 16-bit value without a conversion. I think it could be mV (milli Volt). RSSI is showing the \nsignal strength and the uptime shows the converted seconds. See comments in source code for details.\n\nThe sensors I bought have the model no. WS02, but other types will probably work the same.\n\n![](images/sensors.png)\n\n## Acknowledgements\nThe formula to convert the 16-bit value of temperature and humidity is from the github\nrepository [of user iskalchev](https://github.com/iskalchev/ThermoBeacon).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faluedtke7%2Fbrifit_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faluedtke7%2Fbrifit_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faluedtke7%2Fbrifit_demo/lists"}