hjdhjd / homebridge-myq

:car: myQ Liftmaster and Chamberlain Plugin for Homebridge https://github.com/nfarina/homebridge
Other
567 stars 44 forks source link

Still not up and running #63

Closed mjtarr closed 4 years ago

mjtarr commented 4 years ago

So uninstalled plugin. Rebooted everything to be careful. Reinstalled.

Now I get:

7/4/2020, 3:46:47 PM Bridge is running on port 51826.7/4/2020, 3:51:45 PM Got SIGINT, shutting down Bridge...7/4/2020, 3:51:49 PM Loaded plugin "homebridge-myq2".7/4/2020, 3:51:49 PM The requested platform "myQ" was not registered by any plugin.7/4/2020, 3:51:49 PM Your config.json is requesting the platform "myQ" which has not been published by any installed plugins.

Went to advanced configuration and changed myQ to myQ2, I get this:

7/4/2020, 3:51:49 PM Bridge is running on port 51826.7/4/2020, 3:54:53 PM Got SIGINT, shutting down Bridge...7/4/2020, 3:54:57 PM Loaded plugin "homebridge-myq2".7/4/2020, 3:54:57 PM The requested platform "myQ2" was not registered by any plugin.7/4/2020, 3:54:57 PM Your config.json is requesting the platform "myQ2" which has not been published by any installed plugins.

Hmmm...

Still not seeing any accessories in HOOBS.

abraver commented 4 years ago

This is a duplicate of #54 and #59 which are both closed, but I am still having the same issue.

gizmotronic commented 4 years ago

Which version of Homebridge are you running?

I'm able to load the plugin with 1.0.2 and 1.1.1 (the current version), but it fails with exactly this error on Homebridge 0.4.53.

mjtarr commented 4 years ago

I am running

HOOBS Version | 3.2.6 and Node Version | 12.13.1

Not sure how that relates to homebridge...

gizmotronic commented 4 years ago

Unfortunately, neither of those are directly related.

I spun an instance of HOOBS up in my Kubernetes cluster and poked around at it. There was no mention of a Homebridge version anywhere. So, I dug around in the provided Terminal. I found HAP-NodeJS, but couldn't find the actual homebridge package. This suggests that it's based on a pre-1.x version, and won't load current plugins.

hjdhjd commented 4 years ago

@gizmotronic Seems like a reasonable assumption. This is a refactored modern plugin for Homebridge 1.0+ at this point...I'm sure they'll catch up eventually.

mjtarr commented 4 years ago

Thanks. Will try a direct homebridge install.

-m

abraver commented 4 years ago

Over on Reddit, I got a suggested solution, though it would require the dev to make a small change (literally like 20 characters).

The ScreenLogic plugin had the same issue, and the HOOBS folks submitted a pull request which should fix the issue for both HOOBS and earlier versions of Homebridge by changing from

api.registerPlatform(PLATFORM_NAME, ScreenLogicPlatform) to api.registerPlatform("homebridge-screenlogic", PLATFORM_NAME, ScreenLogicPlatform)

If @hjdhjd wouldn't mind making this change, it should fix it for all the HOOBS-ers.

hjdhjd commented 4 years ago

There will be an update later today to address this. Thanks.

hjdhjd commented 4 years ago

Give v2.0.11 a shot...

abraver commented 4 years ago

Success! Many thanks :)

hjdhjd commented 4 years ago

Closing this one. Enjoy!

github-actions[bot] commented 1 year ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.