{"id":16253561,"url":"https://github.com/pleft/puckjs_ruuvitag_scanner","last_synced_at":"2025-10-12T13:36:55.604Z","repository":{"id":75633903,"uuid":"86620864","full_name":"pleft/puckjs_ruuvitag_scanner","owner":"pleft","description":"Puck.js scanner for Ruuvitag beacons","archived":false,"fork":false,"pushed_at":"2017-03-29T20:08:22.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T13:36:55.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pleft.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":"2017-03-29T19:22:44.000Z","updated_at":"2017-10-09T03:14:11.000Z","dependencies_parsed_at":"2023-06-27T04:24:07.131Z","dependency_job_id":null,"html_url":"https://github.com/pleft/puckjs_ruuvitag_scanner","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"2566961775671f52ba1a0195c460d9ec92ec30e3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pleft/puckjs_ruuvitag_scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fpuckjs_ruuvitag_scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fpuckjs_ruuvitag_scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fpuckjs_ruuvitag_scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fpuckjs_ruuvitag_scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pleft","download_url":"https://codeload.github.com/pleft/puckjs_ruuvitag_scanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleft%2Fpuckjs_ruuvitag_scanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011451,"owners_count":26084947,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2024-10-10T15:17:47.959Z","updated_at":"2025-10-12T13:36:55.571Z","avatar_url":"https://github.com/pleft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# puckjs_ruuvitag_scanner\nPuck.js scanner for Ruuvitag beacons\n\nUse your [Puck.js](http://www.puck-js.com/) bluetooth beacon to scan and get info from nearby [Ruuvitag](https://ruuvitag.com/) bluetooth beacons.\n\n## Hardware prerequisites\nAs the name of the project implies, you need to have one Puck.js beacon and one or more Ruuvitag beacons.\n\n## Instructions\n* Have your Puck.js and Ruuvitag beacons in range.\n* Upload file PuckjsRuuvitagScanner.js in you Puck.js beacon.\n* Once uploaded, Puck.js will start to scan for Ruuvitag beacons and display info about them (Blue led will flash each time a scan is taking place).\n\n\n### Commands\n\nThe command to start scanning and show info is:\n\n`RuuviTagScanner.startScanning(function(tags) { console.log(tags); });`\n\nOutput will have the format (if two Ruuvitag beacons are in range):\n\n```[\n  RuuviTag {\n    \"macAddress\": \"f6:8c:ac:03:a6:73\",\n    \"name\": \"f6:8c:ac:03:a6:73\",\n    \"temperature\": 21, \n    \"humidity\": 52, \n    \"pressure\": 996 },\n  RuuviTag {\n    \"macAddress\": \"e4:b0:90:c7:12:a9\",\n    \"name\": \"e4:b0:90:c7:12:a9\",\n    \"temperature\": 21, \n    \"humidity\": 52, \n    \"pressure\": 996 }\n ]\n```\n\nOf course the callback function in `startScanning` method can be changed as per user desires.\n\nThe command to stop scanning is:\n\n`RuuviTagScanner.stopScanning();`\n\n## Acknowledgements\nTemperature, humidity and pressure data decoding algorithms have been sourced from another great github project [ruuvitag-sensor](https://github.com/ttu/ruuvitag-sensor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleft%2Fpuckjs_ruuvitag_scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpleft%2Fpuckjs_ruuvitag_scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleft%2Fpuckjs_ruuvitag_scanner/lists"}