Caseta setup noob question

Posted on
Sun Jan 06, 2019 3:04 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Caseta setup noob question

Is there a detailed instruction page for setting up caseta devices with this plugin? I have my bridge set up and a dimmer switch installed and the plugin configured (I think), When I try to setup a new device in Indigo, there are drop down choices for RadioRa devices but not Caseta. I must be missing something simple.
Also when I query devices from the plugin menu I get:
Code: Select all
 Lutron RRA2/Caséta Debug       Sending network command:  ?OUTPUT,Overhead,1,
   Lutron RRA2/Caséta Warning     Error sending IP command, resetting connection:  'Plugin' object has no attribute 'connIP'
   Lutron RRA2/Caséta Error       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 1313, in actionControlDimmerRelay
  File "plugin.py", line 842, in _sendCommand
AttributeError: 'Plugin' object has no attribute 'connIP'


I'd appreciate a pointer.
Thanks

Posted on
Sun Jan 06, 2019 3:12 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Caseta setup noob question

First, make sure you have the Smart Bridge Pro (L-BDGPRO2). The plugin doesn't work with the non-Pro bridge.

Then make sure you have the correct IP address for the bridge in the plugin config panel. Then restart the plugin to be sure. If there are errors in the log at that point, post them here.

The device names refer to RRA2, but that's really for historical reasons. Just pick the right device type and ignore the prefix.

Finally, the easiest way to create devices is to follow these instructions: https://github.com/FlyingDiver/Indigo-r ... on-for-Caséta-and-RRA2-Select-Systems

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

Posted on
Sun Jan 06, 2019 10:11 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Caseta setup noob question

Fixing a typo in the IP address and emailing myself the integration report got the device setup. Thanks
But, when I try to turn on the switch from Indigo, I get the error:
Code: Select all
Lutron RRA2/Caséta Debug       Sending network command:  #OUTPUT,2,1,100
   Lutron RRA2/Caséta Warning     Error sending IP command, resetting connection:  'Plugin' object has no attribute 'connIP'
   Lutron RRA2/Caséta Error       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 1313, in actionControlDimmerRelay
  File "plugin.py", line 842, in _sendCommand
AttributeError: 'Plugin' object has no attribute 'connIP'



getting closer

Posted on
Mon Jan 07, 2019 6:49 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Caseta setup noob question

Still sounds like the plugin configuration dialog isn't set up right. Post a screen shot of it, and the log output when you restart the plugin.

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

Posted on
Mon Jan 07, 2019 12:52 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Caseta setup noob question

Double checked to IP address and resorted the mac, no change

Here is log after reloading:
Code: Select all
Jan 7, 2019, 12:49:19 PM
   Lutron RRA2/Caséta Debug       validatePrefsConfigUi: IP Config, no changes
   Lutron RRA2/Caséta Debug       closedPrefsConfigUi: Setting self.runstartup = False
   Reloading plugin "Lutron RRA2/Caséta 7.2.3"
   Stopping plugin "Lutron RRA2/Caséta 7.2.3" (pid 1042)
   Lutron RRA2/Caséta             Shutting down Lutron
   Lutron RRA2/Caséta Error       Error in plugin execution shutdown:

Traceback (most recent call last):
  File "plugin.py", line 160, in shutdown
AttributeError: 'Plugin' object has no attribute 'connIP'

   Stopped plugin "Lutron RRA2/Caséta 7.2.3"
   Starting plugin "Lutron RRA2/Caséta 7.2.3" (pid 1140)
   Lutron RRA2/Caséta Debug       logLevel = 5
   Started plugin "Lutron RRA2/Caséta 7.2.3"
   Lutron RRA2/Caséta             Starting up Lutron
   Lutron RRA2/Caséta             No linked Devices
   Lutron RRA2/Caséta             Running ipStartup
   Lutron RRA2/Caséta             Connecting via IP to 192.168.7.118

Jan 7, 2019, 12:50:07 PM
   Lutron RRA2/Caséta Error       Unable to connect to Lutron gateway. Timed out.


configure screen image attached
Attachments
Configure Screen.jpg
Configure Screen.jpg (78.79 KiB) Viewed 2633 times
Configure Screen.jpg
Configure Screen.jpg (78.79 KiB) Viewed 2633 times

Posted on
Mon Jan 07, 2019 12:55 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Caseta setup noob question

OK, so the connection to the Bridge is failing. I'm assuming you've triple checked that IP address. What are you using for the login info? It's NOT your Lutron account login. It should be username "lutron", password "integration". This is the Lutron default, and I'm not sure there's any way to change it.

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

Posted on
Mon Jan 07, 2019 1:45 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Caseta setup noob question

I was using my Lutron account login. Changed it restarted and I still get;
Code: Select all
Jan 7, 2019, 1:41:47 PM
   Reloading plugin "Lutron RRA2/Caséta 7.2.3"
   Stopping plugin "Lutron RRA2/Caséta 7.2.3" (pid 861)
   Lutron RRA2/Caséta             Shutting down Lutron
   Lutron RRA2/Caséta Error       Error in plugin execution shutdown:

Traceback (most recent call last):
  File "plugin.py", line 160, in shutdown
AttributeError: 'Plugin' object has no attribute 'connIP'

   Stopped plugin "Lutron RRA2/Caséta 7.2.3"
   Starting plugin "Lutron RRA2/Caséta 7.2.3" (pid 875)
   Lutron RRA2/Caséta Debug       logLevel = 5
   Started plugin "Lutron RRA2/Caséta 7.2.3"
   Lutron RRA2/Caséta             Starting up Lutron
   Lutron RRA2/Caséta             No linked Devices
   Lutron RRA2/Caséta             Running ipStartup
   Lutron RRA2/Caséta             Connecting via IP to 192.168.7.118

Jan 7, 2019, 1:42:25 PM
   Lutron RRA2/Caséta Error       Unable to connect to Lutron gateway. Timed out.
   Lutron RRA2/Caséta Debug       Sending network command:  ?OUTPUT,2,1,
   Lutron RRA2/Caséta Warning     Error sending IP command, resetting connection:  'Plugin' object has no attribute 'connIP'
   Lutron RRA2/Caséta Error       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 1313, in actionControlDimmerRelay
  File "plugin.py", line 842, in _sendCommand
AttributeError: 'Plugin' object has no attribute 'connIP'



Control is working via Lutron app and HomeKit, don't know why the bridge won't talk to Indigo

Posted on
Mon Jan 07, 2019 1:51 pm
gt3mike offline
Posts: 225
Joined: Dec 31, 2017
Location: Colorado

Re: Caseta setup noob question

Can you successfully ping 192.168.7.118 from a terminal session on the Mac? What about Telnet?

Posted on
Mon Jan 07, 2019 1:52 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Caseta setup noob question

Well, the three things I can think of that would do this are:

  1. Not having the Pro version of the Bridge
  2. Error in IP address
  3. Error in username/password

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

Posted on
Mon Jan 07, 2019 1:53 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Caseta setup noob question

gt3mike wrote:
Can you successfully ping 192.168.7.118 from a terminal session on the Mac? What about Telnet?


I expect ping works, butI'm really curious about telnet.

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

Posted on
Mon Jan 07, 2019 2:11 pm
gt3mike offline
Posts: 225
Joined: Dec 31, 2017
Location: Colorado

Re: Caseta setup noob question

gt3mike wrote:
Can you successfully ping 192.168.7.118 from a terminal session on the Mac? What about Telnet?

If you don't have Telnet, you can use "nc -c" and specify the port. Here's what a session looks like with my RR2 main repeater. (Caseta Smart Bridge Pro session might look different.)

$ nc -c 192.168.0.4 23
login: lutron
password: integration

GNET> getsunset
16:49:00
GNET> logout
$

Posted on
Mon Jan 07, 2019 4:38 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Caseta setup noob question

I tried the ‘nc -c’ command and got
nc: port range not valid

Do I need to set a port somewhere?



Sent from my iPad using Tapatalk

Posted on
Mon Jan 07, 2019 4:40 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Caseta setup noob question

rehafer wrote:
I tried the ‘nc -c’ command and got
nc: port range not valid


Show your Terminal window output when you tried this.

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

Posted on
Mon Jan 07, 2019 4:46 pm
rehafer offline
Posts: 279
Joined: Feb 08, 2013

Re: Caseta setup noob question

Did this:
Code: Select all

Server-3:~ rehafer$ nc -c 192.168.7.118 login:lutron password:integration
nc: port range not valid
Server-3:~ rehafer$




Posted on
Mon Jan 07, 2019 4:48 pm
gt3mike offline
Posts: 225
Joined: Dec 31, 2017
Location: Colorado

Re: Caseta setup noob question

The syntax you are using is incorrect. Try my example above. Substitute your IP for mine and give it a shot.

You should be using "nc -c 192.168.7.118 23" by itself.

If that works, you will receive a login prompt.

Who is online

Users browsing this forum: No registered users and 1 guest