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

Now plugin only reconginizes one of the two doors on my genie aladdin account #2

Closed
donjalex2 opened this issue Jan 14, 2022 · 20 comments · Fixed by #4
Closed

Now plugin only reconginizes one of the two doors on my genie aladdin account #2

donjalex2 opened this issue Jan 14, 2022 · 20 comments · Fixed by #4
Labels
bug Something isn't working

Comments

@donjalex2
Copy link

Describe The Bug:
I installed this plugin previously and both of my garage doors (two of them) were recognized. Now only the last garage door added (Jess's door) to my genie aladdin account is recognized and added to Homekit.

To Reproduce:
I tried to uninstall and reinstall the plugin, but still only one garage door is recognized. I also went to the genie aladdin app and removed and re-added the two garage doors.

Expected behavior:
I was expected the two doors to be recognized like it previously did.

Logs:

Show the Homebridge logs here, remove any sensitive information.
1/14/2022, 9:03:37 AMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/14/2022, 9:03:37 AMGenie Aladdin Connect BridgeLoading 1 platforms...
1/14/2022, 9:03:38 AMGenie Aladdin Connect BridgeBridge is running on port 51856.
1/14/2022, 9:03:38 AMGenie Aladdin Connect BridgeWARNINGunhandled rejection: Error: Request failed with status code 403
1/14/2022, 9:04:13 AMGenie Aladdin Connect BridgeConfiguration change
1/14/2022, 9:04:13 AMgeniealaddinconnectbridge stopping
1/14/2022, 9:04:18 AMGenie Aladdin Connect Bridge starting
1/14/2022, 9:04:21 AMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/14/2022, 9:04:21 AMGenie Aladdin Connect BridgeLoading 1 platforms...
1/14/2022, 9:04:21 AMGenie Aladdin Connect BridgeBridge is running on port 51856.
1/14/2022, 9:04:23 AMGenie Aladdin Connect BridgeGarage DoorAdding new accessory: Jess’s Door
**Plugin Config:**

```json
{
    "platform": "GenieAladdinConnect",
    "name": "Garage Door",
    "userInfoCacheTtl": 3600,
    "doorStatusStationaryCacheTtl": 15,
    "doorStatusTransitioningCacheTtl": 5,
    "doorStatusPollInterval": 15000,
    "username": "my email address",
    "password": "my password"```

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Genie aladdin connect 1.2.0**:
* **HOOBS version 4.1.21-->
* **Node.js Version**: 16.13.2
* **NPM Version**: <!-- npm -v -->
* **Operating System**: <!--RPI 4 -->

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
@donjalex2 donjalex2 added the bug Something isn't working label Jan 14, 2022
@derek-miller
Copy link
Owner

@donjalex2 hmm I have uninstalled/installed/upgraded/etc with no issues. Can you try deleting the doors from the accessories cache (see the “Cache” section here) and restating HOOBS?

@donjalex2
Copy link
Author

Thanks for the reply. I can only delete one door from the cache... There is only one door that shows in cache although there are two functional doors in the Genie App/account. I did delete the bridge cache, restarted HOOBS and again, only the one door shows. Here's the log:

1/15/2022, 8:40:31 AMGenie Aladdin Connect BridgeGarage DoorLoading accessory from cache: Jess’s Door
1/15/2022, 8:40:31 AMGenie Aladdin Connect BridgeBridge is running on port 51856.
1/15/2022, 8:40:33 AMGenie Aladdin Connect BridgeGarage DoorRestoring existing accessory from cache: Jess’s Door

@derek-miller
Copy link
Owner

@donjalex2 I pushed an update to add additional logs. Can you start HOOBS in debug mode and share the logs?

@donjalex2
Copy link
Author

Thank you, I updated the plugin and for some reason can't get into debug mode... sorry...
I'm typing in the terminal, "sudo hoobs service stop" then "hoobs -d"

@donjalex2
Copy link
Author

Sorry, new to HOOBS 4, i see a debug log option to check in the log. Will this log work?

1/15/2022, 10:20:43 AMGenie Aladdin Connect Bridge starting
1/15/2022, 10:20:50 AMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/15/2022, 10:20:50 AMGenie Aladdin Connect BridgeRegistering platform 'homebridge-genie-aladdin-connect.GenieAladdinConnect'
1/15/2022, 10:20:50 AMGenie Aladdin Connect BridgeLoading 1 platforms...
1/15/2022, 10:20:50 AMGenie Aladdin Connect BridgeBridge is running on port 51856.
1/15/2022, 10:20:51 AMGenie Aladdin Connect BridgeWARNINGunhandled rejection: Error: Request failed with status code 403
1/15/2022, 10:21:18 AMGenie Aladdin Connect BridgeConfiguration change
1/15/2022, 10:21:18 AMgeniealaddinconnectbridge stopping
1/15/2022, 10:21:23 AMGenie Aladdin Connect Bridge starting
1/15/2022, 10:21:26 AMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/15/2022, 10:21:26 AMGenie Aladdin Connect BridgeRegistering platform 'homebridge-genie-aladdin-connect.GenieAladdinConnect'
1/15/2022, 10:21:26 AMGenie Aladdin Connect BridgeLoading 1 platforms...
1/15/2022, 10:21:26 AMGenie Aladdin Connect BridgeBridge is running on port 51856.
1/15/2022, 10:21:28 AMGenie Aladdin Connect BridgeGarage DoorAdding new accessory: Jess’s Door
1/15/2022, 10:21:39 AMdeb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main
1/15/2022, 10:21:39 AMdeb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main
1/15/2022, 10:21:58 AMHit:1 https://dl.yarnpkg.com/debian stable InRelease
1/15/2022, 10:21:58 AMHit:2 https://dl.hoobs.org/debian stable InRelease
1/15/2022, 10:21:58 AMHit:4 http://archive.raspberrypi.org/debian buster InRelease
1/15/2022, 10:21:58 AMHit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
1/15/2022, 10:21:58 AMReading package lists...
1/15/2022, 10:21:58 AMHit:5 https://deb.nodesource.com/node_16.x buster InRelease

after another restart...

1/15/2022, 10:29:55 AMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/15/2022, 10:29:55 AMGenie Aladdin Connect BridgeLoading 1 platforms...
1/15/2022, 10:29:55 AMGenie Aladdin Connect BridgeRegistering platform 'homebridge-genie-aladdin-connect.GenieAladdinConnect'
1/15/2022, 10:29:55 AMNest BridgeBridge is running on port 51836.
1/15/2022, 10:29:55 AMGenie Aladdin Connect BridgeGarage DoorLoading accessory from cache: Jess’s Door
1/15/2022, 10:29:55 AMGenie Aladdin Connect BridgeBridge is running on port 51856.

@derek-miller
Copy link
Owner

I see a permissions issue with one of the requests to the api, can you reset your password to your genie account and update your config?

@donjalex2
Copy link
Author

I went onto genie account and changed my password. I updated my config with the new password... It only brings up the one garage door out of the two on my account. On the genie app I can open/close both, but not on HomeKit. Only Jess's garage door comes up on HomeKit. Thanks again for your time and help!

Log
1/15/2022, 2:38:02 PMGenie Aladdin Connect Bridge starting
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeLoading 1 platforms...
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeBridge is running on port 51836.
1/15/2022, 2:38:08 PMGenie Aladdin Connect BridgeGarage DoorAdding new accessory: Jess’s Door

@donjalex2
Copy link
Author

Better log view:

15/2022, 2:37:35 PMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/15/2022, 2:37:35 PMGenie Aladdin Connect BridgeRegistering platform 'homebridge-genie-aladdin-connect.GenieAladdinConnect'
1/15/2022, 2:37:35 PMGenie Aladdin Connect BridgeLoading 1 platforms...
1/15/2022, 2:37:35 PMGenie Aladdin Connect BridgeBridge is running on port 51836.
1/15/2022, 2:37:36 PMGenie Aladdin Connect BridgeWARNINGunhandled rejection: Error: Request failed with status code 403
1/15/2022, 2:37:57 PMGenie Aladdin Connect BridgeConfiguration change
1/15/2022, 2:37:57 PMgeniealaddinconnectbridge stopping
1/15/2022, 2:38:02 PMGenie Aladdin Connect Bridge starting
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeLoaded plugin 'homebridge-genie-aladdin-connect'
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeRegistering platform 'homebridge-genie-aladdin-connect.GenieAladdinConnect'
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeLoading 1 platforms...
1/15/2022, 2:38:05 PMGenie Aladdin Connect BridgeBridge is running on port 51836.
1/15/2022, 2:38:08 PMGenie Aladdin Connect BridgeGarage DoorAdding new accessory: Jess’s Door
1/15/2022, 2:39:29 PMdeb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main
1/15/2022, 2:39:29 PMdeb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main
1/15/2022, 2:39:45 PMHit:1 https://dl.yarnpkg.com/debian stable InRelease
1/15/2022, 2:39:45 PMHit:2 https://deb.nodesource.com/node_16.x buster InRelease
1/15/2022, 2:39:45 PMHit:3 https://dl.hoobs.org/debian stable InRelease
1/15/2022, 2:39:45 PMHit:4 http://archive.raspberrypi.org/debian buster InRelease
1/15/2022, 2:39:45 PMHit:5 http://raspbian.raspberrypi.org/raspbian buster InRelease
1/15/2022, 2:39:45 PMReading package lists...

@derek-miller
Copy link
Owner

Request failed with status code 403 Implies a permission issues. If you only see one online you will only see one exposed from my plugin. Is the other door shared with you from a different account? I know those are not supported.

@donjalex2
Copy link
Author

What's weird is that the two doors showed last week when I first started using the plugin and now it only shows one.

There's no sharing or anything out of the ordinary... I simple added the two garage doors to the genie Aladdin app. Installed the plug-in last week, both garage doors showed and worked in HomeKit. Now they don't. Don't get it. Maybe an API change...?

@derek-miller
Copy link
Owner

I dont think there is an api change as I have 2 doors working just fine and tried to reproduce the issue and was not able to. Are you using a genie controller to control 2 doors or does each door have aladdin connect builtin? If its a single controller for both doors then you will only have one device, otherwise you will have 2 devices. To check the devices, go here and make the correct number of devices show. From there you can click on each device and re-enable them in the modal that pops up and restart HOOBS. Let me know what happens.

@donjalex2
Copy link
Author

donjalex2 commented Jan 17, 2022

Sorry for the delay on response. No genie controller used, both of my two garage doors have Aladdin Connect built in. I went to the link you sent that brings me to https://genie.exosite.com/login. When logging in to the https://genie.exosite.com/login it only shows my one garage door, not the other... I tried to add the serial number of my other garage door and it will not add. Comes up with an error message. I called Genie Aladdin and explained not being able to add the serial number/the other garage door and they said its because they are taking down the functionality of https://genie.exosite.com/login. I asked why can I see both garage doors on my Genie Aladdin iOS app, but not on https://genie.exosite.com/login... They said again, the site functionality is going down. Further they said, not to worry as they are in the final steps of adding Homekit functionality to these garage doors and my model will be supported (Genie Aladdin Connect Model 3120). I guess I wait... But again it is strange that I initial had both of my garage doors show in Homekit via your plugin, but now it doesn't work. I guess from Genie taking down the functionality of the website, https://genie.exosite.com/login, that's what deleted my other garage door. Will just use my iOS app that shows both garage doors. Any thoughts? Again, thanks for troubleshooting.

@derek-miller
Copy link
Owner

Well I opened my Home app today and noticed that one of my doors is now missing too. Looks like you are right about them deprecating the exosite api. I might be able to switch to using the other api (the one used by the app) without too much effort, but I won’t be able to look into it for a few weeks.

@donjalex2
Copy link
Author

Thanks Derek, appreciate your time!

@donjalex2
Copy link
Author

donjalex2 commented Jan 26, 2022 via email

@derek-miller
Copy link
Owner

Yeah I found a simple bug. Im pushing a fix in the next few minutes

@derek-miller derek-miller reopened this Jan 26, 2022
@donjalex2
Copy link
Author

donjalex2 commented Jan 26, 2022 via email

@derek-miller
Copy link
Owner

It should be working now with version 2.0.1.

@donjalex2
Copy link
Author

donjalex2 commented Jan 26, 2022 via email

@ericlamus
Copy link

I've been lurking for the past week or so. Ran into the same bug. It works now. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants