bassrock / homebridge-flair

Homebridge Plugin for Flair Smart Vents
18 stars 6 forks source link

Not installing properly with HOOBS? #7

Closed SRamsdell1 closed 3 years ago

SRamsdell1 commented 4 years ago

I get a successful plugin installation message when installing, But no "Accessories" appear, and log file contains following tow errors ? 6/2/2020, 1:38:26 PM The requested platform "Flair" was not registered by any plugin. 6/2/2020, 1:38:26 PM Your config.json is requesting the platform "Flair" which has not been published by any installed plugins.

I've tried uninstall - reinstall, and rollback to backup - install ... same results each time.

bassrock commented 4 years ago

Can you post what your config looks like with your credentials redacted?

SRamsdell1 commented 4 years ago

Here's there section re: flair plugin.

{ "platform": "Flair", "plugin_map": { "plugin_name": "homebridge-flair" }, "clientId": “xxxxxxxxx”, "clientSecret": “xxxxxxxx”, "username": “xxxxxx@xx.com", "password": “xxxxxxx”, "pollInterval": 60, "hidePuckSensors": false, "ventAccessoryType": "windowCovering" }

username and password are for my system. If the password were incorrect would it cause the errors seen, or would it state a bad password ?

SRamsdell1 commented 4 years ago

Upgraded to 1.0.6 - same issue. Change "platform": "Flair" to "flair" - same issue.

Any other suggestions ?

SRamsdell1 commented 4 years ago

FWIW, the issue seems to be compatibility with the way HOOBS installs plugins. The same configuration file when installed on another homebride service works fine.

I've also not figured out how to force temp to be in F yet and it would be awesome if Battery level on vents and offline could be pulled back (this is a miss with Flair in general to me).

e-richner commented 4 years ago

FWIW, the issue seems to be compatibility with the way HOOBS installs plugins. The same configuration file when installed on another homebride service works fine.

I've also not figured out how to force temp to be in F yet and it would be awesome if Battery level on vents and offline could be pulled back (this is a miss with Flair in general to me).

HOOBS does not allow for -g installs (global) for security reasons. This is why it can be installed in a standard Homebridge setup but not in HOOBS.

Look at this thread from the support team for more info:

https://www.reddit.com/r/HOOBS/comments/epl0xn/the_requested_accessory_was_not_registered_by_any/fekevz1?utm_source=share&utm_medium=web2x

bassrock commented 4 years ago

Looks like this is how hoobs works. https://github.com/hoobs-org/HOOBS/wiki/4.0-Plugins#how-plugins-work

You will need to follow instructions there to install it.

e-richner commented 4 years ago

Looks like there’s a way to get it certified: https://hoobs.org/?download=143

e-richner commented 4 years ago

Any updates?

TechBLT commented 3 years ago

Hi, I wrote about having the issue above on reddit in the Hoobs sub and one of the Hoobs people responded and submitted a pull request here on your github with the necessary changes to make it work with Hoobs. Can you please merge in the change? Thanks.

bassrock commented 3 years ago

Hi the pr was just merged and released with https://github.com/bassrock/homebridge-flair/pull/10