Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
homebridge-plugin-wrapper
Advanced tools
Wrapper for Homebridge and NodeJS-HAP with reduced dependencies that allows to intercept plugin values and also send to them
A wrapper to use Homebridge plugins without big dependecies in own projects
Homebridge is a great project with currently more than 1200 available plugins, and many active developers that provide integrations for many IoT devices.
So the idea was to allow other Node-JS based projects to use the work done by all the Homebridge-Plugin developers in their projects. I use it for ioBroker (https://iobroker.net).
Also, very important is to note, that this project will NOT provide any "Bridge", it just interacts on data level with the plugins.
This project contains copies and slightly changed files from Homebridge and HAP-NodeJS and only minimal dependencies. Especially the whole MDNS and Encryption stuff is not included because using the Wrapper is not publishing the bridge (because not needed).
The wrapper also uses the great "mock-require" module to further minimize dependencies for modules that are not needed in this usage. But this has a side-effect!! The following modules are not usable in your projects currently:
In the example folder you find a very easy example. For this to work please install homebridge-sun-position to your testing directory to get the needed plugin. Then you can start the example via node example.js, and it outputs all available characteristics. The example file also contain an example how to get and set a value.
Basically you create an object instance and providing a configuration object to the constructor. The configuration needs to have:
See the example file.
After that you can register to the following events:
To really start you call init method and at the end finish to clean up.
The example contains code how to get and set values.
This Wrapper is based on the outstanding work and code from the following projects:
This project uses copies of most of the code from both projects tp provide the functionality
FAQs
Wrapper for Homebridge and NodeJS-HAP with reduced dependencies that allows to intercept plugin values and also send to them
The npm package homebridge-plugin-wrapper receives a total of 37 weekly downloads. As such, homebridge-plugin-wrapper popularity was classified as not popular.
We found that homebridge-plugin-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.