hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
552 stars 51 forks source link

LUTRON CASETA LEAP Plugin causes bridge to go down #1805

Closed gray8211 closed 2 years ago

gray8211 commented 2 years ago

Description Installing HOMEBRIDGE LUTRON CASETA LEAP plugin causes HOOBs bridge to go unresponsive. Deleting the plugin bridge begins responding again.

Expected behavoir exposes Lutron pico remotes to homekit to allow user configuration

Plugin name HOMEBRIDGE LUTRON CASETA LEAP

Please report the issue to the plugin developer https://github.com/thenewwazoo/homebridge-lutron-caseta-leap/issues/37

Version I'm running HOOBs 4.0.110 and Homebridge 1.3.4

Did you upgrade Please let us know if you upgraded from a previous version.

Pervious version If you upgraded, please let us know your previous version.

Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1? Did you perform an upgrade from HOOBS 2.1.1? Some things are different.

What device are you using? Please let us know the device you are running HOOBS on.

Additional context I have an instance of homebridge running on another server, outside of HOOBS, and the plugin works as expected

mkellsy commented 2 years ago

Clear the hub cache and try again. I just changed some things with that plugin.

gray8211 commented 2 years ago

@mkellsy Some new information popped up. However, I had to add my configuration information from my other hombridge instance to get the "connect smart bridge" button to appear. Once I clicked the button and followed the directions the window timed out looking for the lutron bridge.

mkellsy commented 2 years ago
  1. Click the Connect SmartBridge button
  2. While that dialog is open, press the round black button on the back of the SmartBridge
  3. The dialog will close

If you don't press that button within 3 minutes the search will timeout. It also logs, so if it isn't working the error should be in your log.

cptgreedle commented 2 years ago

I am having two issues related to this. The first time I installed this plug-in on its own hub, the "Connect SmartBridge" button appeared but brought up a blank white page and nothing else. I couldn't get it to load or show anything. I tried clearing my cache and reinstalled the plug-in, now it crashes the hub and won't let it start up. Without the plug-in, it loads just fine, but with it I get this error (with debug mode on):

1:46:52 PMLutron Caseta Leap BridgeBridge change
1:46:52 PMlutroncasetaleapbridge stopping
1:46:53 PMHomebridgeWARNINGunhandled rejection: SyntaxError: Unexpected token u in JSON at position 0
1:46:55 PMLutron Caseta Leap Bridge starting
1:46:57 PMlutroncasetaleapbridge stopping
1:47:00 PMLutron Caseta Leap Bridge starting
1:47:05 PMLutron Caseta Leap BridgeLoaded plugin 'homebridge-lutron-caseta-leap'
1:47:05 PMLutron Caseta Leap BridgeLoading 1 platforms...
1:47:05 PMLutron Caseta Leap BridgeLutronCasetaLeapLutronCasetaLeap starting up...
1:47:05 PMLutron Caseta Leap BridgeWARNINGunhandled rejection: TypeError: config.secrets is not iterable
mkellsy commented 2 years ago

Try removing the bridge first and installing fresh. I added the UI plugin yesterday. If you installed this on a different bridge too, be sure to uninstall it there too.

If uninstalling fails, you can just remove the bridge if you don't have anything else on it. From the Bridges screen select the bridge, then click on Remove.

The type error is common.

TypeError: config.secrets is not iterable

You get this until the first Smart Bridge is connected.

gray8211 commented 2 years ago

I was able to delete the plug in and reinstall the plugin and no issues. thanks everyone for you hard work and help

wjkie commented 2 years ago

I'm not so lucky what steps did you do to get it to work?

wjkie commented 2 years ago

also I get a different error unhandled rejection: SyntaxError: Unexpected token u in JSON at position 0

gray8211 commented 2 years ago

I deleted the plugin that was there, reinstalled as a new bridge, configuration page I hit save (because the connect smart bridge button wasn't there) after I hit save it showed up. Clicked the button, pressed the button on the back to my lutron bridge and everything worked.

wjkie commented 2 years ago

I ended up setting up a virtual Debian system and installed Homebridge then installed the plugin. I was able to activate it from there. I then copied the json configuration over to my hoobs setup and all is well. Kind 0f a work around but i got it to work

jasonccolephd commented 1 year ago

I know this is an older thread, but it seemed relevant. I am using a HOOBs box with OS software 4.3.0. I have a few other bridge working well on the device but when trying to get this bridge up, I get this error every time in my log:

Lutron Caseta Leap BridgeWARNINGunhandled rejection: TypeError: config.secrets is not iterable

I have tried to press the button on my Lutron device during the Leap bridge installation but it has not helped. I have also not receive the splash screen telling me to do so.

Any ideas would be greatly appreciated as I'd love to get this bridge up and running!

danhrainey commented 1 year ago

Hi , I am using Hoobs Pi image 4.3.0. I also have Lutron Caseta with Lutron Brigde. I mainly wanted Ring to show up on Apple TV via Homekit. I did try Caseta plugin, and had sumilar issue. So, I just removed it from Hoobs. Since my Lutron Hub brought all my caseta switches and remotes into Apple Homekit and Smartthings natively. I never did go back and try resolve the Caseta Leap plugin for Hoobs.

On Tue, Aug 22, 2023, 11:30 AM jasonccolephd @.***> wrote:

I know this is an older thread, but it seemed relevant. I am using a HOOBs box with OS software 4.3.0. I have a few other bridge working well on the device but when trying to get this bridge up, I get this error every time in my log:

Lutron Caseta Leap BridgeWARNINGunhandled rejection: TypeError: config.secrets is not iterable

I have tried to press the button on my Lutron device during the Leap bridge installation but it has not helped. I have also not receive the splash screen telling me to do so.

Any ideas would be greatly appreciated as I'd love to get this bridge up and running!

— Reply to this email directly, view it on GitHub https://github.com/hoobs-org/HOOBS/issues/1805#issuecomment-1688547349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3HWQNOM42AJCUQRHOPRBTXWTNDXANCNFSM5SQJ2WTA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jasonccolephd commented 1 year ago

Hi , I am using Hoobs Pi image 4.3.0. I also have Lutron Caseta with Lutron Brigde. I mainly wanted Ring to show up on Apple TV via Homekit. I did try Caseta plugin, and had sumilar issue. So, I just removed it from Hoobs. Since my Lutron Hub brought all my caseta switches and remotes into Apple Homekit and Smartthings natively. I never did go back and try resolve the Caseta Leap plugin for Hoobs. On Tue, Aug 22, 2023, 11:30 AM jasonccolephd @.> wrote: I know this is an older thread, but it seemed relevant. I am using a HOOBs box with OS software 4.3.0. I have a few other bridge working well on the device but when trying to get this bridge up, I get this error every time in my log: Lutron Caseta Leap BridgeWARNINGunhandled rejection: TypeError: config.secrets is not iterable I have tried to press the button on my Lutron device during the Leap bridge installation but it has not helped. I have also not receive the splash screen telling me to do so. Any ideas would be greatly appreciated as I'd love to get this bridge up and running! — Reply to this email directly, view it on GitHub <#1805 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3HWQNOM42AJCUQRHOPRBTXWTNDXANCNFSM5SQJ2WTA . You are receiving this because you are subscribed to this thread.Message ID: @.>

This HOOBs bridge is not for standard operating of the Lutron switches/dimmers/remotes but enabling the buttons on the Lutron remote to serve as a set of smart buttons to control anything in your SmartHome.