{"id":17973044,"url":"https://github.com/jnyjny/busylight-homebridge-plugin","last_synced_at":"2026-05-01T13:32:31.809Z","repository":{"id":42688482,"uuid":"306700093","full_name":"JnyJny/busylight-homebridge-plugin","owner":"JnyJny","description":"Bridges the Busylight for Humans™ web API to work with Apple HomeKit.","archived":false,"fork":false,"pushed_at":"2023-07-19T00:06:40.000Z","size":297,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T23:13:40.493Z","etag":null,"topics":["busylight-for-humans","homebridge","homebridge-plugin","homebridge-plugins","presence-light"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JnyJny.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}},"created_at":"2020-10-23T17:12:13.000Z","updated_at":"2024-05-31T08:40:00.000Z","dependencies_parsed_at":"2023-01-21T21:20:12.970Z","dependency_job_id":null,"html_url":"https://github.com/JnyJny/busylight-homebridge-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"homebridge/homebridge-plugin-template","purl":"pkg:github/JnyJny/busylight-homebridge-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fbusylight-homebridge-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fbusylight-homebridge-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fbusylight-homebridge-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fbusylight-homebridge-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JnyJny","download_url":"https://codeload.github.com/JnyJny/busylight-homebridge-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JnyJny%2Fbusylight-homebridge-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["busylight-for-humans","homebridge","homebridge-plugin","homebridge-plugins","presence-light"],"created_at":"2024-10-29T16:27:02.027Z","updated_at":"2026-05-01T13:32:31.769Z","avatar_url":"https://github.com/JnyJny.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n\n\u003cimg src=\"https://github.com/homebridge/branding/raw/master/logos/homebridge-wordmark-logo-vertical.png\" width=\"150\"\u003e\n\n\u003c/p\u003e\n\n\n# Homebridge Platform Plugin Template\n\nThis is a template Homebridge platform plugin and can be used as a base to help you get started developing your own plugin.\n\nThis template should be use in conjunction with the [developer documentation](https://developers.homebridge.io/). A full list of all supported service types, and their characteristics is available on this site.\n\n## Clone As Template\n\nClick the link below to create a new GitHub Repository using this template, or click the *Use This Template* button above.\n\n\u003cspan align=\"center\"\u003e\n\n### [Create New Repository From Template](https://github.com/homebridge/homebridge-plugin-template/generate)\n\n\u003c/span\u003e\n\n## Setup Development Environment\n\nTo develop Homebridge plugins you must have Node.js 12 or later installed, and a modern code editor such as [VS Code](https://code.visualstudio.com/). This plugin template uses [TypeScript](https://www.typescriptlang.org/) to make development easier and comes with pre-configured settings for [VS Code](https://code.visualstudio.com/) and ESLint. If you are using VS Code install these extensions:\n\n* [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n\n## Install Development Dependencies\n\nUsing a terminal, navigate to the project folder and run this command to install the development dependencies:\n\n```\nnpm install\n```\n\n## Update package.json\n\nOpen the [`package.json`](./package.json) and change the following attributes:\n\n* `name` - this should be prefixed with `homebridge-` or `@username/homebridge-` and contain no spaces or special characters apart from a dashes\n* `displayName` - this is the \"nice\" name displayed in the Homebridge UI\n* `repository.url` - Link to your GitHub repo\n* `bugs.url` - Link to your GitHub repo issues page\n\nWhen you are ready to publish the plugin you should set `private` to false, or remove the attribute entirely.\n\n## Update Plugin Defaults\n\nOpen the [`src/settings.ts`](./src/settings.ts) file and change the default values:\n\n* `PLATFORM_NAME` - Set this to be the name of your platform. This is the name of the platform that users will use to register the plugin in the Homebridge `config.json`.\n* `PLUGIN_NAME` - Set this to be the same name you set in the [`package.json`](./package.json) file. \n\nOpen the [`config.schema.json`](./config.schema.json) file and change the following attribute:\n\n* `pluginAlias` - set this to match the `PLATFORM_NAME` you defined in the previous step.\n\n## Build Plugin\n\nTypeScript needs to be compiled into JavaScript before it can run. The following command will compile the contents of your [`src`](./src) directory and put the resulting code into the `dist` folder.\n\n```\nnpm run build\n```\n\n## Link To Homebridge\n\nRun this command so your global install of Homebridge can discover the plugin in your development environment:\n\n```\nnpm link\n```\n\nYou can now start Homebridge, use the `-D` flag so you can see debug log messages in your plugin:\n\n```\nhomebridge -D\n```\n\n## Watch For Changes and Build Automatically\n\nIf you want to have your code compile automatically as you make changes, and restart Homebridge automatically between changes you can run:\n\n```\nnpm run watch\n```\n\nThis will launch an instance of Homebridge in debug mode which will restart every time you make a change to the source code. It will load the config stored in the default location under `~/.homebridge`. You may need to stop other running instances of Homebridge while using this command to prevent conflicts. You can adjust the Homebridge startup command in the [`nodemon.json`](./nodemon.json) file.\n\n## Customise Plugin\n\nYou can now start customising the plugin template to suit your requirements.\n\n* [`src/platform.ts`](./src/platform.ts) - this is where your device setup and discovery should go.\n* [`src/platformAccessory.ts`](./src/platformAccessory.ts) - this is where your accessory control logic should go, you can rename or create multiple instances of this file for each accessory type you need to implement as part of your platform plugin. You can refer to the [developer documentation](https://developers.homebridge.io/) to see what characteristics you need to implement for each service type.\n* [`config.schema.json`](./config.schema.json) - update the config schema to match the config you expect from the user. See the [Plugin Config Schema Documentation](https://developers.homebridge.io/#/config-schema).\n\n## Versioning Your Plugin\n\nGiven a version number `MAJOR`.`MINOR`.`PATCH`, such as `1.4.3`, increment the:\n\n1. **MAJOR** version when you make breaking changes to your plugin,\n2. **MINOR** version when you add functionality in a backwards compatible manner, and\n3. **PATCH** version when you make backwards compatible bug fixes.\n\nYou can use the `npm version` command to help you with this:\n\n```bash\n# major update / breaking changes\nnpm version major\n\n# minor update / new features\nnpm version update\n\n# patch / bugfixes\nnpm version patch\n```\n\n## Publish Package\n\nWhen you are ready to publish your plugin to [npm](https://www.npmjs.com/), make sure you have removed the `private` attribute from the [`package.json`](./package.json) file then run:\n\n```\nnpm publish\n```\n\nIf you are publishing a scoped plugin, i.e. `@username/homebridge-xxx` you will need to add `--access=public` to command the first time you publish.\n\n#### Publishing Beta Versions\n\nYou can publish *beta* versions of your plugin for other users to test before you release it to everyone.\n\n```bash\n# create a new pre-release version (eg. 2.1.0-beta.1)\nnpm version prepatch --preid beta\n\n# publsh to @beta\nnpm publish --tag=beta\n```\n\nUsers can then install the  *beta* version by appending `@beta` to the install command, for example:\n\n```\nsudo npm install -g homebridge-example-plugin@beta\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnyjny%2Fbusylight-homebridge-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnyjny%2Fbusylight-homebridge-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnyjny%2Fbusylight-homebridge-plugin/lists"}