Lutron RadioRA 2 (and Caseta) plugin

Posted on
Tue Nov 22, 2016 8:34 am
markf424 offline
Posts: 58
Joined: Dec 25, 2013

Re: Lutron RadioRA 2 (and Caseta) plugin

For what it's worth, I just tried a telnet session to my Lutron Caseta Smart Bridge Pro, and it also failed on the first login. However, the plugin works properly for me.

Posted on
Tue Nov 22, 2016 8:48 am
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

I didn't disable the plugin.. Disabled and enabled with the same result posted below. I can't get to the config screen as it is shutting down and the configure menu option is not visible. Thanks

Nov 22, 2016, 8:44:14 AM
Upgrading plugin Lutron RRA2/Caséta to newer version 7.0.2 (previous version moved to trash)
Loading plugin "Lutron RRA2/Caséta 7.0.2"
Starting plugin "Lutron RRA2/Caséta 7.0.2" (pid 36840)
Lutron RRA2/Caséta Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
SyntaxError: ('invalid syntax', ('plugin.py', 435, 16, ' self.connIP.write(str("\\r\\n")\n'))

Stopping plugin "Lutron RRA2/Caséta 7.0.2" (pid 36840)
Stopped plugin "Lutron RRA2/Caséta 7.0.2"

Posted on
Tue Nov 22, 2016 9:11 am
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

Thanks for the info Markf424... Are you using a similar configuration to my post on 5:03 yesterday ? version of plugin ?

Posted on
Tue Nov 22, 2016 9:45 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Lutron RadioRA 2 (and Caseta) plugin

jenwill1 wrote:
I didn't disable the plugin.. Disabled and enabled with the same result posted below. I can't get to the config screen as it is shutting down and the configure menu option is not visible. Thanks

Nov 22, 2016, 8:44:14 AM
Upgrading plugin Lutron RRA2/Caséta to newer version 7.0.2 (previous version moved to trash)
Loading plugin "Lutron RRA2/Caséta 7.0.2"
Starting plugin "Lutron RRA2/Caséta 7.0.2" (pid 36840)
Lutron RRA2/Caséta Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
SyntaxError: ('invalid syntax', ('plugin.py', 435, 16, ' self.connIP.write(str("\\r\\n")\n'))

Stopping plugin "Lutron RRA2/Caséta 7.0.2" (pid 36840)
Stopped plugin "Lutron RRA2/Caséta 7.0.2"


My bad. Try this one: https://github.com/FlyingDiver/Indigo-r ... 89be09.zip

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 22, 2016 11:36 am
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

Downloaded the new version... Same results.

I did try and telnet in on terminal on the indigo server mac and noticed I had about a 15 second delay in a response from the bridge. The other iMac connects in a couple of seconds. I guess running security spy and multiple cameras slows this one down when trying to connect.

Again, thanks for working this...

Upgrading plugin Lutron RRA2/Caséta to newer version 7.0.2 (previous version moved to trash)
Loading plugin "Lutron RRA2/Caséta 7.0.2"
Starting plugin "Lutron RRA2/Caséta 7.0.2" (pid 38300)
Lutron RRA2/Caséta Debug logLevel = 10
Started plugin "Lutron RRA2/Caséta 7.0.2"
Lutron RRA2/Caséta Starting up Lutron
Lutron RRA2/Caséta Checking for updates...
Lutron RRA2/Caséta Debug Plugin version detected: 7.0.2
Lutron RRA2/Caséta Debug Current version is: 7.0.2
Lutron RRA2/Caséta Debug Getting latest release from FlyingDiver/Indigo-radiora2...
Lutron RRA2/Caséta Debug GET /repos/FlyingDiver/Indigo-radiora2/releases/latest
Lutron RRA2/Caséta Debug HTTP 200 OK
Lutron RRA2/Caséta Debug Latest release is: 7.0.1
Lutron RRA2/Caséta No updates are available
Lutron RRA2/Caséta Debug updateFrequency = 86400.0
Lutron RRA2/Caséta Running ipStartup
Lutron RRA2/Caséta Connecting via IP to 10.0.1.27
Lutron RRA2/Caséta Debug self.connIP.read:
Lutron RRA2/Caséta Debug username failure.
Lutron RRA2/Caséta Debug End of connection process.
Lutron RRA2/Caséta Checking for updates...
Lutron RRA2/Caséta Debug Plugin version detected: 7.0.2
Lutron RRA2/Caséta Debug Current version is: 7.0.2
Lutron RRA2/Caséta Debug Getting latest release from FlyingDiver/Indigo-radiora2...
Lutron RRA2/Caséta Debug GET /repos/FlyingDiver/Indigo-radiora2/releases/latest
Lutron RRA2/Caséta Debug HTTP 200 OK
Lutron RRA2/Caséta Debug Latest release is: 7.0.1
Lutron RRA2/Caséta No updates are available

Nov 22, 2016, 11:22:32 AM
Lutron RRA2/Caséta Error Unrecognized command: login: password:
Lutron RRA2/Caséta Error Unrecognized command: login:

Posted on
Tue Nov 22, 2016 12:00 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Lutron RadioRA 2 (and Caseta) plugin

Ok, I think I might have an idea what's going on. For some reason, your unit takes a while after the telnet connection before it's ready for the login. I need to rework the login section of the code to allow for that.

I should have something to test later today.


Sent from my iPad using Tapatalk

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 22, 2016 2:06 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Lutron RadioRA 2 (and Caseta) plugin

This is going to be a bit of trial and error to see what works. This version just puts in a simple delay before attempting to login. If that doesn't work, I'm going to have to figure out a way to loop on the connection read to see when the device is ready for the login attempt.

https://github.com/FlyingDiver/Indigo-r ... d0eee3.zip

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 22, 2016 4:30 pm
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

Same results... I'm just not sure why I can telnet from another iMac so much faster than the iMac with my Indigo and SecuritySpy servers... 25 seconds vs .5 secs.

Posted on
Tue Nov 22, 2016 4:55 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Lutron RadioRA 2 (and Caseta) plugin

jenwill1 wrote:
Same results... I'm just not sure why I can telnet from another iMac so much faster than the iMac with my Indigo and SecuritySpy servers... 25 seconds vs .5 secs.


Woah. I missed this tidbit, if you posted it before. Direct telnet works fine from a different machine, but NOT the one that Indigo is running on? That tells me it's not a plugin problem, but a problem with that computer. The easiest test would be to reboot it and see what happens. But if you don't want to do that, try dumping the arp cache:

Code: Select all
sudo arp -a
sudo arp -a  -d

Then post that here.

Oh - go back to the release plugin first. I don't think any of those mods are needed. Use the "Force Update" menu option to get back to the last released version.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 22, 2016 6:00 pm
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

Reverted to 7.01.

William-Hills-iMac:etc House$ sudo arp -a
Password:
? (10.0.1.1) at 90:72:40:a:c1:a7 on en0 ifscope [ethernet]
? (10.0.1.2) at 30:f9:ed:9a:7:52 on en0 ifscope [ethernet]
? (10.0.1.3) at 6c:b0:ce:f8:21:74 on en0 ifscope [ethernet]
? (10.0.1.4) at 90:72:40:a:c1:a7 on en0 ifscope [ethernet]
? (10.0.1.5) at d8:49:2f:c7:9f:6b on en0 ifscope [ethernet]
? (10.0.1.6) at 0:90:c2:ed:55:25 on en0 ifscope [ethernet]
? (10.0.1.7) at 0:23:df:fd:b6:6a on en0 ifscope permanent [ethernet]
? (10.0.1.8) at 24:37:4c:84:77:f4 on en0 ifscope [ethernet]
? (10.0.1.9) at d0:4f:7e:5f:e2:0 on en0 ifscope [ethernet]
? (10.0.1.10) at 14:d4:fe:16:f8:42 on en0 ifscope [ethernet]
? (10.0.1.11) at 28:be:9b:f:f6:39 on en0 ifscope [ethernet]
? (10.0.1.12) at 28:be:9b:f:f3:d3 on en0 ifscope [ethernet]
? (10.0.1.13) at 28:be:9b:f:d5:ea on en0 ifscope [ethernet]
? (10.0.1.14) at 28:be:9b:f:f6:3d on en0 ifscope [ethernet]
? (10.0.1.15) at 4c:11:bf:91:1a:8a on en0 ifscope [ethernet]
? (10.0.1.16) at 4c:11:bf:91:1b:57 on en0 ifscope [ethernet]
? (10.0.1.19) at f0:db:e2:b6:26:a6 on en0 ifscope [ethernet]
? (10.0.1.23) at c8:e0:eb:35:b:f3 on en0 ifscope [ethernet]
? (10.0.1.25) at 18:65:90:a9:36:9d on en0 ifscope [ethernet]
? (10.0.1.27) at 68:9e:19:ad:62:e8 on en0 ifscope [ethernet]
? (10.0.1.37) at cc:90:93:0:0:3 on en0 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (231.0.0.160) at 1:0:5e:0:0:a0 on en0 ifscope permanent [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]

William-Hills-iMac:etc House$ sudo arp -a -d
10.0.1.1 (10.0.1.1) deleted
10.0.1.2 (10.0.1.2) deleted
10.0.1.3 (10.0.1.3) deleted
10.0.1.4 (10.0.1.4) deleted
10.0.1.5 (10.0.1.5) deleted
10.0.1.6 (10.0.1.6) deleted
delete: cannot locate 10.0.1.7
10.0.1.8 (10.0.1.8) deleted
10.0.1.9 (10.0.1.9) deleted
10.0.1.10 (10.0.1.10) deleted
10.0.1.11 (10.0.1.11) deleted
10.0.1.12 (10.0.1.12) deleted
10.0.1.13 (10.0.1.13) deleted
10.0.1.14 (10.0.1.14) deleted
10.0.1.15 (10.0.1.15) deleted
10.0.1.16 (10.0.1.16) deleted
10.0.1.19 (10.0.1.19) deleted
10.0.1.23 (10.0.1.23) deleted
10.0.1.25 (10.0.1.25) deleted
10.0.1.27 (10.0.1.27) deleted
10.0.1.37 (10.0.1.37) deleted
224.0.0.251 (224.0.0.251) deleted
231.0.0.160 (231.0.0.160) deleted
239.255.255.250 (239.255.255.250) deleted

Posted on
Tue Nov 22, 2016 6:03 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Lutron RadioRA 2 (and Caseta) plugin

And? Does it work any better?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 22, 2016 6:10 pm
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

Sorry, same result on plugin. Telnet still takes ~25 seconds to login manually.

Posted on
Tue Nov 22, 2016 6:12 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Lutron RadioRA 2 (and Caseta) plugin

jenwill1 wrote:
Sorry, same result on plugin. Telnet still takes ~25 seconds to login manually.


At this point I think you need to reboot that machine. Until you get a Telnet connection time similar to other machines on your network, doing anything to the plugin is just masking the problem.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 22, 2016 6:14 pm
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

I'll work the telnet issue and repost how it went. Thanks !

Posted on
Sat Dec 10, 2016 8:44 am
jenwill1 offline
Posts: 185
Joined: Mar 22, 2009
Location: Boerne, Texas

Re: Lutron RadioRA 2 (and Caseta) plugin

I posted to Lutron support as well as Apple forums.... No love on either although Lutron suggested using netcat "nc" command to communicate to the bridge. It logs in the first attempt, versus a second with telnet. Not sure about the plus/minus over telnet. Got the same delay, exactly 30 seconds using either on the late-2009 iMac (Indigo server). Late-2013 iMac (household use) logs in immediately using either telnet or nc.

The solution is upgrade the automation server or combine onto our day2day iMac. :cry:

Thanks for the efforts

Page 10 of 14 1 ... 7, 8, 9, 10, 11, 12, 13, 14

Who is online

Users browsing this forum: No registered users and 11 guests