Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOOBS issue [Bug] #8

Closed
galzil opened this issue Jul 8, 2020 · 12 comments
Closed

HOOBS issue [Bug] #8

galzil opened this issue Jul 8, 2020 · 12 comments

Comments

@galzil
Copy link

galzil commented Jul 8, 2020

The plugin doesn't start, The Error message is:
The requested platform "zigbee2mqtt" was not registered by any plugin. Your config.json is requesting the platform "zigbee2mqtt" which has not been published by any installed plugins.

I've found a related issue here stating that a simple fix is changing
api.registerPlatform(PLATFORM_NAME, ScreenLogicPlatform)
to
api.registerPlatform("homebridge-z2m", PLATFORM_NAME, ScreenLogicPlatform)

Versions used

  • This plugin: 0.0.5
  • Homebridge - HOOBS - 3.2.6
  • Zigbee2mqtt - 1.14.1
  • Homebridge Config UI X (if applicable)
@itavero
Copy link
Owner

itavero commented Jul 9, 2020

I don't use HOOBS, are you able to make this change, verify it and open up a PR?

Maybe also open up an issue on homebridge/homebridge-plugin-template, as this call is part of their template.

@galzil
Copy link
Author

galzil commented Jul 12, 2020

I'll try to see if I can so it myself, never done it before.
I'll also open an issue there, thanks.

@itavero
Copy link
Owner

itavero commented Jul 12, 2020

I might have some time next weekend to look into the suggested change and possibly apply it.
If so, I'll update you via this issue so you can maybe verify the change.

@itavero
Copy link
Owner

itavero commented Jul 12, 2020

Actually had some time now. The suggested change is applied in the master branch. Can you give this a try?

The README describes how to test changes that have not yet been released.

@itavero
Copy link
Owner

itavero commented Jul 16, 2020

@galzil Will you be able to test this? I see no negative side effects in my setup, but I'm not sure if this actually solves the problem for your HOOBS setup.

@galzil
Copy link
Author

galzil commented Jul 16, 2020

@itavero for some reason the HOOBS plugin db is not updated, I can only install via the Web gui and it still shows an older version

@itavero
Copy link
Owner

itavero commented Jul 16, 2020

The change is not released yet, as indicated above. I wasn't aware that you cannot run npm commands on a HOOBS installation (never used it myself).
I guess I'll just have to include it in the next release then and hope it works for you.

@nferro
Copy link

nferro commented Sep 1, 2020

Any idea when next release is coming?

@itavero
Copy link
Owner

itavero commented Sep 1, 2020

I'll see if I can make some time later this week to verify the master branch again and release it. "Unfortunately" I've been rather busy with some other personal projects in my spare time 😉

@itavero
Copy link
Owner

itavero commented Sep 9, 2020

FYI: relates to homebridge/homebridge-plugin-template#11

@galzil
Copy link
Author

galzil commented Sep 9, 2020

This is a Hoobs issue, they need to update their api.
Meanwhile, it is possible to install the plugin and then manually update the index.js file accordingly

@itavero
Copy link
Owner

itavero commented Sep 9, 2020

I have just released version v0.0.6 with the change suggested earlier. I hope that prevents you from having to do the manually change.
Hopefully it doesn't break anything for other installations ;)

Closing this issue for now for the reason you mentioned (it's a HOOBS issue, even though I tried to solve it here).

@itavero itavero closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants