Results 1 to 2 of 2

Thread: API v2

  1. #1
    Automated Home Jr Member
    Join Date
    Sep 2013
    Posts
    17

    Default 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.

  2. #2
    Automated Home Jr Member
    Join Date
    Sep 2013
    Posts
    17

    Default

    Sorry folks,

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

Posting Permissions

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