@ubreu/homebridge-ibricks
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Homebridge iBricks Plugin

verified-by-homebridge

This is a Homebridge plugin for the iBricks system. When activated the iBricks server is added as a security system accessory to HomeKit and the plugin tracks the presence status of the system. With this plugin you can switch between 'home' (recording mode) and 'away' (play mode) states.

Configuration

The only configuration parameter is the URL of the iBricks server, e.g. http://192.168.1.10

Development

Setup Development Environment

You must have Node.js 18 or later installed. This plugin uses Nix flakes to provide the necessary development tools.

Install Development Dependencies

Using a terminal, navigate to the project folder and run this command to install the development dependencies:

$ npm install

Build Plugin

TypeScript needs to be compiled into JavaScript before it can run. The following command will compile the contents of your src directory and put the resulting code into the dist folder.

$ npm run build
$ npm run test

Publish Package

When you are ready to publish your plugin to npm, make sure you have removed the private attribute from the package.json file then run:

$ npm publish --access=public

You can publish beta versions of your plugin for other users to test before you release it to everyone.

# create a new pre-release version (eg. 2.1.0-beta.1)
$ npm version prepatch --preid beta

# publish to @beta
$ npm publish --tag=beta --access=public

Readme

Keywords

Package Sidebar

Install

npm i @ubreu/homebridge-ibricks

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Unpacked Size

49.9 kB

Total Files

36

Last publish

Collaborators

  • ubreu