Thanks Thanks:  1
Likes Likes:  1
Results 1 to 7 of 7

Thread: How to get inventory of a main repeater?

  1. #1
    Junior Member
    Join Date
    Jan 2017
    Posts
    7

    How to get inventory of a main repeater?

    The API in the Lutron Integration Protocol is easy to use, but the commands to query the database have eluded me. My wish would be to get the definitive set of integrationid, device, area, etc. from the main repeater to use in integration protocol commands.

    Until now, we have reverse-engineered the dbxmlinfo file, but the schema is undocumented and so our work is unreliable. We would like to use something that we can depend on later.

    How can you use the integration protocol to get the inventory?

  2. Thanks wkearney99 thanked for this post
    Likes wkearney99 liked this post
  3. #2
    Senior Member
    Join Date
    May 2016
    Posts
    205
    Launch the RA2 software and use Reports > Integration and save the file. It is a CSV file which you can view with your spreadsheet software, or any text editor.

  4. #3
    Senior Member
    Join Date
    Oct 2013
    Posts
    518
    I suspect that since we're in the '3rd party integration' subforum that he's working on an interface to a repeater. Which might likely mean it's not being set up as part of the initial rollout, but as an add-on, possibly by the homeowner or other party that might not have the Ra2 software. Thus wanting to do an export from the repeater is a pretty reasonable approach.

    That and the format of the export, as I recall, was pretty sloppy. It didn't much lend itself to reimporting, at least not without of lot of needlessly tedious text handling.

    Now, if they'd just document the dbxmlinfo format this would be a complete non-issue...

  5. #4
    Senior Member
    Join Date
    May 2016
    Posts
    205
    I'm not sure its a two way street.

    The RA2 software contains all the labels, groupings, scene names, etc. It pushes out the basic settings, per switch, per button, etc. to repeaters, and each device, but I don't believe the repeaters have the same data as the RA2 software. So its lossy.

  6. #5
    Junior Member
    Join Date
    Jan 2017
    Posts
    7
    Yes, it would be so easy if the repeater gave access to a machine-readable version of the integration report — but that is the same as the undocumented (and unreliable) dbxmlinfo file. Our integration rarely has access to the RA2 software's contents.

    The computer world is full of examples of APIs that provide inventories, such as "GetAllXXX" or "GetFirstXXX/GetNextXXX", easy to provide and easy to use. Many developers could use this inventory feature, and Lutron would know that from a quick glance through these forums. I have concluded that Lutron wishes not to give access to this information.

  7. #6
    Senior Member
    Join Date
    Oct 2013
    Posts
    518
    Quote Originally Posted by jcierra View Post
    I have concluded that Lutron wishes not to give access to this information.
    It's been my impression they don't so much as wish to keep it private but don't have a plan or personnel on it to make it happen.

  8. #7
    Junior Member
    Join Date
    Jan 2017
    Posts
    7
    Quote Originally Posted by wkearney99 View Post
    It's been my impression they don't so much as wish to keep it private but don't have a plan or personnel on it to make it happen.
    Probably — I cannot guess their motivation. I also considered that they may wish to change the schema of the XML file, so publishing it now would make that change more difficult.

    If Lutron does publish the schema or build it into the API, many of the questions in this forum would disappear.

Similar Threads

  1. Replies: 2
    Last Post: 04-03-2017, 01:11 PM
  2. Replies: 0
    Last Post: 01-16-2017, 05:55 PM
  3. Second main repeater install
    By istreich in forum General Discussion - RA2
    Replies: 5
    Last Post: 01-05-2016, 07:00 PM
  4. Main repeater problem
    By texas doc in forum Troubleshooting - RA2
    Replies: 5
    Last Post: 07-07-2015, 09:10 AM
  5. Main Repeater Integration ID
    By mcampbell in forum General Discussion - RA2
    Replies: 2
    Last Post: 02-19-2015, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •