{"id":16188172,"url":"https://github.com/pakastin/homebridge-ruuvitag","last_synced_at":"2025-03-16T00:09:50.985Z","repository":{"id":48792596,"uuid":"124149065","full_name":"pakastin/homebridge-ruuvitag","owner":"pakastin","description":"Ruuvitag bridge for Homebridge (Apple HomeKit)","archived":false,"fork":false,"pushed_at":"2024-09-14T22:16:09.000Z","size":84,"stargazers_count":51,"open_issues_count":10,"forks_count":7,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-01T00:18:48.284Z","etag":null,"topics":["home-automation","homebridge","homebridge-plugin","humidity","javascript","nodejs","raspberry","temperature"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pakastin.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}},"created_at":"2018-03-06T22:57:32.000Z","updated_at":"2024-12-15T09:03:17.000Z","dependencies_parsed_at":"2024-11-09T18:02:49.668Z","dependency_job_id":null,"html_url":"https://github.com/pakastin/homebridge-ruuvitag","commit_stats":{"total_commits":73,"total_committers":2,"mean_commits":36.5,"dds":0.0273972602739726,"last_synced_commit":"a23ed2056a2ebb1f521cdf4ba024e723f0efd51b"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fhomebridge-ruuvitag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fhomebridge-ruuvitag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fhomebridge-ruuvitag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fhomebridge-ruuvitag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pakastin","download_url":"https://codeload.github.com/pakastin/homebridge-ruuvitag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806070,"owners_count":20350775,"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":["home-automation","homebridge","homebridge-plugin","humidity","javascript","nodejs","raspberry","temperature"],"created_at":"2024-10-10T07:25:20.484Z","updated_at":"2025-03-16T00:09:50.953Z","avatar_url":"https://github.com/pakastin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homebridge-ruuvitag\n\nWith this [Homebridge](https://github.com/nfarina/homebridge) plugin you can use [RuuviTags](https://tag.ruuvi.com/) with [Apple HomeKit](https://www.apple.com/ios/home/).\n\n## Updates\n- 5.0.0: Added ruuvitag version 5 support\n- 2.3.0: Updated ruuvitag support\n- 1.8.0: Fixed flooding issue and added `frequency` (update frequency) parameter\n- 1.7.0: Added support for latest Node.js versions!\n- 1.5.0: [Humidity triggers!](https://github.com/pakastin/homebridge-ruuvitag/releases/tag/v1.5.0)\n- 1.4.0: [Disable temp/humidity](https://github.com/pakastin/homebridge-ruuvitag/releases/tag/v1.4.0)\n- 1.3.1: [Enhanced movement formula](https://github.com/pakastin/homebridge-ruuvitag/releases/tag/v1.3.1)\n- 1.3.0: [Motion triggers!](https://github.com/pakastin/homebridge-ruuvitag/releases/tag/v1.3.0)\n- 1.2.0: [You can now set up heat and cold triggers](https://github.com/pakastin/homebridge-ruuvitag/releases/tag/v1.2.0)\n- 1.1.0: [Show battery level + low battery warning](https://github.com/pakastin/homebridge-ruuvitag/releases/tag/v1.1.0)\n\n## Installation\nFirst, install [Node.js](https://nodejs.org/) [Avahi](https://www.avahi.org/) (Homebridge might need this), [Homebridge](https://github.com/nfarina/homebridge) and this plugin:\n```bash\n# install Avahi if needed\nsudo apt-get install libavahi-compat-libdnssd-dev\n\n# install Node.js\ncurl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - \u0026\u0026\\\nsudo apt-get install -y nodejs\n\n# install homebridge + homebridge-ruuvitag\nsudo npm i -g homebridge\nsudo npm i -g homebridge-ruuvitag\n```\n\n## Find out Ruuvitag ID's\nYou can find out Ruuvitag ID's by running [`ruuvitag-debug`](https://github.com/pakastin/ruuvitag-debug):\n```bash\nnpx ruuvitag-debug\n```\n\n## Config\n\nCreate a [`~/.homebridge/config.json`](https://github.com/nfarina/homebridge/blob/master/config-sample.json) file\n(change ID's and add/remove tags as necessary):\n\n```json\n{\n  \"bridge\": {\n    \"name\": \"Ruuvi\",\n    \"username\": \"CC:22:3D:E3:CE:30\",\n    \"port\": 51826,\n    \"pin\": \"031-45-154\"\n  },\n\n  \"description\": \"RuuviTag bridge\",\n\n  \"accessories\": [\n    {\n      \"accessory\": \"Ruuvitag\",\n      \"name\": \"Ruuvi 1\",\n      \"id\": \"ca67bf52ca12\"\n    },\n    {\n      \"accessory\": \"Ruuvitag\",\n      \"name\": \"Ruuvi 2\",\n      \"id\": \"fa81b4c6a891\"\n    },\n    {\n      \"accessory\": \"Ruuvitag\",\n      \"name\": \"Ruuvi 3\",\n      \"id\": \"ac67df12bb34\"\n    }\n  ]\n}\n```\n\n### Socket option\n\nYou can listen to RuuviTag update events emitted from a [socket server](https://github.com/klaalo/ifData/tree/master/tagSocket) instead of using Bluetooth. This is signalled by adding a configuration parameter for the accessory.\n\n```json\n\"socket\": \"http://raspberrypi.local:8787\"\n```\n\n## Run\n\nNow you can run Homebridge:\n```bash\nhomebridge\n```\n\n## Start on startup\n\nInstall pm2:\n```bash\nnpm -g i pm2\n```\n\nStart with pm2 and save as daemon:\n```\npm2 start homebridge\npm2 save\npm2 startup\n```\n## Supported features\n- temperature\n- humidity\n- battery level\n- battery level alert\n- heat alert\n- cold alert\n- high humidity alert\n- low humidity alert\n- motion alert\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpakastin%2Fhomebridge-ruuvitag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpakastin%2Fhomebridge-ruuvitag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpakastin%2Fhomebridge-ruuvitag/lists"}