API v2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kdf
    Automated Home Jr Member
    • Sep 2013
    • 17

    API v2

    Hi,

    In the API it is possible to list an object such as:

    Code:
     <CortexObject>
        <ControlObjectType>AnalogueDimmer</ControlObjectType>
        <FriendlyName>Living Room Lights Front</FriendlyName>
        <IDNumber>95</IDNumber>
        <RefImage>91</RefImage>
        <Parent>Living Room</Parent>
        <IconOffset>0</IconOffset>
        <FeatureAvailable>-1</FeatureAvailable>
      </CortexObject>
    In the objects properties, it lists the Parent as being "Living Room" is it possible to get details of ITS parent, for example in my layout "Ground Floor" is the parent of "Living Room" and "My House" is the parent of "Ground Floor" so essentially in a hierarchy it looks like

    - House
    -- Ground Floor
    --- Living Room
    ---- Living Room Lights Front

    I want to get info on what the parents are of Living Room via the V2 API. Is this possible ? Thanks.
  • kdf
    Automated Home Jr Member
    • Sep 2013
    • 17

    #2
    Sorry folks,

    Figured this one out shortly after I posted. Stupidly, I had not enabled Cortex API on the objects I was looking for.

    Comment

    Working...
    X