Issue getting Started with Indigo-radiora2 plugin...

Posted on
Fri May 04, 2018 10:09 pm
michaelzoradi offline
Posts: 8
Joined: Apr 06, 2009

Issue getting Started with Indigo-radiora2 plugin...

Hello there,

Just discovered this fantastic sounding plug-in and excited to try it out in Indigo! Unfortunately I'm having trouble getting started... I've read through the wiki on GitHub but am still unable to get the plug-in to automatically create all my Lutron devices in Indigo. Very possible this is user-error (due to me being some what new to this) so not posting this as a bug... just hoping that someone can point me in the right direction or perhaps point out what I'm doing wrong.

Here's what I'm currently running:
•macOS 10.13.4 on 2015 iMac 5K (with Server app installed)
•Lutron Radio RA2 Select system (RR-SEL-REP2-BL is the main repeater, currently controlled with the official Lutron iOS app + HomeKit)
•Indigo 7.1.1 (no hardware interfaces, only virtual)
•Indigo-radiora2 7.2.0 plug-in installed

I've enabled "Detailed Debugging Messages" in the plug-in to help troubleshoot the problem. I've entered all my relevant info in the plug-in's Configure window (screenshot attached) and then selected "Create Devices from Radio RRa2 Repeater". Unfortunately this doesn't create any devices and the following is output to the Event Log:


Started plugin "Lutron RRA2/Caséta 7.2.0"
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.84.168
Lutron RRA2/Caséta Debug self.connIP.read: login:
Lutron RRA2/Caséta Debug Sending username.
Lutron RRA2/Caséta Debug self.connIP.read: password:
Lutron RRA2/Caséta Debug Sending password.
Lutron RRA2/Caséta Debug End of connection process.
Lutron RRA2/Caséta Debug Unrecognized command: login:

May 4, 2018 at 8:57:46 PM
Lutron RRA2/Caséta Debug validatePrefsConfigUi: IP Config, no changes
Lutron RRA2/Caséta Debug closedPrefsConfigUi: Setting self.runstartup = False

May 4, 2018 at 8:58:18 PM
Lutron RRA2/Caséta Creating RRA2 Devices from repeater at 192.168.84.168, Grouping = Type, Create unprogrammed keypad buttons = True, Create unprogrammed phantom buttons = True
Lutron RRA2/Caséta Creating Devices - starting data fetch...

May 4, 2018 at 8:59:48 PM
Lutron RRA2/Caséta Error Unable to parse XML data from repeater.

----
"Unrecognized command: login:" makes me think this could be an issue with my Lutron login... However it's the exact same email/password that I use to login to their iOS app for Radio RA2 Select systems.

Any idea where I'm going wrong?
Attachments
Indigo-radiora2 7.2.0 Configure settings.jpg
Indigo-radiora2 7.2.0 Configure settings.jpg (219.53 KiB) Viewed 642 times

Posted on
Sat May 05, 2018 4:57 am
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

The integration interface does not use the same login as the app. Try username ‘lutron’, password ‘integration’.

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

Posted on
Sat May 05, 2018 1:16 pm
michaelzoradi offline
Posts: 8
Joined: Apr 06, 2009

Re: Issue getting Started with Indigo-radiora2 plugin...

Hi @FlyingDiver, thanks for responding so quickly! :D

That seems to have helped... the log is now stating "Command prompt received. Device is ready." but I'm still unable to create RRA2 Devices after that. Here my log from enabling the plug-in (with the now correct username/password) and then selecting "Create Devices from Radio RRa2 Repeater":

Started plugin "Lutron RRA2/Caséta 7.2.0"
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.84.168
Lutron RRA2/Caséta Debug self.connIP.read: login:
Lutron RRA2/Caséta Debug Sending username.
Lutron RRA2/Caséta Debug self.connIP.read: password:
Lutron RRA2/Caséta Debug Sending password.
Lutron RRA2/Caséta Debug End of connection process.
Lutron RRA2/Caséta Threaddebug Command prompt received. Device is ready.

May 5, 2018 at 12:12:52 PM
Lutron RRA2/Caséta Creating RRA2 Devices from repeater at 192.168.84.168, Grouping = None, Create unprogrammed keypad buttons = False, Create unprogrammed phantom buttons = False
Lutron RRA2/Caséta Creating Devices - starting data fetch...

May 5, 2018 at 12:14:23 PM
Lutron RRA2/Caséta Error Unable to parse XML data from repeater.

Any idea what I'm missing?
Attachments
Screen Shot 2018-05-05 at 12.15.58 PM.png
Screen Shot 2018-05-05 at 12.15.58 PM.png (248.12 KiB) Viewed 577 times

Posted on
Sat May 05, 2018 1:30 pm
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

Can you follow the instructions in this thread and see if you can download the data manually:

viewtopic.php?f=217&t=20382

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

Posted on
Sun May 06, 2018 12:01 am
michaelzoradi offline
Posts: 8
Joined: Apr 06, 2009

Re: Issue getting Started with Indigo-radiora2 plugin...

Couldn't get the list with that link but the Lutron iOS does have an option to email a copy of the Integration Report. That got me the Device IDs and I was able to manually plug them in! Works fantastic! Thank you so much for all this amazing work!

Posted on
Sun May 06, 2018 6:27 am
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

I think you’re the first Select user for the plugin. I’m wondering if the Select repeater works more like the Caseta repeater. Can you try the instructions on the Wiki for Caseta users and see if that works?

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

Posted on
Sun May 06, 2018 11:37 pm
michaelzoradi offline
Posts: 8
Joined: Apr 06, 2009

Re: Issue getting Started with Indigo-radiora2 plugin...

I didn't mention it (so as to not overload my first post with too much info) but I actually did try that before initially posting and it did not auto-create any devices in Indigo.

Posted on
Mon May 07, 2018 3:25 am
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

Can you attach a copy of that integration report to this issue: https://github.com/FlyingDiver/Indigo-r ... /issues/22

Just compress it into a zip file.

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

Posted on
Mon May 07, 2018 10:02 pm
michaelzoradi offline
Posts: 8
Joined: Apr 06, 2009

Re: Issue getting Started with Indigo-radiora2 plugin...

Uploaded!

Posted on
Tue May 08, 2018 4:32 am
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

I just tested the file you sent me, and it worked perfectly using the Caseta import process. 4 Pico style keypads and 24 dimmers.

Can you try it again? Just paste the contents of the file that you sent me into the dialog box from the "Create Devices from Caséta Smart Bridge" menu item.

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

Posted on
Tue May 15, 2018 12:45 pm
kennybroh offline
Posts: 426
Joined: Dec 13, 2009
Location: Baltimore

Re: Issue getting Started with Indigo-radiora2 plugin...

I have the Caseta bridge, and cannot get it to work. i cannot find anywhere in the app to allow me to see the device id or generate a report. I tried creating the device manually with the id on the switch itself but the only devices available were RA2 devices. Needless to say, it didn't work.

Ideas?

Update-- it appears the regular Caseta bridge will not export that information, and there is no way to get it. It seems that only the Caseta Pro bridge will do that. It's about $30 more, but not as readily available. I ordered one and hopefully, I will have it in a few days...

Posted on
Sat May 19, 2018 10:20 am
kennybroh offline
Posts: 426
Joined: Dec 13, 2009
Location: Baltimore

Re: Issue getting Started with Indigo-radiora2 plugin...

My house is very old, and some of the wiring is still the original knob & tube. Until now, all of the switches and dimmers in my house are Insteon or legacy X10 (I've been at this for 30 years!) I am now switching to LED bulbs, but no Insteon or X10 dimmer will work in a two-wire installation. All require a neutral.

WHen I saw your plug in, I checked out the Caseta system, and discovered that its dimmer is a two-wire device, and it works like a charm with the Lutron app. So I know I have a solution that works physically. Now I need to integrate it into Indigo.

I originally bought the basic kit, not knowing it would not output the integration information. So I've upgraded to the Pro version, and gotten it working fine with the Lutron app. It does have the integration report function and I tried pasting the code into the plugin to create the one device I've installed so far to test the system, but nothing appears to happen. According to this output, the device has an ID of 2, so I tried creating it manually using that ID, but that didn't work either. Hopefully, you can figure out what is going on.

Here's the output from the bridge;

Code: Select all
{
  "LIPIdList" : {
    "Devices" : [
      {
        "ID" : 1,
        "Name" : "Smart Bridge 2",
        "Buttons" : [
          {
            "Name" : "Button 1",
            "Number" : 1
          },
          {
            "Name" : "Button 2",
            "Number" : 2
          },
          {
            "Name" : "Button 3",
            "Number" : 3
          },
          {
            "Name" : "Button 4",
            "Number" : 4
          },
          {
            "Name" : "Button 5",
            "Number" : 5
          },
          {
            "Name" : "Button 6",
            "Number" : 6
          },
          {
            "Name" : "Button 7",
            "Number" : 7
          },
          {
            "Name" : "Button 8",
            "Number" : 8
          },
          {
            "Name" : "Button 9",
            "Number" : 9
          },
          {
            "Name" : "Button 10",
            "Number" : 10
          },
          {
            "Name" : "Button 11",
            "Number" : 11
          },
          {
            "Name" : "Button 12",
            "Number" : 12
          },
          {
            "Name" : "Button 13",
            "Number" : 13
          },
          {
            "Name" : "Button 14",
            "Number" : 14
          },
          {
            "Name" : "Button 15",
            "Number" : 15
          },
          {
            "Name" : "Button 16",
            "Number" : 16
          },
          {
            "Name" : "Button 17",
            "Number" : 17
          },
          {
            "Name" : "Button 18",
            "Number" : 18
          },
          {
            "Name" : "Button 19",
            "Number" : 19
          },
          {
            "Name" : "Button 20",
            "Number" : 20
          },
          {
            "Name" : "Button 21",
            "Number" : 21
          },
          {
            "Name" : "Button 22",
            "Number" : 22
          },
          {
            "Name" : "Button 23",
            "Number" : 23
          },
          {
            "Name" : "Button 24",
            "Number" : 24
          },
          {
            "Name" : "Button 25",
            "Number" : 25
          },
          {
            "Name" : "Button 26",
            "Number" : 26
          },
          {
            "Name" : "Button 27",
            "Number" : 27
          },
          {
            "Name" : "Button 28",
            "Number" : 28
          },
          {
            "Name" : "Button 29",
            "Number" : 29
          },
          {
            "Name" : "Button 30",
            "Number" : 30
          },
          {
            "Name" : "Button 31",
            "Number" : 31
          },
          {
            "Name" : "Button 32",
            "Number" : 32
          },
          {
            "Name" : "Button 33",
            "Number" : 33
          },
          {
            "Name" : "Button 34",
            "Number" : 34
          },
          {
            "Name" : "Button 35",
            "Number" : 35
          },
          {
            "Name" : "Button 36",
            "Number" : 36
          },
          {
            "Name" : "Button 37",
            "Number" : 37
          },
          {
            "Name" : "Button 38",
            "Number" : 38
          },
          {
            "Name" : "Button 39",
            "Number" : 39
          },
          {
            "Name" : "Button 40",
            "Number" : 40
          },
          {
            "Name" : "Button 41",
            "Number" : 41
          },
          {
            "Name" : "Button 42",
            "Number" : 42
          },
          {
            "Name" : "Button 43",
            "Number" : 43
          },
          {
            "Name" : "Button 44",
            "Number" : 44
          },
          {
            "Name" : "Button 45",
            "Number" : 45
          },
          {
            "Name" : "Button 46",
            "Number" : 46
          },
          {
            "Name" : "Button 47",
            "Number" : 47
          },
          {
            "Name" : "Button 48",
            "Number" : 48
          },
          {
            "Name" : "Button 49",
            "Number" : 49
          },
          {
            "Name" : "Button 50",
            "Number" : 50
          },
          {
            "Name" : "Button 51",
            "Number" : 51
          },
          {
            "Name" : "Button 52",
            "Number" : 52
          },
          {
            "Name" : "Button 53",
            "Number" : 53
          },
          {
            "Name" : "Button 54",
            "Number" : 54
          },
          {
            "Name" : "Button 55",
            "Number" : 55
          },
          {
            "Name" : "Button 56",
            "Number" : 56
          },
          {
            "Name" : "Button 57",
            "Number" : 57
          },
          {
            "Name" : "Button 58",
            "Number" : 58
          },
          {
            "Name" : "Button 59",
            "Number" : 59
          },
          {
            "Name" : "Button 60",
            "Number" : 60
          },
          {
            "Name" : "Button 61",
            "Number" : 61
          },
          {
            "Name" : "Button 62",
            "Number" : 62
          },
          {
            "Name" : "Button 63",
            "Number" : 63
          },
          {
            "Name" : "Button 64",
            "Number" : 64
          },
          {
            "Name" : "Button 65",
            "Number" : 65
          },
          {
            "Name" : "Button 66",
            "Number" : 66
          },
          {
            "Name" : "Button 67",
            "Number" : 67
          },
          {
            "Name" : "Button 68",
            "Number" : 68
          },
          {
            "Name" : "Button 69",
            "Number" : 69
          },
          {
            "Name" : "Button 70",
            "Number" : 70
          },
          {
            "Name" : "Button 71",
            "Number" : 71
          },
          {
            "Name" : "Button 72",
            "Number" : 72
          },
          {
            "Name" : "Button 73",
            "Number" : 73
          },
          {
            "Name" : "Button 74",
            "Number" : 74
          },
          {
            "Name" : "Button 75",
            "Number" : 75
          },
          {
            "Name" : "Button 76",
            "Number" : 76
          },
          {
            "Name" : "Button 77",
            "Number" : 77
          },
          {
            "Name" : "Button 78",
            "Number" : 78
          },
          {
            "Name" : "Button 79",
            "Number" : 79
          },
          {
            "Name" : "Button 80",
            "Number" : 80
          },
          {
            "Name" : "Button 81",
            "Number" : 81
          },
          {
            "Name" : "Button 82",
            "Number" : 82
          },
          {
            "Name" : "Button 83",
            "Number" : 83
          },
          {
            "Name" : "Button 84",
            "Number" : 84
          },
          {
            "Name" : "Button 85",
            "Number" : 85
          },
          {
            "Name" : "Button 86",
            "Number" : 86
          },
          {
            "Name" : "Button 87",
            "Number" : 87
          },
          {
            "Name" : "Button 88",
            "Number" : 88
          },
          {
            "Name" : "Button 89",
            "Number" : 89
          },
          {
            "Name" : "Button 90",
            "Number" : 90
          },
          {
            "Name" : "Button 91",
            "Number" : 91
          },
          {
            "Name" : "Button 92",
            "Number" : 92
          },
          {
            "Name" : "Button 93",
            "Number" : 93
          },
          {
            "Name" : "Button 94",
            "Number" : 94
          },
          {
            "Name" : "Button 95",
            "Number" : 95
          },
          {
            "Name" : "Button 96",
            "Number" : 96
          },
          {
            "Name" : "Button 97",
            "Number" : 97
          },
          {
            "Name" : "Button 98",
            "Number" : 98
          },
          {
            "Name" : "Button 99",
            "Number" : 99
          },
          {
            "Name" : "Button 100",
            "Number" : 100
          }
        ]
      }
    ],
    "Zones" : [
      {
        "ID" : 2,
        "Name" : "Main Lights",
        "Area" : {
          "Name" : "Upstairs Hallway"
        }
      }
    ]
  }
}

Thoughts?

Posted on
Sat May 19, 2018 1:32 pm
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

Have you configured the plugin with the correct IP address and login info for your new Pro Bridge? You should be able to tell by looking at the log.

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

Posted on
Sat May 19, 2018 3:19 pm
kennybroh offline
Posts: 426
Joined: Dec 13, 2009
Location: Baltimore

Re: Issue getting Started with Indigo-radiora2 plugin...

I did put in the correct IP address, but used the ID and password you referred to above. "lutron" and "integration". I reloaded the plug in again, and it seemed to connect.

Reloading plugin "Lutron RRA2/Caséta 7.2.0"
Stopping plugin "Lutron RRA2/Caséta 7.2.0" (pid 7098)
Lutron RRA2/Caséta Shutting down Lutron
Stopped plugin "Lutron RRA2/Caséta 7.2.0"
Starting plugin "Lutron RRA2/Caséta 7.2.0" (pid 11656)
Lutron RRA2/Caséta Debug logLevel = 10
Started plugin "Lutron RRA2/Caséta 7.2.0"
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.86.65

So then I tried pasting the integration report again (did not check create buttons) and the log file said the device was created in "Lutron Dimmers." And in fact it was. It had not done that before. So that's progress.

The next thing I did was a "Send status request," and here's what the log reported:

Lutron RRA2/Caséta Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 1299, in actionControlDimmerRelay
TypeError: cannot concatenate 'str' and 'int' objects

When I tried to turn the light on I got a similar error:

Lutron RRA2/Caséta Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 1122, in actionControlDimmerRelay
TypeError: cannot concatenate 'str' and 'int' objects

Hope this helps....

Posted on
Mon May 21, 2018 1:43 am
FlyingDiver offline
Posts: 2365
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Issue getting Started with Indigo-radiora2 plugin...

Well, I'm at a bit of a loss. The error indicates that the integrationID of the device is getting saved into the Indigo device property as an int, when it's supposed to be a string. I have no idea how that's happening.

I suggest you delete the device that was created, make sure you don't have any other Indigo devices for that switch that you might have manually created, then restart the plugin. Then go through the auto-create process again.

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

Who is online

Users browsing this forum: No registered users and 1 guest

cron