hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
552 stars 51 forks source link

Support Installing Different Plugin Versions #233

Closed rpolenthon closed 4 years ago

rpolenthon commented 4 years ago

Description

PUT http://hoobs.local/api/plugins/homebridge-homematic@0.0.110

returns

{ "error": "plugin can not be installed" }

but the plugin is installed on the requested version, defined with @0.0.110.

Version 3.0 Beta 69

mkellsy commented 4 years ago

Not a bug. This is a feature request.

mkellsy commented 4 years ago

The business case for this is this.

Plugins like homebridge-homematic are "slow rollers" their current latest version is 2 years old. Versions 0.0.110 - 1.1.2 are in beta and have been for the last 2 years. Users are installing the plugin using versions to bypass this.

The details screen needs to have support for versions. and the installer needs to support multiple @ symbols.

9SL9 commented 4 years ago

I'm trying to install the latest rc version of this without luck. npm i -g homebridge-tuya-lan@rc The currently published version 1.4 is broken

mkellsy commented 4 years ago

You will have to manually Install it. Here's the instructions. https://github.com/hoobs-org/HOOBS/wiki/4.0-Plugins

The important keys are

  1. Your current working directory needs to be ~/.hoobs
  2. Install without the -g flag
  3. You need to whitelist the plugin in the config.json
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mkellsy commented 4 years ago

Done in HOOBS Desktop and HOOBS Server