Results 1 to 5 of 5

Thread: Feature request, support HTTP headers?

  1. #1
    Senior Member
    Join Date
    Oct 2013
    Posts
    363

    Feature request, support HTTP headers?

    Would you pass along a request to the folks responsible for the RA2 main repeaters?

    Right now the repeater doesn't return a valid "Last-Modified" header.

    Nor does it support being sent an HTTP 'HEAD' command.

    The two, used together, would be a nicely lightweight way for a 3rd party to query the repeater via the DbXmlInfo.xml URI for versioning.

    As in, make a HEAD request and check the returned 'Last-Modified' header to see if the configuration has changed since it was last requested.

    Or maybe I'm missing something, is there a way to query for a timestamp or other value that would let me compare whether the data I've already downloaded is still valid?

    Will it accept a conditional get with a 'If-Modified-Since' header?

  2. #2
    Authorized Lutron Contributor
    Join Date
    May 2013
    Posts
    208
    I have sent your feedback to our System Development team so they can look into adding this as a future update.

  3. #3
    Senior Member
    Join Date
    Oct 2013
    Posts
    363
    Thanks, it'd certainly allow interfaces to be little more robust. And stand the chance of faster interaction. Right now, having to download and parse the whole XML file chews up a bunch of CPU & time. Only to discover that nothing has changed.

  4. #4
    Authorized Lutron Contributor
    Join Date
    May 2013
    Posts
    208
    I did some more digging and found the command ?system,10 will return the last time the XML file was changed. This could be from a transfer, or a homeowner making changes through the Home Control+ app.

  5. Likes SanDiegoRep liked this post
  6. #5
    Junior Member
    Join Date
    Jun 2014
    Posts
    5
    Quote Originally Posted by Mike S. View Post
    I did some more digging and found the command ?system,10 will return the last time the XML file was changed. This could be from a transfer, or a homeowner making changes through the Home Control+ app.
    Hi Mike,

    Sorry old thread but would like to confirm the command "?system,10" will print the the last time the project was uploaded?

    Also is there a detailed info on all terminal commands regarding debug/system info as terminal doesnt show all commands.


    Thanks
    Last edited by donkeyface; 12-19-2016 at 04:47 AM. Reason: forgot to add comment

Similar Threads

  1. Feature Request. SCT Reports
    By thefish in forum General Discussion - Shades
    Replies: 2
    Last Post: 02-16-2016, 04:59 PM
  2. Feature request
    By MitchE in forum General Discussion - RA2
    Replies: 0
    Last Post: 11-24-2014, 04:51 PM
  3. Feature request - Disable local control.
    By Fiasco in forum General Discussion - RA2
    Replies: 2
    Last Post: 11-18-2014, 07:54 PM
  4. Feature Request
    By itsthebombbee in forum General Discussion - RA2
    Replies: 2
    Last Post: 02-18-2014, 09:32 AM
  5. Hvac feature request
    By thefish in forum General Discussion - HWQS
    Replies: 0
    Last Post: 10-31-2013, 12:32 AM

Posting Permissions

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