Status update on lighting, specifically VERA

Thanks for a great product. I'm using it to control the whole house including gates, garage doors, lighing and of course AV equipment.

However I'm lacking support for lighting status. I'm using VERA thru uPnP (http) requests. What I would like is to send a status request (http) and use the xml in the reply to update buttons / text on the iRule. I understand that button changing feature is under development.

Typical xml response from VERA is shown below, where id and status are the important tags. It would be a GREAT feature to implement a simple parser to retreive these and change the UI accordingly.

If you need more info / test, I will gladly help.

Cheers /Johan

XML response from VERA:
3 people like
this idea
+1
Reply
  • Somehow the XML got truncated ?? well here goes again
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Ok - So the forum software doesn't like XML. Here's a jpg...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Alex (Official Rep) July 30, 2012 19:54
    Hi Johan,

    You should be able to parse this out. XML feedback parsing takes a bit of time but it works. Take a look at feedback for Universal Devices ISY-99 that is in the builder. That should help you with parsing your feedback.

    Alex
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Alex - Thanks for the reply.

    I've imported the ISY-99 and found some tags that give me hope. For instance the prefix on "Humidity Level" is *14 22 7B 1*id="CLIHUM" value=" which looks like it wants to access pnode 14 22 7B 1 and access the attribute value (seems logical).

    Is there a tutorial on how to set status of buttons / text based on feedback. I feel I'm not understanding the syntax of commands for the xml-parsing and also how the feedback is connected to the button / panel.

    Cheers /Johan
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited