-
Notifications
You must be signed in to change notification settings - Fork 44
Not registered plugin? #54
Comments
I'm getting this as well: I also tried it with the platform named MyQ (without the 2 as it's that way in the github page, which is different than the NPM page), and it gives me the same error. |
I figured it out... The config is changed.... and it's case sensitive. Use "platform": "myQ" in your config file (and I had to remove my cached accessories folder in homebridge as I was then getting a Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: ec384064-ecf4-4aee-b99b-a57d3ad6620f error). |
after changing the config to myQ I was getting a 404 error for the plugin logging in. This update really screwed up my garage door showing up in homekit |
I changed the platform name to myQ, but after that I got the 404 error too. I can provide logs if that helps. |
7/3/2020, 10:10:11 PM The requested platform "myQ" was not registered by any plugin. From the "platforms" section of config.json:
|
I give up on asking people to read READMEs. 😄 |
Where is this in the README? I followed the "Configuration" instructions, but I get the same exact error. When I remove the "plugin-map" bit, it automatically gets reinserted into the config.json outside of the platform statement, and still doesn't work:
FWIW, in the chart under "Advanced Configuration" in the README, it says "platform" "Must always be MyQ2." You probably don't want people reading that part of the README at this point. |
@jlg89 See "What's new in 2.0" Second paragraph. 😄 Thanks for catching the additional typo though. But it is in the README. |
Why would we look at a readme for an update using the web ui? |
I never could get the update working, even after yanking it all out by the roots and reinstalling, even though I've read and followed the README. Homebridge kept complaining about the plugin not being registered etc. and the garage door wouldn't show up in HomeKit (if the plugin were "silently failing," the garage door should still appear in HomeKit, no?). Nor would the configuration options appear in the homebridge-myq2 setup, it would only show a generic configuration text block. Finally had to switch to homebridge-chamberlain, which worked immediately. |
The platform name needs to be correct. Change it from MyQ2 to myQ. It’s a subtle difference. The README is correct. Ensure you’re on the latest 2.0.8. @jlg89 What is the config.json that you are using, and what is the setup you have? This release has been tested and is working by others, so let’s see what is unique here. |
I'm having a similar issue with this plugin. I'm getting this now in my logs: But, I'm not seeing the garage door in the home app. I'm using the docker version of homebridge if that matters. |
@zirdum What version of the plugin are you on? The above shows that the plugin is correctly installed and is up and running (all good things)... |
@jlg89 Perhaps it’s my old school way of thinking but...never, ever, ever, ever install an update without understanding what it will do to your system or setup is always the wisest course of action. Is there a better place to inform people of breaking changes? The major version bump is the convention to indicate new / breaking changes. I don’t use the UI, but recognize others do...so if there’s a way to make the experience better, or you’ve seen other plugins do it, point me in that direction. Thanks. |
Ah, was on 2.0.4... 2.0.8 (latest) works! Thank you! |
I'm in the same boat. #59 |
In the web UI, some plugins show the changelog before you apply the update. No idea how difficult to implement this is, but that would be the perfect place to warn about things like config changes. This plugin has been rock solid for me since December, thanks so much! |
First, let me back up a bit and be very clear that I appreciate your work, and the feedback that I offer is with the goal of improvement, in the quality of the plugin and/or in my understanding of how it works. The README is absolutely the correct place to inform people of breaking changes. That's not the problem; I did read the README, albeit after I clicked the "update" button on the MyQ plugin in HOOBS, and it completely stopped working...but even following the README didn't get me going again. I think one of the "things to be aware of" in v2 should be something along the lines of, "If you have a working v1 configuration, v2 might completely break it. If this happens, click here for possible fixes." I still don't know exactly what those fixes might be, because I wasn't able to get the plugin working again. It probably has something to do with the dregs in config.json, because I had to manually remove those in order to get rid of the error messages, even after uninstalling homebridge-myq2. |
@jlg89 Thanks for elaborating. I'll be more precise in the README. The plugin is working for the vast majority of folks. If you're still having issues, post your config.json and let's take a look. Ensure you're on v2.0.8 of the plugin as well. Thanks! |
I have my config posted for this exact problem in an open issue if you want to take a look: #59 |
All working over here, thank you very much for the updates! Lots of work, I know, thank you for your time! |
What steps did you take that got it working for you? |
Modified the platform name, passed out, updated to 2.0.8 this morning, then a HB restart. Got an instant garage closed on restart and it is now in the Home app. |
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions. |
Since update to 2.0 I’m getting a crash, see below. Should I uninstall/ reinstall? Takes out homebridge too; Thanks for the help
�[37m[7/4/2020, 2:19:29 AM] �[39m�[31mError: The requested platform 'MyQ2' was not registered by any plugin.�[39m
�[31m at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:224:15)�[39m
�[31m at /usr/local/lib/node_modules/homebridge/src/server.ts:387:37�[39m
�[31m at Array.forEach ()�[39m
�[31m at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:374:27)�[39m
�[31m at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:153:29)�[39m
�[31m at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)�[39m
�[31m at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)�[39m
�[31m at Module._compile (internal/modules/cjs/loader.js:955:30)�[39m
�[31m at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)�[39m
�[31m at Module.load (internal/modules/cjs/loader.js:811:32)�[39m
�[37m[7/4/2020, 2:19:29 AM] �[39mGot SIGTERM, shutting down Homebridge...
�[37m[7/4/2020, 2:19:37 AM] �[39mLoaded config.json with 1 accessories and 3 platforms.
The text was updated successfully, but these errors were encountered: