senorshaun / homebridge-radiora2

Lutron RadioRA2 plugin for homebridge
MIT License
10 stars 5 forks source link

1.3.5 Keypads failing #16

Closed jfinestone closed 2 years ago

jfinestone commented 2 years ago

Updated to 1.3.5, added a Keypad (Main Repeater) with 45 keys (see attached config). Plug in fails, log:

2/7/2022, 8:39:49 PMRadiora2 Bridge starting 2/7/2022, 8:40:00 PMRadiora2 BridgeLoaded plugin 'homebridge-radiora2' 2/7/2022, 8:40:00 PMRadiora2 BridgeLoading 2 platforms... 2/7/2022, 8:40:00 PMRadiora2 BridgeRadioRA2Attempting connection to 192.168.4.78... 2/7/2022, 8:40:00 PMRadiora2 BridgeRadioRA2Connecting... 2/7/2022, 8:40:00 PMRadiora2 BridgeBridge is running on port 51826. 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Connected to Lutron! 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Loaded fan 'Powder Fan' 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Loaded fan 'Kids Fan' 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Loaded fan 'Parents Fan' 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Loaded 3 fan(s) 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Loaded 0 light(s) 2/7/2022, 8:40:01 PMRadiora2 BridgeRadioRA2Loaded 0 occupancy sensor(s) 2/7/2022, 8:40:01 PMRadiora2 BridgeWARNINGunhandled rejection: TypeError: Cannot convert undefined or null to object

config radiora2 plugin.txt

scottrus commented 2 years ago

Same as #15. See comments there. Fix for now is to revert to prior release.

jfinestone commented 2 years ago

Thanks I noticed that the logs that the person who reported number 15 provided were much more detailed. Is there a way that I could enable those same type of logs? I’m using Hoobs if that matters

On Wed, Feb 9, 2022 at 6:14 AM Scott @.***> wrote:

Same as #15 https://github.com/senorshaun/homebridge-radiora2/issues/15. See comments there. Fix for now is to revert to prior release.

— Reply to this email directly, view it on GitHub https://github.com/senorshaun/homebridge-radiora2/issues/16#issuecomment-1033804469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHS7I73OK2SH7CFOIWAOM3U2JZCVANCNFSM5NZCSIAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

senorshaun commented 2 years ago

sorry about that. fixed with 1.3.6. I had a left a bad block of code in the version that got published

senorshaun commented 2 years ago

Thanks I noticed that the logs that the person who reported number 15 provided were much more detailed. Is there a way that I could enable those same type of logs? I’m using Hoobs if that matters

I think that is the error handling in HOOBS not showing all the crash dump data

jfinestone commented 2 years ago

Got it. Thanks. Do you have an amazon wish list?

On Wed, Feb 9, 2022 at 6:57 PM senorshaun @.***> wrote:

Thanks I noticed that the logs that the person who reported number 15 provided were much more detailed. Is there a way that I could enable those same type of logs? I’m using Hoobs if that matters … <#m1611222764434858049>

I think that is the error handling in HOOBS not showing all the crash dump data

— Reply to this email directly, view it on GitHub https://github.com/senorshaun/homebridge-radiora2/issues/16#issuecomment-1034440963, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHS7I73LY2DUYC5SAXG6QDU2MSSFANCNFSM5NZCSIAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

senorshaun commented 2 years ago

I dont, thank you know. just give me a shout if you find a good deal on a rrd-8ans or rrd-8s, I'm trying to get my exterior light switches converted over.

did 1.3.6 solve the issue?

jfinestone commented 2 years ago

Yes. Thank you. This may be a hoobs issue… On that main repeater, we have 45 keys programmed on it and in the home bridge configuration file. But none of them show up on the control panel within Hoobs/home bridge. They show up fine on the iPhone. And they actually show up just all as one device with no way to separate them in hoobs. Is there any workaround to that or is that something I should raise with hoobs?

And I’ll keep an eye out for any jobs that are getting rid of those devices. Or have spares.

On Sat, Feb 12, 2022 at 7:19 AM senorshaun @.***> wrote:

I dont, thank you know. just give me a shout if you find a good deal on a rrd-8ans or rrd-8s, I'm trying to get my exterior light switches converted over.

did 1.3.6 solve the issue?

— Reply to this email directly, view it on GitHub https://github.com/senorshaun/homebridge-radiora2/issues/16#issuecomment-1037254852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHS7I2T4Z2MQ4W3VTBV2ITU2Z26LANCNFSM5NZCSIAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

senorshaun commented 2 years ago

I don’t think it’s a hoobs issue. I think it’s that I haven’t written the plug-in to be the config style that hoobs (or homebridge-config-ui-x) wants it to be, simply because I don’t use those and didn’t test with them. I’m not sure what kind of changes they would require.

In the home app, to get the buttons to show up as separate accessories, open the keypad accessory, go to its settings, at the bottom should be an option to show as separate tiles

On Feb 12, 2022, at 10:55 AM, jfinestone @.***> wrote:

 Yes. Thank you. This may be a hoobs issue… On that main repeater, we have 45 keys programmed on it and in the home bridge configuration file. But none of them show up on the control panel within Hoobs/home bridge. They show up fine on the iPhone. And they actually show up just all as one device with no way to separate them in hoobs. Is there any workaround to that or is that something I should raise with hoobs?

And I’ll keep an eye out for any jobs that are getting rid of those devices. Or have spares.

On Sat, Feb 12, 2022 at 7:19 AM senorshaun @.***> wrote:

I dont, thank you know. just give me a shout if you find a good deal on a rrd-8ans or rrd-8s, I'm trying to get my exterior light switches converted over.

did 1.3.6 solve the issue?

— Reply to this email directly, view it on GitHub https://github.com/senorshaun/homebridge-radiora2/issues/16#issuecomment-1037254852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHS7I2T4Z2MQ4W3VTBV2ITU2Z26LANCNFSM5NZCSIAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you modified the open/close state.

jfinestone commented 2 years ago

OK. Thanks. We don’t really use it either so I’m not gonna worry about it. I think I noticed that even the certified I robot/Roomba plug-in does the same thing. And yes we figured out how to make them separate tiles on the iPhone. I did notice that if you move one tile to a room it moves all of them.

It’ll be interesting to see if anyone can reverse engineer their new leap protocol. Kind of bullshit they aren’t publishing that. I’ve stocked up on RR2 main repeaters. But there’s definitely a few places I would upgrade to RR3. At my main house that would not be possible because it’s full of graphikT hybrids and dimmers. And some other incompatible devices.

Have you ever done any testing or observations to determine whether integrating through home bridge is faster than integrating through connect bridge? I’m thinking of moving all of my lutron devices to home bridge. Not just the scenes.

Thanks again for publishing this. we also use your nu heat plug-in. One issue with that is that since it uses the cloud sometimes Hoobs can’t reach the cloud and we don’t get any type of alert or notification regarding that.

On Sat, Feb 12, 2022 at 9:07 AM senorshaun @.***> wrote:

I don’t think it’s a hoobs issue. I think it’s that I haven’t written the plug-in to be the config style that hoobs (or homebridge-config-ui-x) wants it to be, simply because I don’t use those and didn’t test with them. I’m not sure what kind of changes they would require.

In the home app, to get the buttons to show up as separate accessories, open the keypad accessory, go to its settings, at the bottom should be an option to show as separate tiles

On Feb 12, 2022, at 10:55 AM, jfinestone @.***> wrote:

 Yes. Thank you. This may be a hoobs issue… On that main repeater, we have 45 keys programmed on it and in the home bridge configuration file. But none of them show up on the control panel within Hoobs/home bridge. They show up fine on the iPhone. And they actually show up just all as one device with no way to separate them in hoobs. Is there any workaround to that or is that something I should raise with hoobs?

And I’ll keep an eye out for any jobs that are getting rid of those devices. Or have spares.

On Sat, Feb 12, 2022 at 7:19 AM senorshaun @.***> wrote:

I dont, thank you know. just give me a shout if you find a good deal on a rrd-8ans or rrd-8s, I'm trying to get my exterior light switches converted over.

did 1.3.6 solve the issue?

— Reply to this email directly, view it on GitHub < https://github.com/senorshaun/homebridge-radiora2/issues/16#issuecomment-1037254852 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAHS7I2T4Z2MQ4W3VTBV2ITU2Z26LANCNFSM5NZCSIAA

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you modified the open/close state.

— Reply to this email directly, view it on GitHub https://github.com/senorshaun/homebridge-radiora2/issues/16#issuecomment-1037315505, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHS7I5CNYOP4P4VVCUEK3TU22HVDANCNFSM5NZCSIAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

senorshaun commented 2 years ago

OK. Thanks. We don’t really use it either so I’m not gonna worry about it. I think I noticed that even the certified I robot/Roomba plug-in does the same thing. And yes we figured out how to make them separate tiles on the iPhone. I did notice that if you move one tile to a room it moves all of them. Yes thats because logically the keypad is in the room. When using the phantom buttons on the main repeater, they still end up in the same room because that repeater is in a room (for me thats 'Equipment Room' where I have several different hubs/ back end things that aren't manually interacted with). My phantom buttons all set scenes or green modes which are activated either by HomeKit scenes or automations. We don't ever go in to flip any of those switches. do you have an example where you would want to have different buttons in different rooms because that button is manually interacted with for that room? I'm not saying there is anything that can be done to separate out the buttons to different rooms (maybe something like a second keypad in the config with the same id but different buttons although I can see that start to get much messier than it already is).

It’ll be interesting to see if anyone can reverse engineer their new leap protocol. Kind of bullshit they aren’t publishing that. I’ve stocked up on RR2 main repeaters. But there’s definitely a few places I would upgrade to RR3. At my main house that would not be possible because it’s full of graphikT hybrids and dimmers. And some other incompatible devices. Like most other DYI nerds, I got excited when I heard about RR3, then as I read in to it, I realized it doesn't do much that RR2 can't do. Yay, the integrated the connect bridge and main repeater. I don't even have a connect bridge anymore (which was the whole reason I wrote this plugin, to get rid of it). I like the light bar design on the new switches and keypads, but thats not a reason for me to upgrade at all. Personally I don't use keypads, but I would agree that the new ones look better to me. I do like that the LEAP api dynamically creates a list of devices. Thats one thing I hate about this plugin, that you have to define each device. I believe with the api, the 3rd party system can query a device list and it auto populates. That would be cool for this, but I wouldn't be surprised if Lutron included keypads in what they natively expose to HomeKit with the new processor (shit, this plugin is the basic framework of how to do it, in a couple days times, some Lutron dev could get that working if they use this as a starting point). All in all, its just not worth it for me to upgrade, I don't get any added benefit, and hopefully radiora2 equipment drops in price :)

Have you ever done any testing or observations to determine whether integrating through home bridge is faster than integrating through connect bridge? I’m thinking of moving all of my lutron devices to home bridge. Not just the scenes. Currently, all my Lutron stuff is integrated via this plugin. It responds faster than other native HomeKit things (my crappy insignia garage door open and some cheap smart plugs for example) as long as everything on that bridge response quickly. For example, my roombas seem to take a while, so when they were all on the same homebridge instance, everything would be slow in the 'updating' phase. I broke those out in to an new instance of home bridge (this was before child bridges were a thing, that seems like a better option now) and Lutron is very quick. Mostly thats because this plugin doesn't refresh status of the accessories from the actual system when launching like other plugins do (my elk alarm system and roombas). This plugin keeps a running memory cache of device status in real time, not on a polled interval or refresh. If you want to test it out, add like 2 of your lights to the plugin, and run them side by side with the connect bridge. See if you have any issue with latency.

Thanks again for publishing this. we also use your nu heat plug-in. One issue with that is that since it uses the cloud sometimes Hoobs can’t reach the cloud and we don’t get any type of alert or notification regarding that. submit an issue over on that one and I'll take a look. I wrote that for thing at my work, personally I don't have nuheat yet (bathroom remodel will come at some point in the next year hopefully) so it may take me a little bit to figure it out.