在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:homebridge-nhc2/homebridge-nhc2开源软件地址:https://github.com/homebridge-nhc2/homebridge-nhc2开源编程语言:TypeScript 100.0%开源软件介绍:homebridge-nhc2As of October 29, 2019 Niko has published their Hobby API which allows end users to control their Niko Home Control 2 installation through the MQTT protocol. This homebridge plugin adds homekit support for a Niko Home Control 2 having the Hobby API defined as a connected service. Supported actions include:
ChangesYou can read the complete history of changes in the CHANGELOG. Known Issues
Project PrinciplesThis project has a few principles that have and will continue to guide its development.
ContributingContributions are welcome, particularly bug fixes and enhancements! Refer to our Contribution Guidelines for details.
Code of ConductBefore contributing or participating in the homebridge-nhc2 community please be sure to familiarize yourself with our project CODE OF CONDUCT. These guidelines are intended to govern interactions with and within the homebridge-nhc2 community. Hobby API DocumentationThe Hobby API encapusulated by this plugin is documented by Niko which can be found here Warranty DisclaimerYou may use this plugin with the understanding that doing so is AT YOUR OWN RISK. No warranty, express or implied, is made with regards to the fitness or safety of this code for any purpose. If you use this plugin to query or change settings of your installation you understand that it is possible to break your installation and may require the replace of devices or intervention of professionals of which costs cannot be returned by the project team. InstallationIn order to use the plugin you must first download and install it globally.
You may also install directly from the GitHub source. Either download and unzip the source, or clone the repository. Run the build command and pass the -P flag to homebridge to be able to locate the plugin. Connecting the Hobby APILogin in to mynikohomecontrol and add the Following options are available for configuring the plugin.
Add the plugin to the platforms section in your homebridge configuration file. "platforms": [
{
"platform" : "NHC2",
"name" : "NHC2",
"host": "<IP_ADDRESS_OF_YOUR_CONNECTED_CONTROLLER>",
"password": "<PASSWORD_PROVIDED_BY_MYNIKOHOMECONTROLL>"
}
]
More Configuration OptionsVerbose LoggingAnother configuration option is de Suppressing AccessoriesBesides the required "platforms": [
{
"platform" : "NHC2",
"name" : "NHC2",
"host": "<IP_ADDRESS_OF_YOUR_CONNECTED_CONTROLLER>",
"password": "<PASSWORD_PROVIDED_BY_MYNIKOHOMECONTROLL>",
"suppressedAccessories": [
"fa33d687-9225-4f9e-b55e-013abb69b42e"
]
}
] This allows for not exposing certain accessories to Homebrigde (and therefore also the Home app). This feature can be useful when sharing access to the Home app with others. Plugin DevelopmentWhen working on this plugin, you'll want Homebridge to load it from your development directory instead of publishing it to Run this command inside your plugin project folder so your global install of Homebridge can discover it: npm link You can undo this using the Then start Homebridge in debug mode: homebridge -D This will start up Homebridge and load your in-development plugin. Note that you can also direct Homebridge to load your configuration from somewhere besides the default homebridge -D -U ./homebridge-dev This is very useful when you are already using your development machine to host a "real" Homebridge instance (with all your accessories) that you don't want to disturb. Releasing a new versionTo release a new version it is sufficient to bump the version number, and make sure to push the tagged commit. Travis CI will recognize the tagged commit and publish the package to npmjs. npm version 2.0.0 Please make sure your released version is supported by HOOBS, you can run HOOBS as a docker container for testing purposes.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论