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
homebridge-garagedoor-ryobi #2
Comments
Normally I say to include any errors you see from the log file to look into this further but yes if dependencies are not correctly installed that would be the first things to fix. I have a dependency on websockets (ws) and it has the dependencies you listed as required. Googling returned this:
Have you tried updating ALL your NPMs to the latest version like that article suggests. Reading that post makes it seem like you are running some old stuff. (I'm also running version 6.13.4 of NPM itself.) try: (or the equivalent commands for your setup.) Also, if you could include relevant info from your log file (you may have to turn on debugging?) that would be great. That would show where/why things are failing. Note that to debug somethings you have to add the "debug_sensitive" flag for this NPM (see my doc.) I'd look at the log before have to do this. If you end up doing this you may want to clean up the log before sending. I wish I did not need this flag but it is what it is. As an FYI I use:
which makes it easy to see log files and devices directly from the server. I've found that looking via homekit sometimes gets messed up because of homekit cache issues. |
I set up the homebridge-config to work on a browser. It works but I still can't get home bridge-garagedoor to work. I am including the response I get from opening home bridge on my iMac. [1/14/2020, 5:08:36 PM] [HB Supervisor] Homebridge Storage Path: /Users/wnaylor/.homebridge
[1/14/2020, 5:08:37 PM] Homebridge is running on port 51826. As you can see it loaded 3 platforms and 2 accessories associated with the Bond platform but no accessory for garage door. |
After the Platforms loading you should see two lines like:
What I see is that your accessories are not being loaded which points to a conf file problem. Looking at your conf above I think I see the issue. The section
is in the wrong place. It needs to be at the same level as
and NOT nested within platforms. More like this (either above of below the platforms section.):
|
So what is happening ^^^^ is HomeBridge is not reading the accessories section and not calling the homebridge-garagedoor-ryobi plugin for your account. Let me know if this fixes your issue and/or close the issue if it works once you fix this. |
I rewrote the son like you said putting the accessories on top but I can't it verified in JasonLint. Please help. { |
This site can help you: https://jsonformatter.org/json-pretty-print Looks like you have an extra "," and a missing '}' You probably want this:
|
It looks like it loaded garage door but now have have other problems. It is telling me that I am using port 8561 and I should change the port. Is this happening because I am using homebridge-cofig or is there something wrong with my son file. Below is the homebridge terminal results. Last login: Tue Jan 14 18:46:48 on ttys000
[1/14/2020, 6:47:53 PM] Got SIGTERM, shutting down Homebridge...
This is my config.json file { } |
I can’t help you with that. I’m going to close this bug. You have two errors, one with SensiboSky and the other with the config UI—both having nothing to do with the ryobi app. The problem could be so many things about your system. You just might want to reboot your machine and or temporarily remove one or both of the config sections for those devices to narrow down your issues. Good luck. |
Thank you for your patience. I research the problem and it seemed that I had more than one homebridge running at the same time. I used sudo killall homebridge to stop homebridge and that was the problem. I have my Ryobi garage door showing up in Homekit. Thank you again for your support. |
Whenever I try to install the home bridge plugin homebridge-garagedoor-ryobi I get this message below. It seems it installed correctly but the warning is that it is missing the dependencies show below. I have tried to install these two dependencies to no avail. When I open home bridge it tells me that the garage door plugin is installed but it doesn't show my garage door as an accessory. It just doesn't work. Is the problem the two dependencies below or something else. I'll also include my json file below.
Thank you for any help with this problem.
Waynes-iMac:~ wnaylor$ npm install -g homebridge-garagedoor-ryobi
npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
added 52 packages from 64 contributors in 3.357s
Waynes-iMac:~ wnaylor$
I committed the sensitive materials for the platforms below but everything works but the Garage Door Opener accessory.
{
"bridge": {
"name": "Homebridge",
"username": "C8:28:3D:E9:CE:30",
"port": 51826,
"pin": "041-78-280"
},
}
The text was updated successfully, but these errors were encountered: